Next Article in Journal
Developing Psycho-Behavioural Skills: The Talent Development Coach Perspective
Next Article in Special Issue
Detecting Differential Item Functioning in 2PL Multistage Assessments
Previous Article in Journal / Special Issue
Bayesian Estimation of Latent Space Item Response Models with JAGS, Stan, and NIMBLE in R
 
 
Please note that, as of 22 March 2024, Psych has been renamed to Psychology International and is now published here.
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SAS PROC IRT and the R mirt Package: A Comparison of Model Parameter Estimation for Multidimensional IRT Models

1
Research, Evaluation, Measurement and Statistics, Oklahoma State University, 313 Willard Hall, Stillwater, OK 74078, USA
2
Human Resources Research Organization, Alexandria, VA 22314, USA
*
Author to whom correspondence should be addressed.
Psych 2023, 5(2), 416-426; https://doi.org/10.3390/psych5020028
Submission received: 30 March 2023 / Revised: 8 May 2023 / Accepted: 9 May 2023 / Published: 15 May 2023
(This article belongs to the Special Issue Computational Aspects and Software in Psychometrics II)

Abstract

:
This study investigates the performance of estimation methods for multidimensional IRT models with dichotomous and polytomous data in two well-known IRT programs: SAS PROC IRT and the mirt package in R. A simulation study was used to compare performance on a simple structure Rasch model, complex structure 2PL model, and bifactor graded response model. Under RMSE and bias criteria regarding item parameter recovery, PROC IRT and mirt showed nearly identical performance in the simple structure condition. When a complex structure was used, mirt performed better in terms of the recovery of intercept parameters, while the recovery of slope parameters depended on the program and the sample sizes: PROC IRT tended to be better with small samples ( N = 500 ) according to RMSE, and mirt was better for larger samples ( N = 1000 and 2500 ) according to RMSE and bias for the slope parameter recovery. When a bifactor structure was used, mirt was preferred in all cases; differences lessened as sample size increased.

1. Introduction

Recently, SAS/STAT® software introduced the IRT analysis module PROC IRT [1], which complements existing software that specializes in item response theory (IRT) analysis (e.g., IRTPRO [2], flexMIRT [3]). Additionally, IRT model estimation programs under the freely available statistical computing environment, R [4], became available and widely used in research. Both SAS/STAT software and R IRT programs offer multidimensional model estimation capacity. The popularity of and demand for multidimensional IRT modeling has increased because it is not uncommon to find a test which measures more than a single construct, and it provides an effective means to handle user-defined multidimensional structures (e.g., a simple structure with correlated subtests in a test battery).
In research and practice, one may consider either SAS/STAT PROC IRT or an IRT package in R for the estimation of a multidimensional model. Some information on the performance of the two IRT model programs are available in terms of unidimensional modeling (e.g., [5,6,7,8]), but comparisons of estimating multidimensional models by SAS/STAT PROC IRT and R package(s) are still scarce. The purpose of this study is to generate comparative information on the performance of SAS/STAT PROC IRT and R IRT programs in terms of multidimensional IRT model estimation. The package (or program) for the estimation of multidimensional IRT models in R used in this study is mirt [9]. SAS/STAT software is a licensed software, charging users a fee for use, and performs a comprehensive set of statistical procedures, including PROC IRT for uni- and multidimensional IRT analyses. The R software is a freely available, open-source software with the mirt package available for performing uni- and multidimensional IRT analyses.
The next section introduces comparisons of the overall features in SAS/STAT PROC IRT and the R mirt package, followed by a simulation study.

Features

