Description Usage Arguments Value
Prepares data frame for input to 'mnlogit' for the stacked regression to obtain association parameters of the multidimensional LMA models corresponding to the Nominal item response model. This function is called from 'fit.nominal'. It generally would not run outside of either 'fit.nominal' or 'ple.lma'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | StackData(
Master,
item.log,
phi.log,
pq.mat,
npersons,
nitems,
ncat,
nless,
ntraits,
Maxnphi,
PhiNames,
LambdaNames
)
|
Master |
Master data frame from which stacked data is created |
item.log |
Last row contains current scale values (item.history) |
phi.log |
Last row contains current estimates of phi |
pq.mat |
Summing array to get rest scores and totals |
npersons |
Number of persons |
nitems |
Number of items |
ncat |
Number of categories per item |
nless |
Number of categories less 1 (i.e., unique lambdas and unique nus) |
ntraits |
Number of latent traits |
Maxnphi |
Number of phis to be estimated |
PhiNames |
Names of the Phi parameters |
LambdaNames |
Names of lambdas that correspond to those in Master |
Phi.mat Up-dated matrix of phi parameters
phi.log History of iterations for LogLike, Lambda and phi parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.