Description Usage Arguments Value
View source: R/ItemGPCM_data.R
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'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ItemGPCM.data(
Master,
ItemID,
Phi.mat,
TraitByTrait,
pq.mat,
starting.sv,
npersons,
nitems,
ncat,
nless,
ntraits,
LambdaName
)
|
Master |
Data frame of all data in long format |
ItemID |
Specifies the item for which a data frame is created to be input into an item regression |
Phi.mat |
Starting value of matrix of association parameters |
TraitByTrait |
Trait by trait adjacency matrix (same as inTraitAdj) |
pq.mat |
Array used to compute rest scores |
starting.sv |
Matrix of item category scores that are fixed |
npersons |
Number of persons |
nitems |
Number of items |
ncat |
Number of categories |
nless |
Number of unique lambdas (ncat-1) |
ntraits |
Number of latent traits |
LambdaName |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.