Both PROC IRT in SAS/STAT and the mirt package in R can perform Rasch models, one-, two-, three-, and four-parameter models, and graded response and generalized partial credit models for unidimensional and multidimensional structures. The nominal response model can be used for unidimensional data with PROC IRT or for uni- and multidimensional data with mirt. Both assume person latent scores are from a normal distribution, utilizing the marginal maximum likelihood (MML) estimation with an expectation-maximization (EM) or Newton-type algorithms for parameter estimations as their default estimation approaches [1,10,11]. Mirt provides additional estimation options. Both provide maximum likelihood (ML), maximum a posteriori (MAP), and expected a posteriori (EAP) as person ability (or latent trait) score estimators.
SAS/STAT PROC IRT applies the logit link function when calibrating data, along with the quasi-newton maximization method and adaptive quadrature approximation method, by default. Mirt, by default, utilizes a standard expectation maximization with fixed quadrature. Table 1 and Table 2 below provide summaries of the features of the two programs. Note that in Table 1 and Table 2, we listed what we considered essential for beginners; furthermore, the two programs have a much wider scope of options regarding the details of model estimation specification and the directions of details of those option specifications are not identical. Thus, we recommend that one should further study the currently available information in “help” in R and the SAS/STAT documentation if they are interested in knowing the details at a deeper level.
The PROC IRT software and R mirt package have various algorithms for maximizing the marginal likelihood to obtain the model parameter estimates.

2. Materials and Methods

This study utilized a simulation study of three different multidimensional data structures (simple, complex, and bifactor; see Table 3) to compare the model parameter estimation procedures utilized by PROC IRT and mirt. The specifications of the estimation methods were the defaults, when applicable, provided by the two programs because they would be the most common types of choices when users in practice run a multidimensional model estimation. The use of the default means for the person ability parameters, θ , is assumed to follow a multivariate normal distribution and no distributional assumptions are made for the item parameters, i.e., there is no prior for item parameters in either program. PROC IRT does provide priors on the slope, guessing, and ceiling parameters when the 3PL and 4PL models are used.
The three structures have 30 items each. The multidimensional 2PL (M2PL) model used for data generation has the form a θ + d , i.e., a compensatory MIRT model form, where the slope and person ability parameters across dimensions are a and θ , respectively, and the item intercept parameter is d . For the data simulation, the slope parameters were from a log-normal distribution with the mean equal to zero and a standard deviation ( S D ) of 0.2; this results in slope parameters which are always positive (common in IRT) and lie approximately between 0.5 and 2.0. The intercept parameter was from the standard normal distribution. Item specifications were taken from Cole and Paek [7]. For all conditions, sample sizes of N = 500 ,   1000 , and 2500 were used. The number of replications was 100.
In R, mirt uses the slope-plus-intercept form, a θ + d . SAS/STAT PROC IRT for the 2PL model and the GR model follow the slope-minus-intercept form, a θ d .

2.1. Simulation 1: Simple Structure with Rasch Model

The first simulation utilized a simple structure dataset of 30 items with dichotomous data, following a Rasch model. Three-dimensional data were composed of three 10-item subsets as follows: items 1–10 loaded only on the first dimension, items 11–20 loaded only on the second dimension, and items 21–30 loaded only on the third dimension. Correlation of dimensions were in the moderate range ( r 12 = 0.5 ,   r 13 = 0.7 ,   r 23 = 0.6 ). For the model identification, the mean for each dimension was fixed to zero while the variances and the covariances of dimensions were estimated freely.
The person ability parameters ( θ s) of the simulated data were drawn from the tri-variate normal distributions with the mean equal to zero on all dimensions. The covariance matrix fixed the diagonals to ones and the off-diagonals to the correlation values addressed above. The intercept parameters were drawn from the standard normal distribution; these are the difficulty parameters in the simple structure Rasch model.

2.2. Simulation 2: Complex Structure with 2PL Model

The second simulation utilized a structure dataset of 30 items with dichotomous data following the 2PL model. Three-dimensional data were composed of three 10-item subsets as follows: items 1–10 loaded only on the first dimension, items 11–20 loaded only on the second dimension, and items 21–30 loaded on all three dimensions. Correlation of dimensions were in the moderate range ( r 12 = 0.5 ,   r 13 = 0.7 ,   r 23 = 0.6 ). Model identification specifications were similar to the first simulation.
The person ability parameters and intercept parameters of the simulated data were drawn from the same tri-variate normal distribution used in the above Rasch model condition. A log-normal distribution was utilized for the slope parameters, with its mean equal to 0.25 and its standard deviation equal to 0.25.

2.3. Simulation 3: Bifactor Structure with Graded Response Model

