EM Algorithm with ADMM for DIF Detection Using Group Pairwise Truncated \(L_1\) Penalty in 2PL Models
Source:R/D2PL_pair_em.R
D2PL_pair_em.RdEM Algorithm with ADMM for DIF Detection Using Group Pairwise Truncated \(L_1\) Penalty in 2PL Models
Arguments
- data
An \(N\times J\) binary matrix of item responses (missing responses should be coded as
NA)- group
An \(N\) dimensional vector of group indicators from
1toG(all respondents are in the same group by default)- Lambda0
A vector of
lambda0values for truncated \(L_1\) penalty (lambdaequalssqrt(N) / G * lambda0)- Tau
A vector of
tauvalues for truncated \(L_1\) penalty (becomes \(L_1\) penalty whentauequalsInf)- rho0
A value of
rhofor augmented Lagrangian in ADMM (tauequalssqrt(N) / G * tau0)- level
Accuracy level of Gaussian quadrature for
mvQuad- criterion
Information criterion for model selection, one of
'BIC'(recommended),'AIC', or'GIC'- iter
Maximum number of iterations
- eps
Termination criterion on numerical accuracy
- c
Constant for computing GIC
- verbose
Whether to show the progress
Value
An object of class vemirt_DIF, which is a list containing the following elements:
- N
Number of respondents
- niter0
Number(s) of iterations for initialization
- fit
The best (with lowest information criterion) model, which is an element of
all- best
The index of
fitinall- all
A list of models which has the same length as
Lambda0:- ...$lambda0
Corresponding element in
Lambda0- ...$lambda
sqrt(N) / G * lambda0- ...$tau
Corresponding element in
Tau- ...$rho0
Same as
rho0in input- ...$rho
sqrt(N) / G * rho0- ...$niter
Number(s) of iterations
- ...$Sigma
Group-level covariance matrices
- ...$Mu
Group-level mean vectors
- ...$a
Slopes
- ...$b
Intercepts
- ...$d.a
Group pairwise differences of slopes
- ...$d.b
Group pairwise differences of intercepts
- ...$u.a
Lagrangian multipliers of corresponding elements in
d.a- ...$u.b
Lagrangian multipliers of corresponding elements in
d.b- ...$ll
Log-likelihood
- ...$l0
Number of nonzero D2PL parameters in
gammaandbeta- ...$AIC
Akaike Information Criterion:
-2*ll+l0*2- ...$BIC
Bayesian Information Criterion:
-2*ll+l0*log(N)- ...$GIC
Generalized Information Criterion:
-2*ll+c*l0*log(N)*log(log(N))