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'.
ItemData(
Master,
ItemID,
Phi.mat = Phi.mat,
npersons,
nitems,
ntraits,
ncat,
nless,
TraitByTrait,
pq.mat,
LambdaName,
NuName
)
Master data frame
The item for which scale values are being up-dated
Current estimate conditional covariance matrix (i.e., association paramters)
Number of persons
Number of items
Number of traits
Number of categories
Number of unique lambdas and unique nus
Same as inTraitAdj
One dimemsinal array used to get rest and totals scores
Name of lambdas for in item regression
Name of nus in item regression
ItemFit Data frame used to up-date scale values