Skip to main content
Applied Psychological Measurement logoLink to Applied Psychological Measurement
. 2022 Oct 10;47(1):83–85. doi: 10.1177/01466216221125178

autoRasch: An R Package to Do Semi-Automated Rasch Analysis

Feri Wijayanto 1,2,, Ioan Gabriel Bucur 1, Perry Groot 1, Tom Heskes 1
PMCID: PMC9679921  PMID: 36425290

Abstract

The R package autoRasch has been developed to perform a Rasch analysis in a (semi-)automated way. The automated part of the analysis is achieved by optimizing the so-called in-plus-out-of-questionnaire log-likelihood (IPOQ-LL) or IPOQ-LL-DIF when differential item functioning (DIF) is included. These criteria measure the quality of fit on a pre-collected survey, depending on which items are included in the final instrument. To compute these criteria, autoRasch fits the generalized partial credit model (GPCM) or the generalized partial credit model with differential item functioning (GPCM-DIF) using penalized joint maximum likelihood estimation (PJMLE). The package further allows the user to reevaluate the output of the automated method and use it as a basis for performing a manual Rasch analysis and provides standard statistics of Rasch analyses (e.g., outfit, infit, person separation reliability, and residual correlation) to support the model reevaluation.

Keywords: Rasch analysis, semi-automated analysis, PJMLE, coordinate descent, lasso penalty

Description of the Package

Rasch analysis is a popular statistical method for developing and validating instruments to measure psychological aspects of humans. Typically, this method is done manually by experts with the assistance of software packages such as WINSTEP, RUMM2030, ConQuest, or eRM (www.rasch.org, 2014). Initially, the responses from an original survey need to be fitted to the model, either with the Rasch model (Rasch, 1960) in dichotomous cases or with the partial credit model (PCM) (Masters, 1982) in polytomous cases. As Rasch properties are checked (e.g., item goodness-of-fit, local dependency, reliability, and unidimensionality), items that misfit are removed one by one manually in an iterative process (Mul et al., 2021; O’Brien et al., 2021). Therefore, this procedure can be relatively time-consuming, especially when dealing with large and complex datasets. In addition, since the decisions on which items to include are partly based on human judgments combined with clinical expertise, different experts often select instruments that are different but equally suited.

The R (R Core Team, 2021) package autoRasch is a new tool for performing Rasch analysis in a (semi-)automatic manner. This package implements novel criteria that have been shown to naturally incorporate the standard properties of Rasch analysis (e.g., item goodness-of-fit, local dependency, reliability, unidimensionality, and differential item functioning). These criteria are called the in-plus-out-of-questionnaire log-likelihood with differential item functioning (IPOQ-LL-DIF) for cases incorporating DIF and in-plus-out-of-questionnaire log-likelihood (IPOQ-LL) for non-DIF cases (Wijayanto et al., 2021, 2022).

The IPOQ-LL-DIF and IPOQ-LL are computed by implementing the generalized partial credit model with differential item functioning (GPCM-DIF) (Wijayanto et al., 2022) and the generalized partial credit model (GPCM) (Muraki, 1992), respectively. For simplicity, the autoRasch package implements penalized joint maximum likelihood estimation (PJMLE) to fit these models. Moreover, recent studies have shown that PJMLE could yield comparable estimates to the marginal maximum likelihood estimation (MMLE) (Chen et al., 2019; Paolino, 2013; Robitzsch, 2021).

In contrast to the standard Rasch analysis, which investigates and removes items in a manual iterative way using statistics and expert knowledge, the autoRasch package attempts to automate the process by maximizing either the IPOQ-LL-DIF or IPOQ-LL scoring criteria. To maximize the score, this package implements a stepwise selection search method. The output of the stepwise selection search is formatted in a way that makes it easy to read, and it contains relevant information (e.g., the highest score and the items that yield it). Additionally, the change in score when sequentially removing items can be observed visually.

