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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ICC.fun.R

Description

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

Usage

1

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.

Author(s)

Sara Viviani sara.viviani@fao.org

See Also

RM.w

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

Example output

Loading required package: psychotools
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, units

RM.weights documentation built on May 2, 2019, 6:09 a.m.