rasch.prox: PROX Estimation Method for the Rasch Model
Description
This function estimates the Rasch model using the PROX algorithm
(cited in Wright & Stone, 1999).Usage
rasch.prox(dat, dat.resp = 1 - is.na(dat), freq=rep(1,nrow(dat)) ,
conv = 0.001, maxiter = 30, progress = FALSE)
Arguments
dat
An $N$ times $I$ data frame of dichotomous response data. NA
s
are not allowed and must be indicated by zero entries in the
response indicator matrix dat.resp
.
dat.resp
An $N$ times $I$ indicator data frame of nonmissing item responses.
freq
A vector of frequencies (or weights) of all rows in data frame dat
.
conv
Convergence criterion for item parameters
maxiter
Maximum number of iterations
progress
Display progress?
Value
- A list with following entries
- bEstimated item difficulties
- thetaEstimated person abilities
- iterNumber of iterations
- sigma.iItem standard deviations
- sigma.nPerson standard deviations
References
Wright, B. & Stone, W. (1999). Measurement Essentials.
Wilmington: Wide Range.Examples
Run this codedata(data.read)
mod <- rasch.prox( data.read )
mod$b # item difficulties
Run the code above in your browser using DataLab