Learn R Programming

tirt (version 0.1.3)

Testlet Item Response Theory

Description

Implementation of Testlet Item Response Theory (tirt). A light-version yet comprehensive and streamlined framework for psychometric analysis using unidimensional Item Response Theory (IRT; Baker & Kim (2004) ) and Testlet Response Theory (TRT; Wainer et al., (2007) ). Designed for researchers, this package supports the estimation of item and person parameters for a wide variety of models, including binary (i.e., Rasch, 2-Parameter Logistic, 3-Parameter Logistic) and polytomous (Partial Credit Model, Generalized Partial Credit Model, Graded Response Model) formats. It also supports the estimation of Testlet models (Rasch Testlet, 2-Parameter Logistic Testlet, 3-Parameter Logistic Testlet, Bifactor, Partial Credit Model Testlet, Graded Response), allowing users to account for local item dependence in bundled items. A key feature is the specialized support for combination use and joint estimation of item response model and testlet response model in one calibration. Beyond standard estimation via Marginal Maximum Likelihood with Expectation-Maximization (EM) or Joint Maximum Likelihood, the package offers robust tools for scale linking and equating (Mean-Mean, Mean-Sigma, Stocking-Lord) to ensure comparability across mixed-format test forms. It also facilitates fixed-parameter calibration, enabling users to estimate person abilities with known item parameters or vice versa, which is essential for pre-equating studies and item bank maintenance. Comprehensive data simulation functions are included to generate synthetic datasets with complex structures, including mixed-model blocks and specific testlet effects, aiding in methodological research and study design validation. Researchers can try multiple simulation situations.

Copy Link

Version

Install

install.packages('tirt')

Version

0.1.3

License

GPL-3

Maintainer

Jiawei Xiong

Last Published

February 6th, 2026

Functions in tirt (0.1.3)

ela1

Mixed-Format English Language Arts (ELA) Assessment Data (Form 1)
binary_irt

Binary (Dichotomous) Item Response Theory Estimation
trt_binary

Unidimensional Binary (Dichotomous) Testlet Response Theory Estimation
polytomous_irt

Polytomous Item Response Theory Estimation
sim_trt

Simulate Testlet Response Theory Data (Vector Supported Version)
trt_poly

Unidimensional Polytomous Testlet Response Theory Estimation
sim_irt

Simulate Item Response Theory Data
equate_irt

Item Response Theory Equating / Linking
mixed_irt

Mixed Item Response Model Estimation (Dichotomous & Polytomous)
irt_trt

Joint Item Response Theory and Testlet Response Theory Estimation (Dichotomous & Polytomous)
fixed_item

Fixed Item Calibration
fix_person

Fixed Person Calibration with or without Covariate
ela2

Mixed-Format English Language Arts (ELA) Assessment Data (Form 2)