pmat
computes the theoretical person-item matrix with solving
probabilities for each category (except 0th). residuals
computes the squared and standardized residuals based on
the observed and the expected person-item matrix. Chi-square based itemfit and personfit
statistics can be obtained by using itemfit
and personfit
. Corrected item-test correlations in itemfit
are computed using the approach from Cureton (1966).
# S3 method for ppar
pmat(object)
# S3 method for ppar
residuals(object,...)
# S3 method for ppar
itemfit(object)
# S3 method for ppar
personfit(object)
# S3 method for ifit
print(x, visible = TRUE,
sort_by = c("none", "p", "outfit_MSQ", "infit_MSQ", "outfit_t", "infit_t", "discrim"),
decreasing = FALSE, digits = 3,...)
# S3 method for pfit
print(x, visible = TRUE, ...)
# S3 method for resid
print(x, ...)
Matrix of theoretical probabilities for each category except 0th (from function pmat
).
Chi-squared itemfit statistics (from function itemfit
).
Degrees of freedom for itemfit statistics (from function itemfit
).
Standardized residuals (from function itemfit
).
Outfit mean-square statistics (from function itemfit
).
Infit mean-square statistics (from function itemfit
).
Corrected item-test correlations (from function itemfit
).
Chi-squared personfit statistics (from function personfit
).
Degrees of freedom for personfit statistics (from function personfit
).
Standardized residuals (from function personfit
).
Outfit mean-square statistics (from function personfit
).
Infit mean-square statistics (from function personfit
).
Object of class ppar
, derived from person.parameter
.
Object of class ifit
, pfit
, or resid
.
If FALSE
, returns the matrix of fit statistics that otherwise would be printed.
Optionally the itemfit output can be sorted by one of these criteria.
If sort_by
is set, whether the output should be sorted in increasing or decreasing order.
How many digits should be printed.
Further arguments passed to or from other methods. They are ignored in this function.
Patrick Mair, Reinhold Hatzinger, Moritz Heene
Smith Jr., E. V., and Smith, R. M. (2004). Introduction to Rasch Measurement. JAM press.
Wright, B.D., and Masters, G.N. Computation of OUTFIT and INFIT Statistics. Rasch Measurement Transactions, 1990, 3:4 p.84-85
Cureton, E. E. (1966). Corrected item-test correlations. Psychometrika, 31, 93-96
person.parameter
# Rasch model, estimation of item and person parameters
res <- RM(raschdat2)
p.res <- person.parameter(res)
# Matrix with expected probabilities and corresponding residuals
pmat(p.res)
residuals(p.res)
#Itemfit
itemfit(p.res)
#Personfit
personfit(p.res)
Run the code above in your browser using DataLab