Learn R Programming

tcl (version 1.0.1)

invar_test: Test of invariance of item parameters between two groups.

Description

Computes Wald (W), likelihood ratio (LR), Rao score (RS) and gradient (GR) test statistics for hypothesis of equality of item parameters between two groups of persons against a two-sided alternative that at least one item parameter differs between the two groups.

Usage

invar_test(data, splitcr = "median", model = "RM")

Value

A list of class tcl of test statistics, degrees of freedom, and p-values.

test

A numeric vector of Wald (W), likelihood ratio (LR), Rao score (RS), and gradient (GR) test statistics.

df

A numeric vector of corresponding degrees of freedom.

pvalue

A vector of corresponding p-values.

deleted_items

A list with numeric vectors of item numbers that were excluded before computing corresponding test statistics.

sample_size_informative

Informative sample size of data omitting persons with min. and max score.

effect

Numeric value for each test representing the effect size. A real number between 0 and 1, interpreted as a proportion of pseudo -variance between the two groups of persons considered.

data

Data matrix.

call

The matched call.

Arguments

data

Data matrix.

splitcr

Split criterion which is either "mean", "median" or a numeric vector x.

"mean"

Corresponds to division of the sample according to the mean of the person score.

"median"

Corresponds to division of the sample according to the median of the person score.

x

Has length equal to number of persons and contains zeros and ones. It indicates group membership for every person.

model

RM, PCM, RSM

Details

Note that items are excluded for the computation of GR, LR, and W due to inappropriate response patterns within subgroups and for computation of RS due to inappropriate response patterns in the total data. If the model is identified from the total data but not from one or both subgroups only RS will be computed. If the model is not identified from the total data, no test statistic is computable.

References

Draxler, C. (2010). Sample Size Determination for Rasch Model Tests. Psychometrika, 75(4), 708–724.Draxler, C., & Alexandrowicz, R. W. (2015). Sample Size Determination Within the Scope of Conditional Maximum Likelihood Estimation with Special Focus on Testing the Rasch Model. Psychometrika, 80(4), 897–919.Draxler, C., Kurz, A., & Lemonte, A. J. (2022). The gradient test and its finite sample size properties in a conditional maximum likelihood and psychometric modeling context. Communications in Statistics-Simulation and Computation, 51(6), 3185-3203.Glas, C. A. W., & Verhelst, N. D. (1995a). Testing the Rasch Model. In G. H. Fischer & I. W. Molenaar (Eds.), Rasch Models: Foundations, Recent Developments, and Applications (pp. 69–95). New York: Springer.Glas, C. A. W., & Verhelst, N. D. (1995b). Tests of Fit for Polytomous Rasch Models. In G. H. Fischer & I. W. Molenaar (Eds.), Rasch Models: Foundations, Recent Developments, and Applications (pp. 325-352). New York: Springer.

See Also

change_test, and LLTM_test.