The third and final simulation utilized a bifactor structure dataset of 30 items with polytomous data with 3 categories, following the GR model. Four-dimensional data were composed such that all 30 items loaded on a common general factor along with three 10-item subsets as follows: items 1–10 loaded only on the first specific dimension, items 11–20 loaded only on the second specific dimension, and items 21–30 loaded only on the third specific dimension. Across factors, the mean and the variance were fixed to zero and one, respectively. The dimensions were uncorrelated.
Person ability parameters were drawn from a multivariate normal distribution with zero means across dimensions, and the covariance matrix corresponded to the identity matrix with n = 4. Similar to the second simulation, the slope parameters were drawn from the same lognormal distribution. The item intercept parameters for the three categories, d 1 and d 2 , were drawn from two uniform distributions ranging from (−2, 0) and (0, 2), respectively.

2.4. Computer Specifications

The computer specifications were an Intel® CoreTM i5-6500 CPU at 3.20 GHz with 8 GB of physical RAM. The operating system was Microsoft Windows 10 Enterprise. For IRT calibrations in SAS, 9.4 with the SAS/STAT® 14.1 component was used. In this study the R version was 4.2.2. and the mirt version was 1.38.1.

2.5. Evaluation

Evaluation was conducted in terms of run time, bias and RMSE of item parameter estimates, and the population parameter estimates (e.g., variances in the case of simple Rasch models and covariances among dimensions in the case of the simple Rasch and complex 2PL models). Regarding the item parameter recovery, the averages of bias and RMSE across items for the slope and the intercept parameters, respectively, are reported as summative evaluation measures for each data-simulation condition. In addition, we report the convergence (or non-convergence) rates as a side for practical information. The convergence criterion used in this study were the program defaults (when applicable), while the default model parameter estimation methods were chosen as mentioned before. When calibrating the complex and bifactor models, the calibrations converged with extremely incorrect parameter estimates in the SAS/STAT PROC IRT runs. The authors communicated with SAS/STAT technical specialists, and it was recommended to loosen the convergence criterion, which yielded more practical estimates. (See note a under Table 4 for the convergence rules used in the study.) Within R, the default convergence was used.
Appendix A provides the SAS/STAT PROC IRT and R syntax used for calibrating datasets.

3. Results

3.1. Run Time and Convergence

Table 4 presents the mean and standard deviation of the run time for each simulation using SAS/STAT PROC IRT and R mirt and the percentage of convergence (out of 100 repetitions). PROC IRT performed quicker when a simple structure was used at all levels of sample size and when a complex structure was used with a sample size of N = 500 and N = 2500 . R performed quicker when a complex structure was used with a sample size of N = 1000 , and R performed considerably faster for the bifactor structure at all levels of sample size. All simulations converged using R for the simple and bifactor structures; when a complex structure was used, convergence rates were 97%, 99%, and 100% for the sample sizes of N = 500 ,   1000 , and 2500 , respectively. All simulations converged using PROC IRT at the default convergence criterion (1 × 10−8) for the simple structure, and at the loosened criterion (1 × 10−5) for the complex and bifactor structures.
The faster run time of mirt is most likely due to the employment of the dimension reduction technique for the bifactor model estimation using the mirt::bfactor() function, which is not available in PROC IRT for the bifactor model estimation.

3.2. Recovery of Item Parameters

3.2.1. Simple Structure with Rasch Model

All cases met convergence in both mirt and PROC IRT. Table 5 reports the RMSE and bias, and Figure 1a,b display the measures.
PROC IRT and mirt had nearly identical performance of RMSE and bias for the intercept ( d ) parameter (RMSE ranged from 0.109 when N = 500 to 0.048 when N = 2500 , and bias ranged from 0.030 when N = 500 to 0.009 when N = 2500 ) and very similar performance of the variance and covariances of factors (RMSE ranged from 0.090 when N = 500 to 0.043 when N = 2500 , and bias ranged from 0.040 when N = 500 to 0.019 when N = 2500 ). The RMSE and bias of the variance and covariances of the factors were slightly higher in mirt as compared to PROC IRT. As sample size increased, measures of error decreased.