As a semi-automated method, our new procedure always welcomes the application of expert knowledge, for example, through pre- and post-analysis. To facilitate these pre- and post-analyses, the autoRasch package implements the fitting functions for the partial credit model (PCM) (Masters, 1982) and the partial credit model with differential functioning (PCM-DIF) (Wijayanto et al., 2022). Some standard Rasch statistics (e.g., outfit and infit statistics (Wright & Masters, 1982), residual correlation (Marais, 2013), and person/item separation reliability (PSR/ISR) (Wright & Masters, 1982) are also implemented. In addition, some typical graphical tools are also available (e.g., person-item map, item characteristic curve (ICC), and expected value curve (EVC)).

Availability, Documentation, and Distribution

The autoRasch package, user’s manual, and sample codes are available from Comprehensive R Archive Network (CRAN) repository at https://CRAN.R-project.org/package=autoRasch. The development version of the package is hosted on GitHub (https://github.com/fwijayanto/autoRasch).

Supplemental Material

Supplemental Material - autoRasch: An R Package to Do Semi-Automated Rasch Analysis

Supplemental Material for autoRasch: An R Package to Do Semi-Automated Rasch Analysis by Feri Wijayanto, Ioan Gabriel Bucur, Perry Groot, and Tom Heskes in Applied Psychological Measurement

The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Funding: The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The research leading to these results has received funding from Universitas Islam Indonesia.

Supplemental Material: Supplemental material for this article is available online.

ORCID iD

Feri Wijayanto https://orcid.org/0000-0001-9500-2268

References

  1. Chen Y., Li X., Zhang S. (2019). Joint maximum likelihood estimation for high-dimensional exploratory item factor analysis. Psychometrika, 84(1), 124–146. 10.1007/s11336-018-9646-5 [DOI] [PubMed] [Google Scholar]
  2. Marais I. (2013). Local dependence. In Christensen K. B., Kreiner S., Mesbah M. (Eds.), Rasch models in health chapter 7 (pp. 111–128). Wiley. [Google Scholar]
  3. Masters G. N. (1982). A rasch model for partial credit scoring. Psychometrika, 47(2), 149–174. 10.1007/bf02296272 [DOI] [Google Scholar]
  4. Mul K., Hamadeh T., Horlings C. G., Tawil R., Statland J. M., Sacconi S., Corbett A. J., Voermans N. C., Faber C. G., van Engelen B. G., Merkies I. S. (2021). The facioscapulohumeral muscular dystrophy Rasch-built overall disability scale (FSHD-RODS). European Journal of Neurology, 28(7), 2339–2348. 10.1111/ene.14863 [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Muraki E. (1992). A generalized partial credit model: Application of an EM algorithm. Applied Psychological Measurement, 16(2), 159–176. 10.1177/014662169201600206 [DOI] [Google Scholar]
  6. O’Brien K. K., Dzingina M., Harding R., Gao W., Namisango E., Avery L., Davis A. M. (2021). Developing a short-form version of the HIV disability questionnaire (SF-HDQ) for use in clinical practice: A Rasch analysis. Health and Quality of Life Outcomes, 19(1), 1–21. 10.1186/s12955-020-01643-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Paolino J.-P. (2013). Penalized joint maximum likelihood estimation applied to two parameter logistic item response models [PhD thesis, Columbia University; ]. [Google Scholar]
  8. Rasch G. (1960). Studies in mathematical psychology: I. Probabilistic models for some intelligence and attainment tests. Nielsen & Lydiche. [Google Scholar]
  9. R Core Team (2021). R: A language and environment for statistical computing. R Foundation for Statistical Computing. [Google Scholar]
  10. Robitzsch A. (2021). A comprehensive simulation study of estimation methods for the Rasch model. Stats, 4(4), 814–836. 10.3390/stats4040048 [DOI] [Google Scholar]
  11. Wijayanto F., Bucur I. G., Mul K., Groot P., van Engelen B. G., Heskes T. (2022). Semi-automated Rasch analysis with differential item functioning. PsyArxiv preprint. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Wijayanto F., Mul K., Groot P., van Engelen B. G., Heskes T. (2021). Semi-automated Rasch analysis using in-plus-out-of-questionnaire log likelihood. The British Journal of Mathematical and Statistical Psychology, 74(2), 313–339. 10.1111/bmsp.12218 [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Wright B. D., Masters G. N. (1982). Rating scale Analysis. MESA Press. [Google Scholar]
  14. www.rasch.org (2014). Rasch measurement analysis software directory. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplemental Material - autoRasch: An R Package to Do Semi-Automated Rasch Analysis

Supplemental Material for autoRasch: An R Package to Do Semi-Automated Rasch Analysis by Feri Wijayanto, Ioan Gabriel Bucur, Perry Groot, and Tom Heskes in Applied Psychological Measurement


Articles from Applied Psychological Measurement are provided here courtesy of SAGE Publications

RESOURCES