ItemData {pleLMA} | R Documentation |
Prepares data for up-dating scale value parameters of nominal model
Description
This function creates a data frame, 'item data', to be used in the item regressions for nominal models. It computes weighted rest scores and totals, including correlated traits. This function is internal to 'ItemLoop' and it is unlikely to be run outside of 'fit.nominal' or 'ple.lma'.
Usage
ItemData(
Master,
ItemID,
Phi.mat = Phi.mat,
npersons,
nitems,
ntraits,
ncat,
nless,
TraitByTrait,
pq.mat,
LambdaName,
NuName
)
Arguments
Master |
Master data frame |
ItemID |
The item for which scale values are being up-dated |
Phi.mat |
Current estimate conditional covariance matrix (i.e., association paramters) |
npersons |
Number of persons |
nitems |
Number of items |
ntraits |
Number of traits |
ncat |
Number of categories |
nless |
Number of unique lambdas and unique nus |
TraitByTrait |
Same as inTraitAdj |
pq.mat |
One dimemsinal array used to get rest and totals scores |
LambdaName |
Name of lambdas for in item regression |
NuName |
Name of nus in item regression |
Value
ItemFit Data frame used to up-date scale values
[Package pleLMA version 0.2.1 Index]