3.2.2. Complex Structure with 2PL Model

In mirt, nearly all replications reached the default convergence check (97%, 99%, and 100% for the sample sizes of 500, 1000, and 2500, respectively). Table 6 reports the RMSE and bias for PROC IRT and mirt for replications reaching convergence; these are displayed in Figure 2a,b. In PROC IRT, replications reached convergence at the default 1 × 10−8 convergence criterion; however, parameters were estimated with extreme errors (i.e., values greater than 10.0). SAS/STAT technical specialists recommended a loosened convergence criterion of 1 × 10−5, in which all cases reached convergence with reasonable estimates.
For mirt, the RMSE of the slope parameters, a 1 and a 2 , were less than 0.30, but the RMSE of a 3 was higher (0.569). PROC IRT estimated all slope parameters less than 0.240 when a small sample size ( N = 500 ) was used. At larger sample sizes ( N = 1000 and 2500 ), the RMSE of mirt tended to be low (less than 0.08) and less than that of PROC IRT (which ranged from 0.214 for a 1 and N = 1000 to 0.105 for a 3 and N = 2500 ).
At all levels of sample size, mirt had smaller RMSEs (less than 0.02) than PROC IRT (ranged from 0.103 to 0.083) when estimating the intercept and factor covariances.
Lastly, for all parameters and at all sample sizes, mirt estimated with low (less than 0.5) and smaller bias than PROC IRT (ranging from 0.165 to 0.015).
For all item parameters, when the complex structure using the 2PL model was applied, measures of error decreased as sample size increased (except for the case of estimating the bias of a 3 when N = 2500 , which increased slightly as sample size increased). Measures of error for the covariances were not affected by sample size.

3.2.3. Bifactor Structure with Graded Response Model

In mirt, all replications reached the default convergence check. In PROC IRT, replications reached convergence at the default 1 × 10−8 convergence criterion; however, parameters were estimated with extreme errors. As with the complex structure cases, SAS/STAT technical specialists recommended a loosened convergence criterion of 1 × 10−5, in which all cases reached convergence. Table 7 reports the RMSE and bias, and these are displayed in Figure 3a,b, respectively.
For all cases at all levels of sample size, mirt performed better in terms of RMSE and bias than PROC IRT. RMSE of mirt ranged from 0.032 (for a 1 when N = 500 ) to 0.002 (for a 3 when N = 2500 ). Bias of mirt ranged from 0.006 (for a 1 when N = 500 ) to less than 0.001 for many cases. For all parameters in mirt, RMSE and bias were only slightly affected by sample size, decreasing as sample sizes increased.
PROC IRT had higher effects of sample size. When sample sizes were small ( N = 500 ), RMSE was very high (maximum of 0.224 for a 1 ), as was bias (maximum of 0.145 for a 1 ). At N = 2500 , RMSE decreased as low as 0.032 (for a 3 when N = 2500 ) and bias decreased as low as 0.017 ( a 3 , N = 1000 ).

4. Discussion and Conclusions

