StackDataGPCM: Prepares data for up-dating association parameters of LMA...

Description Usage Arguments Value

View source: R/StackDataGPCM.R

Description

Prepares data frame for input to 'mnlogit' for the stacked regression to obtain association parameters of the multidimensional LMA models corresponding to the GPCM. This function is called from 'fit.gpcm'. It generally would not run outside of 'fit.nominal' or 'ple.lma'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
StackDataGPCM(
  Master,
  item.log,
  starting.sv,
  npersons,
  nitems,
  ncat,
  nless,
  Maxnphi,
  pq.mat,
  LambdaNames,
  PhiNames
)

Arguments

Master

Current master data frame

item.log

Current history of iterations from which currenat a parameters are drawn

starting.sv

Fixed category scores

npersons

Number of persons

nitems

Number of items

ncat

Number of categories

nless

Number of unique lambdas

Maxnphi

Number of estimated phi parameters

pq.mat

Array needed for rest-total scores

LambdaNames

Names of lambdas in Master/Stacked data set

PhiNames

Names of phi parameters

Value

stack.data Formats data for input to mnlogit to up-date phi parameters


pleLMA documentation built on Oct. 6, 2021, 1:08 a.m.