This function creates a data frame, 'gpcm.item.data', to be used in the item regressions of LMA models where category scales values are fixed. Sets up data for up-dating alpha parameters of the LMA that corresponds to the GPCM. This function is internal to 'item.gpcm' and it is unlikely to be run outside of 'fit.gpcm' or 'ple.lma'.
ItemGPCM.data(
Master,
ItemID,
Phi.mat,
TraitByTrait,
pq.mat,
starting.sv,
npersons,
nitems,
ncat,
nless,
ntraits,
LambdaName
)
Data frame of all data in long format
Specifies the item for which a data frame is created to be input into an item regression
Starting value of matrix of association parameters
Trait by trait adjacency matrix (same as inTraitAdj)
Array used to compute rest scores
Matrix of item category scores that are fixed
Number of persons
Number of items
Number of categories
Number of unique lambdas (ncat-1)
Number of latent traits
Names for lambda for item regression
gpcm.item.data Data frame for item to be used up-dated in an item regression for specified item