data.gpcm: Simulated Polytomous Item Response Data

data.gpcmR Documentation

Simulated Polytomous Item Response Data

Description

A simulated dataset of polytomous item responses suitable for fitting partial credit and generalised partial credit models, provided as an example dataset for IRTC.

Usage

data(data.gpcm)

Format

A data frame with 392 persons (rows) and 3 polytomously scored items (columns Comfort, Work, Benefit), each scored in four ordered categories 0, 1, 2, 3.

Details

The data were simulated from a partial credit model with three step parameters per item. The generating script is ‘scripts/gen_data.R’ in the package sources.

Source

Simulated by IRTC. See ‘scripts/gen_data.R’ in the package sources for the reproducible generating code.


IRTC documentation built on July 24, 2026, 5:07 p.m.