Learn R Programming

LTCDM (version 1.1.0)

CEP_1t: Compute classification error probabilities for attributes

Description

Function to compute classification error probabilities (CEP) for attributes (for single time-point situations).Details can be found in Iaconangelo (2017).

Usage

CEP_1t(GDINA.obj)

Value

a list with elements

SL.k

the sample-level correction weights

PDL.k

the posterior distribution level correction weights

Arguments

GDINA.obj

a G-DINA model object returned from GDINA R package.

References

Uses of classification error probabilities in the three-step approach to estimating cognitive diagnosis models (Doctoral dissertation). https://rucore.libraries.rutgers.edu/rutgers-lib/55495/PDF/1/play/

Examples

Run this code
if(requireNamespace("GDINA")){
library(GDINA)
dat <- sim10GDINA$simdat
Q <- matrix(c(1,0,0,
              0,1,0,
              0,0,1,
              1,0,1,
              0,1,1,
              1,1,0,
              0,0,1,
              1,0,0,
              1,1,1,
              1,0,1),byrow = TRUE,ncol = 3)
fit.object <- GDINA(dat = dat, Q = Q, model = "GDINA", att.dist = "independent",verbose = FALSE)
CEP <- CEP_1t(fit.object)
}

Run the code above in your browser using DataLab