Description Usage Arguments Value
View source: R/StackDataGPCM.R
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'.
1 2 3 4 5 6 7 8 9 10 11 12 13 | StackDataGPCM(
Master,
item.log,
starting.sv,
npersons,
nitems,
ncat,
nless,
Maxnphi,
pq.mat,
LambdaNames,
PhiNames
)
|
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 |
stack.data Formats data for input to mnlogit to up-date phi parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.