Learn R Programming

RM.weights (version 2.0)

ICC.fun: Item caracteristic curves computation and plotting under CML.

Description

Computation and plotting of item caracteristic curves (ICCs) under conditional maximum likelihood (CML).

Usage

ICC.fun(b, plot = FALSE)

Arguments

b

Item severity vector estimated under CML.

plot

Logical. If TRUE, the ICCs are plotted.

Value

icc Matrix of item characteristic curves. Coloumns are items and rows are severity levels.

See Also

RM.w

Examples

Run this code
# NOT RUN {
data(data.FAO_country2)
# Questionnaire data and weights
XX.country2 = data.FAO_country2[,1:8]
wt.country2 = data.FAO_country2$wt
# Fit weighted Rasch
rr.country2 = RM.w(XX.country2, wt.country2)
b=rr.country2$b
# ICC values
icc = ICC.fun(b)$icc
# ICC plot
icc = ICC.fun(b, plot = TRUE)
# }

Run the code above in your browser using DataLab