50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

sirt (version 3.9-4)

pcm.conversion: Conversion of the Parameterization of the Partial Credit Model

Description

Converts a parameterization of the partial credit model (see Details).

Usage

pcm.conversion(b)

Arguments

b

Matrix of item-category-wise intercepts bik (see Details).

Value

List with the following entries

delta

Vector of δ parameters

tau

Matrix of τ parameters

Details

Assume that the input matrix b containing parameters bik is defined according to the following parametrization of the partial credit model P(Xpi=k|θp)exp(kθpbik) if item i possesses Ki categories. The transformed parameterization is defined as bik=kδi+v=1kτivwithk=1Kiτik=0 The function pcm.conversion has the δ and τ parameters as values. The δ parameter is simply δi=biKi/Ki.

Examples

Run this code
# NOT RUN {
#############################################################################
# EXAMPLE 1: Transformation PCM for data.mg
#############################################################################

library(CDM)
data(data.mg,package="CDM")
dat <- data.mg[ 1:1000, paste0("I",1:11) ]

#*** Model 1: estimate partial credit model in parameterization "PCM"
mod1a <- TAM::tam.mml( dat, irtmodel="PCM")
# use parameterization "PCM2"
mod1b <- TAM::tam.mml( dat, irtmodel="PCM2")
summary(mod1a)
summary(mod1b)

# convert parameterization of Model 1a into parameterization of Model 1b
b <- mod1a$item[, c("AXsi_.Cat1","AXsi_.Cat2","AXsi_.Cat3") ]
# compare results
pcm.conversion(b)
mod1b$xsi
# }

Run the code above in your browser using DataLab