Learn R Programming

classify (version 1.3)

pcm: Partial Credit Model Derived Probabilities

Description

Calculate vector of probabilities of success from person and item parameters under the Partial Credit Model.

Usage

pcm(theta=NULL, delta=NULL, n=NULL)

Arguments

theta
Theta parameter
delta
Vector of delta parameters
n
Number of item categories

Value

Details

The delta parameters are the intersection points of adjacent category information functions. There should be one less delta parameter than categories.

Examples

Run this code

# Example from The Theory and Practice of Item Response Theory
# By Rafael Jaime De Ayala
# p.204
theta <- 0
n <- 3
d <- c(-1,1)

pcm(theta,d,n)

#0.2119416 0.5761169 0.2119416

Run the code above in your browser using DataLab