StackDataGPCM {pleLMA} | R Documentation |
Prepares data for up-dating association parameters of LMA (GPCM) model
Description
Prepares data frame for input to 'mnlogit' for the stacked regression to obtain association parameters of the multidimensional LMA models corresponding to the GPCM. This function is called from 'fit.gpcm'. It generally would not run outside of 'fit.nominal' or 'ple.lma'.
Usage
StackDataGPCM(
Master,
item.log,
starting.sv,
npersons,
nitems,
ncat,
nless,
Maxnphi,
pq.mat,
LambdaNames,
PhiNames
)
Arguments
Master |
Current master data frame |
item.log |
Current history of iterations from which currenat a parameters are drawn |
starting.sv |
Fixed category scores |
npersons |
Number of persons |
nitems |
Number of items |
ncat |
Number of categories |
nless |
Number of unique lambdas |
Maxnphi |
Number of estimated phi parameters |
pq.mat |
Array needed for rest-total scores |
LambdaNames |
Names of lambdas in Master/Stacked data set |
PhiNames |
Names of phi parameters |
Value
stack.data Formats data for input to mnlogit to up-date phi parameters
[Package pleLMA version 0.2.1 Index]