Discrete choice model (conditional multinomial logistic regression) is fit to stacked data to up-date matrix of association parameters of the LMA that corresponds to the generalized partial credit model. This function is called from 'fit.gpcm', which is called from 'ple.lma'. It is unlikely that it would be run outside of these wrappers. It is only slightly different from 'fitStack' for nominal models.
fitStackGPCM(
Master,
item.log,
phi.log,
fstack,
TraitByTrait,
starting.sv,
npersons,
nitems,
ncat,
nless,
ntraits,
Maxnphi,
pq.mat,
LambdaNames,
PhiNames
)
Master data set from which stacked data is created
Needed to get most recent values of scale values (item.log)
History of estimates parameters from stacked regression
Forumla for stacked regression
inTraitAdj matrix
Fixed category scores
Number of persons
Number of items
Number of categories per item
Number of unique lambdas and unique nus per item
Number of latent traits
Number of phi parameters to bet estimated (NULL for 1 dimensional)
Used to compute rest-scores and totals
Needed for formula and data for up-dating phi (stacked regresson)
Null for 1D models
Phi.mat Up-dated matrix of phi parameters
item.log of iterations for LogLike, Lambda and phi parameters