clcm_2stage: Two-Stage Estimation of the CLCM

View source: R/clcm_2stage.R

clcm_2stageR Documentation

Two-Stage Estimation of the CLCM

Description

Treat item parameters as fixed to fit a longitudinal CLCM. The model can have any number of timepoints. The only limitation is the estimation of the posteriors - item parameters are fixed. The CLCM R package requires that count items start at 0

Usage

clcm_2stage(dat, clcm.mod, lprior.t1)

Arguments

dat

dataframe containing the new item responses you want to fit the model to.

clcm.mod

a CLCM model that you already fit (Stage 1). This will have the item parameter estimates, item names, item type, and Q-matrix.

lprior

this is the log-prior for timepoint 2. N by L matrix.


CJangelo/CLCM documentation built on May 22, 2022, 9:27 a.m.