Choice Item Response Theory

Jointly model the accuracy of cognitive responses and item choices within a Bayesian hierarchical framework as described by Culpepper and Balamuta (2015) . In addition, the package contains the datasets used within the analysis of the paper.


cIRT 1.3.0


  • Updated package dependencies
  • Enabled C++11 and OpenMP.
  • Switched to allowing Rcpp to handle native registration


  • Addressed issues in the choice generation procedure.


  • Improved in-line documentation.
  • Added Authors' ORCIDs to DESCRIPTION.


  • Enabled TMSA Lab's configuration for Travis-CI.

cIRT 1.2.1

  • Added src/init.c for R 3.4 compatibility
  • Added GitHub project page link

cIRT 1.2.0

  • Added two vignettes that cover the model estimation and simulation results in the package.
  • Added a file to track changes to the package.

cIRT 1.1.0

  • Adds two columns to choice matrix: hard_q_id and easy_q_id.

cIRT 1.0.0

Modeling Framework

  • Implementation of the hiercharical framework described in "A Hierarchical Model for Accuracy and Choice on Standardized Tests"
  • Specifically, a choice inclusive Probit HLM and a Two Parameter Ogive Model.

C++ Functions

  • Random Number Generation for the following distributions: Wishart, Inverse Wishart, and Multivariate Normal
  • Matrix Centering
  • Direct Sum calculation


  • Student Performance on Revised Purdue Spatial Visualization Test (Revised PSVT:R) by Yoon, 2011 in trial_matrix
  • The choices students made among items presented to them in choice_matrix
  • The end payout results for students based on their choices in payout_matrix
  • One additional data set exists containing the student's sex response in survey_data

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.3.1 by James Joseph Balamuta, a year ago,

Report a bug at

Browse source code at

Authors: Steven Andrew Culpepper [aut, cph] , James Joseph Balamuta [aut, cph, cre]

Documentation:   PDF Manual  

Task views:

GPL (>= 2) license

Imports Rcpp

Suggests knitr, rmarkdown, covr

Linking to Rcpp, RcppArmadillo

See at CRAN