Skip to main content
QUICK REVIEW

[Paper Review] LNIRT: An R Package for Joint Modeling of Response Accuracy and Times

Jean‐Paul Fox, Konrad Klotzke|arXiv (Cornell University)|Jun 18, 2021
Statistical Methods and Bayesian InferenceMathematics27 references8 citations
TL;DR

The LNIRT R package enables Bayesian joint modeling of response accuracy and response times in computer-based testing using hierarchical item response theory models. It employs efficient Gibbs sampling for MCMC estimation, supports multiple parameterizations, handles missing data, and includes tools for model fit evaluation and outlier detection, significantly improving the analysis of speed-accuracy trade-offs in educational assessments.

ABSTRACT

In extit{computer-based testing} it has become standard to collect response accuracy (RA) and response times (RTs) for each test item. IRT models are used to measure a latent variable (e.g., ability, intelligence) using the RA observations. The information in the RTs can help to improve routine operations in (educational) testing, and provide information about speed of working. In modern applications, the joint models are needed to integrate RT information in a test analysis. The R-package LNIRT supports fitting joint models through a user-friendly setup which only requires specifying RA, RT data, and the total number of Gibbs sampling iterations. More detailed specifications of the analysis are optional. The main results can be reported through the summary functions, but output can also be analysed with Markov chain Monte Carlo (MCMC) output tools (i.e., coda, mcmcse). The main functionality of the LNIRT package is illustrated with two real data applications.

Motivation & Objective

  • To address the lack of accessible software tools for joint modeling of response accuracy (RA) and response times (RTs) in educational testing.
  • To develop an open-source, maintainable R package that supports advanced Bayesian estimation for hierarchical joint models of RA and RT data.
  • To integrate modern extensions such as explanatory variables, missing data handling (MAR and missing-by-design), and flexible parameterizations.
  • To provide robust model fit evaluation tools for person and item fit, including Bayesian significance tests and residual analysis.
  • To enable efficient MCMC sampling with low autocorrelation and high effective sample size, surpassing black-box MCMC methods in performance and identifiability.

Proposed method

  • Uses a hierarchical Bayesian framework where response accuracy follows a two-parameter normal-ogive IRT model and response times are log-normally distributed with a normal model on the log-transformed RTs.
  • Employs Gibbs sampling for posterior estimation, with custom-designed samplers to optimize convergence and effective sample size, avoiding limitations of black-box MCMC tools.
  • Supports multiple parameterizations of the joint model, including those by van der Linden (2007) and Klein Entink et al. (2009), for flexibility in modeling speed and ability.
  • Incorporates explanatory variables at both person and item levels to model heterogeneity in speed and accuracy, allowing for covariate-informed modeling.
  • Integrates imputation methods for missing data under MAR and missing-by-design conditions, ensuring robustness in incomplete test designs.
  • Provides tools for person-fit and item-fit assessment using posterior predictive checks and Bayesian significance tests to detect aberrant response patterns.

Experimental results

Research questions

  • RQ1How can joint modeling of response accuracy and response times improve the precision of ability and speed estimation in computer-based testing?
  • RQ2What are the benefits of using a custom Gibbs sampler over black-box MCMC tools in terms of convergence speed and effective sample size for high-dimensional hierarchical models?
  • RQ3To what extent can explanatory variables at the person and item levels improve the modeling of speed-accuracy trade-offs?
  • RQ4How can missing data in response accuracy and response times be effectively handled within a joint modeling framework?
  • RQ5Can Bayesian model fit diagnostics detect aberrant test takers and problematic items based on combined RA and RT patterns?

Key findings

  • The LNIRT package successfully implements efficient Bayesian joint modeling of response accuracy and response times using a custom Gibbs sampler that achieves faster convergence and higher effective sample size than black-box MCMC methods.
  • The package supports multiple parameterizations of the joint model, including those from van der Linden (2007) and Klein Entink et al. (2009), enhancing its applicability across different testing contexts.
  • Extensive residual analysis and Bayesian fit statistics enable reliable detection of aberrant test takers and misfitting items based on combined RA and RT patterns.
  • The package handles missing data under both MAR and missing-by-design assumptions, maintaining model validity and estimation accuracy.
  • The implementation in R ensures open access, extensibility, and maintainability, overcoming limitations of the legacy cirt FORTRAN program.
  • The package supports the inclusion of explanatory variables at both person and item levels, allowing for more nuanced modeling of individual and item-level differences in speed and accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.