| PP-package | R Documentation |
The PP package estimates person parameters (abilities) in item response theory when the item parameters are known and fixed, e.g. for items from an item bank given to a new sample of persons.
the 1PL (Rasch), 2PL, 3PL and 4PL model (PP_4pl),
the partial credit and generalized partial credit model (PP_gpcm)
and tests that mix both (PPall).
maximum likelihood (MLE), weighted likelihood (WLE; Warm, 1989), maximum a posteriori (MAP), expected a posteriori (EAP) and a robust Huber-type estimate, each with a standard error and a status per person.
jackknife estimates and standard errors
(JKpp), plausible values (PV) and the person fit
indices lz, lz*, infit and outfit (Pfit).
PPass estimates and computes the person fit
for a data.frame with item responses and other person variables, or for a
model fitted with the eRm package (RM, LLTM, RSM, PCM, LRSM, LPCM).
sim_4pl, sim_gpcm and
sim_mixed.
The numerical core is written in C++. Every person is estimated with a
safeguarded Newton method, EAP estimates and plausible values come from the
posterior on a grid. The vignettes give an introduction:
vignette("intro_pp", package = "PP"),
vignette("intro_pfit", package = "PP") and
vignette("ppass_erm", package = "PP").
Maintainer: Manuel Reif manuel.reif@gmail.com
Authors:
Manuel Reif manuel.reif@gmail.com
Jan Steinfeld jan.d.steinfeld@gmail.com (ORCID)
Barton, M. A., & Lord, F. M. (1981). An upper asymptote for the three-parameter logistic item-response model. ETS Research Report Series, 1981(1), i–8.
Birnbaum, A. (1968). Some latent trait models and their use in inferring an examinee's ability. In F. M. Lord & M. R. Novick (Eds.), Statistical theories of mental test scores. Reading, MA: Addison-Wesley.
Drasgow, F., Levine, M. V., & Williams, E. A. (1985). Appropriateness measurement with polychotomous item response models and standardized indices. British Journal of Mathematical and Statistical Psychology, 38(1), 67–86.
Muraki, E. (1992). A generalized partial credit model: Application of an EM algorithm. Applied Psychological Measurement, 16, 159–176.
Schuster, C., & Yuan, K. H. (2011). Robust estimation of latent ability in item response models. Journal of Educational and Behavioral Statistics, 36(6), 720–735.
Snijders, T. A. B. (2001). Asymptotic null distribution of person fit statistics with estimated person parameter. Psychometrika, 66(3), 331–342.
Wainer, H., & Wright, B. D. (1980). Robust estimation of ability in the Rasch model. Psychometrika, 45(3), 373–391.
Warm, T. A. (1989). Weighted likelihood estimation of ability in item response theory. Psychometrika, 54, 427–450.
Useful links:
Report bugs at https://github.com/manuelreif/PP/issues
# 12 items of a 2PL test with known parameters, 100 persons
set.seed(1522)
b <- seq(-3, 3, length = 12)
sl <- round(runif(12, 0.5, 1.5), 2)
x <- sim_4pl(beta = b, alpha = sl, lowerA = 0, upperA = 1, theta = rnorm(100))
res <- PP_4pl(respm = x, thres = b, slopes = sl, type = "wle")
head(res$estimates)
# estimates and person fit in one table
PPass(data.frame(id = 1:100, x), items = 2:13, thres = b, slopes = sl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.