This study investigated performance of two IRT programs using their default estimation methods, given that practitioners or end-users are highly likely to employ the default setting. Although both programs use the MML estimation by default, some aspects of the estimation details are not the same. For example, stopping rules for the iterative process in the model estimation are different and SAS/STAT PROC IRT uses an adaptive quadrature (by default), while mirt does not. The adaptive quadrature approach attempts to optimally choose the number of quadratures and their locations, while mirt uses a fixed set of quadratures (e.g., 61 quadratures at [–6, 6] on theta). Thus, our comparison here necessarily involves these differences across the two programs.
The comparisons of both programs were made for multidimensional dichotomous and polytomous response data. Below are major observations from the simulations.
When dichotomous data followed the three-dimensional Rasch model with a simple structure, both PROC IRT and mirt produced virtually the same performance in terms of recovering model parameters (specifically, bias and RMSE) with the sample size greater than or equal to 500. In large scale assessment programs, the Rasch model is a popular choice and typically a sample size of a few thousand or greater is used for model calibration. Research-wise, smaller sample sizes (a few hundred) are sometimes used. Though the results should be cautiously interpreted, our current findings are encouraging in that when the sample size is at least 500 or greater, the preferences of PROC IRT and mirt are equal.
When dichotomous data followed a three-dimensional complex structure with the 2PL model, where some items were cross-loaded, PROC IRT and mirt showed some differences. When the results from the mirt’s default convergence rule were examined, except for the recovery of one of the slope parameters with N = 500, mirt performed better than PROC IRT regarding RMSE and bias. Overall, when sample sizes are large (i.e., greater than or equal to 1000), mirt (using the first default convergence) performs better than PROC IRT.
When polytomous data followed a four-dimensional bifactor GR model, mirt recovered model parameters better than PROC IRT across all sample size conditions, though the difference of performance decreased as sample size increased and the difference between both programs was small, in particular when sample sizes were 500 or higher.
The use of an adaptive quadrature is an approach that can boost the estimation speed in multidimensional model estimation. However, as the number of dimensions increases (say, four or greater), the adaptive quadrature approach should compromise between the model parameter estimation speed and the accuracy of model parameter estimation when reducing the number of quadratures for the multidimensional run. We conjecture that, in the cases of the complex and bifactor model estimation, this compromise is a part of the reason why PROC IRT tended to underperform for these conditions. In addition, the lack of the dimensional reduction technique [12,13,14] in PROC IRT seems to be another contributing factor in the lesser performance of PROC IRT compared to mirt for the bifactor structure condition. (Note again, mirt::bfactor() uses the dimension reduction technique.) Based on the orthogonal structure of a bifactor model, the dimension reduction technique essentially reduces the number of dimensions to two, regardless of the total number of dimensions in a bifactor model, so that it lessens the workload of the multidimensional model estimation. The use of the dimension reduction technique made dramatic differences in the run time as well (see Table 4).
We chose popular multidimensional structures such as a simple structure, a cross-loading (i.e., complex) structure, and a bifactor structure. In reality, data could be even more complex than what is covered in this study for their dimensional structures. Therefore, the exploratory multidimensional model estimation approach may be of interest and could be investigated further. Exploratory multidimensional modeling could entail a very high dimensional modeling for which the current default MML estimation in mirt and PROC IRT becomes less attractive due to the increasing workload for the model estimation as the number of dimension increases. Thus, a different model estimation approach such as the Metropolis–Hastings Robbins–Monro (MHRM) method [9,12,15] may be considered for more complex, high-dimensional modeling.
In addition to the coverage of the types of multidimensional structures and estimation approaches used in this study, more limitations exist in this study, and they could be addressed in future research. For example, the Rasch model is a popular choice, especially for its applications with small sample sizes. In a research setting, it may not be uncommon to observe a sample size of 500 or less. Therefore, a study that investigates performance of these IRT programs under smaller sample sizes (e.g., 150, 200, or 300) would be a worthwhile endeavor as well.

Author Contributions

Conceptualization, I.P.; methodology, I.P.; software, K.C.; formal analysis, K.C.; data curation, I.P.; writing—original draft preparation, K.C.; writing—review and editing, I.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

mirt code for Simple Structure Rasch Model
          mod <- ‘
          F1 = 1–10
          F2 = 11–20
          F3 = 21–30
          COV = F1*F2, F1*F3, F2*F3’
          mirtmod <- mirt::mirt(data, mod, itemtype=c(“Rasch”), SE=T)
mirt code for Complex Structure 2PL Model
          mod <- ‘
          F1 = 1–10, 21–30
          F2 = 11–20, 21–30
          F3 = 21–30
          COV = F1*F2, F1*F3, F2*F3’
          mirtmod <- mirt::mirt(data, mod, itemtype=c(“2PL”), SE=T)
mirt code for Bifactor Structure Graded Response Model
          spec <- c(1,1,1,1,1,1,1,1,1,1, 2,2,2,2,2,2,2,2,2,2,
 3,3,3,3,3,3,3,3,3,3)
          bfmod <- mirt::bfactor(data, spec, SE=T)
