% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim.data.MGPCM.R
\name{model.MGPCM}
\alias{model.MGPCM}
\title{Compute MGPCM Category Response Probabilities}
\usage{
model.MGPCM(theta, par)
}
\arguments{
\item{theta}{\eqn{N \times D} matrix of latent trait values.}

\item{par}{\eqn{I \times (D + \max K_i)} parameter matrix with
columns \code{a1..aD, d0, d1, ...}. Missing category columns for
shorter items should be \code{NA}; \code{d0} is typically fixed at 0.}
}
\value{
An \eqn{N \times \sum_i K_i} matrix of category probabilities
(stacked by item), where
\eqn{P(Y_{ij}=k) \propto \exp\{k\,\mathbf{a}_i'
  \boldsymbol{\theta}_j + d_{ik}\}}.
}
\description{
Compute MGPCM Category Response Probabilities
}
\keyword{internal}