PROC IRT code for Simple Structure Rasch Model
        PROC IRT data=data;
           MODEL Item_1-Item_30/resfunc=TWOP;
           FACTOR Factor1->Item_1-Item_10 = 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0,
                  Factor2->Item_11-Item_20 = 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0,
                  Factor3->Item_21-Item_30 = 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0;
           COV    Factor1 Factor2,
                  Factor1 Factor3,
                  Factor2 Factor3;
         VARIANCE Factor1=fvar1, Factor2=fvar2, Factor3=fvar3;
        RUN;
PROC IRT code for Complex Structure 2PL Model
          PROC IRT data=data gconv=0.00001;
           VAR Item_11-Item_30 Item_1-Item_10;
           FACTOR Factor2->Item_11-Item_30,
                  Factor3->Item_21-Item_30,
                  Factor1->Item_1-Item_10 Item_21-Item_30;
           COV    Factor1-Factor3;
          RUN;
PROC IRT code for Bifactor Structure Graded Response Model
          PROC IRT data=data gconv=0.00001;
           VAR Item_1-Item_30;
           FACTOR Factor1->Item_1-Item_30,
                  Factor2->Item_1-Item_10,
                  Factor3->Item_11-Item_20,
                  Factor4->Item_21-Item_30;
          RUN;

References

  1. SAS Institute Inc. SAS/STAT® 14.3 User’s Guide; SAS Institute Inc.: Cary, NC, USA, 2017. [Google Scholar]
  2. Vector Psychometric Group. IRTPRO for Windows V6 Computer Software; Vector Psychometric Group, LLC.: Chapel Hill, NC, USA, 2023. [Google Scholar]
  3. Houts, C.R.; Cai, L. flexMIRT User’s Manual Version 3.52: Flexible Multilevel Multidimensional Item Analysis and Test Scoring; Vector Psychometric Group: Chapel Hill, NC, USA, 2020. [Google Scholar]
  4. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2023; Available online: https://www.R-project.org (accessed on 1 January 2023).
  5. Choi, J. A review of PROC IRT in SAS. J. Educ. Behav. Stat. 2017, 42, 195–205. [Google Scholar] [CrossRef]
  6. Cole, K.; Paek, I. PROC IRT: A SAS procedure for item response theory. Appl. Psychol. Meas. 2017, 41, 311–320. [Google Scholar] [CrossRef]
  7. Cole, K.; Paek, I. Using SAS PROC IRT for multidimensional item response theory analysis. Meas. Interdiscip. Res. Perspect. 2022, 20, 49–55. [Google Scholar] [CrossRef]
  8. Han, K.; Paek, I. A review of commercial software packages for multidimensional IRT modeling. Appl. Psychol. Meas. 2014, 38, 486–498. [Google Scholar] [CrossRef]
  9. Cai, L.S. Metropolis-Hastings Robbins-Monro algorithm for high-dimensional item response theory modeling. Psychol. Methods 2013, 18, 556–573. [Google Scholar]
  10. Bock, R.D.; Aitkin, M. Marginal maximum likelihood estimation of item parameters: Application of an EM algorithm. Psychometrika 1981, 46, 443–459. [Google Scholar] [CrossRef]
  11. Chalmers, R.P. mirt: A multidimensional item response theory package for the R environment. J. Stat. Softw. 2012, 48, 1–29. [Google Scholar] [CrossRef] [Green Version]
  12. Cai, L.S. Full-information item bifactor analysis using the EM algorithm. Psychol. Methods 2010, 15, 242–257. [Google Scholar]
  13. Gibbons, R.D.; Hedeker, D. A dimension reduction technique for bifactor analysis. Psychol. Methods 1992, 7, 192–204. [Google Scholar]
  14. Gibbons, R.D.; Hedeker, D. Generalized full-information item bifactor analysis. Psychometrika 2007, 72, 217–236. [Google Scholar]
  15. Cai, L.S. High-dimensional item response theory modeling. Psychometrika 2012, 77, 1–20. [Google Scholar]
Figure 1. RMSE (a) and bias (b) of item parameter estimates for the simple structure with Rasch modeling.
Figure 1. RMSE (a) and bias (b) of item parameter estimates for the simple structure with Rasch modeling.
Psych 05 00028 g001
Figure 2. RMSE (a) and (b) bias of item parameters for the complex model.
Figure 2. RMSE (a) and (b) bias of item parameters for the complex model.
Psych 05 00028 g002aPsych 05 00028 g002b
Figure 3. RMSE (a) and bias (b) of item parameters for the bifactor model.
Figure 3. RMSE (a) and bias (b) of item parameters for the bifactor model.
Psych 05 00028 g003
Table 1. Table of features for PROC IRT in SAS/STAT and mirt in R.
Table 1. Table of features for PROC IRT in SAS/STAT and mirt in R.
PROC IRT in SAS/STATmirt in R
Models supported
Polytomous extensionsGraded response, generalized partial creditGraded response, generalized partial credit
DimensionalityUnidimensional, multidimensionalUnidimensional, multidimensional
Calibration
Link functionLogit, ProbitLogit
Model identification θ ~ N 0 , 1 or N 0 , σ 2 for Rasch modeling θ ~ N 0 , 1 or N 0 , σ 2 for Rasch modeling
Item calibrationMML as defaultMML as default
Person abilityML, EAP, MAPEAP, MAP, ML, Weighted Likelihood Estimate (WLE)
Output
Global/Model fitLog likelihood, Akaike’s and Bayesian information criterion, the likelihood ratio Chi–Square G 2 statistic, and Pearson’s Chi–SquareLog likelihood, Akaike’s and Bayesian information criterion, the likelihood ratio Chi–Square G 2 statistic, root mean square error of approximation (RMSEA), and M 2 test
Item fitLikelihood Ratio G 2 , Pearson’s Chi–Square Statistics S X 2 as default. Infit and outfit item fit statistics possible for the Rasch model
Person fit NoneInfit and outfit measures, and l z
PlotsItem Information Curve, Test Information Curve, Item Characteristic CurveItem Information Curve, Test Information Curve, Item Characteristic Curve
Other
Mixed format dataYesYes
Missing data codeBlank, user-specified‘NA’ used
Item parameter priorsYes for the slope, the guessing, and the ceiling parameters for the 3PL and 4PL models onlyYes for the slope, the intercept, the guessing, and the ceiling parameters
Multiple-group IRTYesYes
Mixture modelsNo capabilityYes
Note. Missing data in R are specified with ‘NA’ (not available).
Table 2. Table of estimation features for PROC IRT in SAS/STAT and mirt in R.
Table 2. Table of estimation features for PROC IRT in SAS/STAT and mirt in R.
PROC IRT in SAS/STATmirt in R
Estimation MethodConjugate-gradientBlock & Lieberman approach
Expectation-Maximization (EM)Expectation-Maximization (EM) *
Newton-Rhaphson with ridgingMetropolis-Hastings Robbins-Monro (MHRM)
Quasi-Newton *Monte Carlo EM
Stochastic EM
Quasi-Monte Carlo EM
Quadrature ApproximationAdaptive Gauss-Hermite (G-H) *Fixed quadratures *
Gauss-Hermite (G-H)Custom quadratures (or user-specified quadratures)
Nonadaptive Gaussian Quatrature
* denotes the default setting.
Table 3. Simulated multidimensional structures and IRT models.
Table 3. Simulated multidimensional structures and IRT models.
Model
Number of DimensionsStructureRasch2PLGR
3SimpleX
Complex X
4Bifactor X
Note. 2PL = two parameter logistic; GR = graded response logistic.
Table 4. Average run time (in seconds) and convergence rates.
Table 4. Average run time (in seconds) and convergence rates.
Run   Time :   M S D Convergence (%)
Data FormatSample SizePROC IRTmirtPROC IRT amirt
Simple50025.75(1.55)70.11(14.69)100100
100039.25(14.67)95.39(7.49)100100
250069.19(44.43)176.55(6.41)100100
Complex50045.45(20.97)66.46(32.88)100 a97
1000103.36(64.94)67.61(12.42)100 a99
2500112.90(74.07)115.89(7.31)100 a100
Bifactor5002318.46(1232.00)26.24(1.50)100 a100
10001890.47(1078.33)39.74(1.26)100 a100
25003115.67(372.19)76.58(1.80)100 a100
a The PROC IRT convergence for the simple structure converged at the default 1 × 10−8. The complex and bifactor models did converge but with extreme errors in item parameter estimations. Communication with SAS/STAT technical specialists suggested loosening the convergence to 1 × 10−5. The complex and bifactor models converged with a converge criterion of 1 × 10−5.
Table 5. RMSE and bias of item parameters for the simple structure with Rasch model.
Table 5. RMSE and bias of item parameters for the simple structure with Rasch model.
Data FormatSample SizeParPROC IRTmirt
RMSEBiasRMSEBias
Simple500 d 0.1090.0300.1090.030
var/cov0.0820.0370.0900.040
1000 d 0.0760.0180.0760.018
var/cov0.0560.0230.0590.023
2500 d 0.0480.0090.0480.009
var/cov0.0390.0190.0430.022
Note. var/cov refers to the estimated variance and covariance of the factors.
Table 6. RMSE and bias of item parameters for the complex structure with 2PL model.
Table 6. RMSE and bias of item parameters for the complex structure with 2PL model.
Data FormatSample
Size
ParPROC IRTmirt
RMSEBiasRMSEBias
Complex500 a 1 0.2340.1380.2920.069
a 2 0.2140.1250.1810.031
a 3 0.1730.0650.5690.017
d 0.2270.1700.0820.049
cov0.0870.0780.0070.007
1000 a 1 0.2140.1650.0750.050
a 2 0.1870.1340.0500.029
a 3 0.1270.0520.0500.011
d 0.1030.0150.0130.001
cov0.0870.0800.0070.007
2500 a 1 0.1530.1260.0380.031
a 2 0.1130.0740.0140.008
a 3 0.1050.0810.0300.018
d 0.0660.0210.0050.001
cov0.0830.0750.0070.007
Note. cov refers to the estimated covariance among factors. All PROC IRT replications reached convergence at a loosened 1 × 10−5 convergence criterion.
Table 7. RMSE and bias of item parameters for the bifactor structure with GRM model.
Table 7. RMSE and bias of item parameters for the bifactor structure with GRM model.
Data FormatSample SizeParPROC IRTmirt
RMSEBiasRMSEBias
Complex500 a 1 0.2240.1450.0320.006
a 2 0.1300.1000.0140.000
a 3 0.1110.0830.0120.002
a 4 0.1200.0960.0170.006
d 1 0.1550.0570.0220.004
d 2 0.1350.0360.0180.003
1000 a 1 0.1240.0520.0160.005
a 2 0.0450.0030.0060.000
a 3 0.0460.0170.0050.000
a 4 0.0450.0070.0070.001
d 1 0.0990.0370.0100.002
d 2 0.1010.0450.0100.002
2500 a 1 0.0910.0480.0080.003
a 2 0.0420.0310.0030.001
a 3 0.0320.0180.0020.000
a 4 0.0310.0140.0020.000
d 1 0.0750.0440.0060.002
d 2 0.0720.0410.0050.002
Note. All mirt replications met the default convergence check. All PROC IRT replications reached convergence at a loosened 1 × 10−5 convergence criterion.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Cole, K.; Paek, I. SAS PROC IRT and the R mirt Package: A Comparison of Model Parameter Estimation for Multidimensional IRT Models. Psych 2023, 5, 416-426. https://doi.org/10.3390/psych5020028

AMA Style

Cole K, Paek I. SAS PROC IRT and the R mirt Package: A Comparison of Model Parameter Estimation for Multidimensional IRT Models. Psych. 2023; 5(2):416-426. https://doi.org/10.3390/psych5020028

Chicago/Turabian Style

Cole, Ki, and Insu Paek. 2023. "SAS PROC IRT and the R mirt Package: A Comparison of Model Parameter Estimation for Multidimensional IRT Models" Psych 5, no. 2: 416-426. https://doi.org/10.3390/psych5020028

Article Metrics

Back to TopTop