Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/auxiliar_functions.r
Function to calculate person fit statistics.
1 | pfs(mod, level = 0.05, ab_type = 'wle')
|
mod |
A fitted rasch model. |
level |
A numeric indicating cutoff value for testing lack of fit. Default is 0.05. |
ab_type |
A character indicating which procedure should be used to estimate ability parameters. Possible choices are 'wle' (default), 'mle', 'bme' and 'eap'. |
The procedure described by Snijders (2001) is used to calculate a statistic of the form:
∑_j (y_j - P_j(θ))w_j(θ)
Where w_j(θ) are corrected to account for ability estimation.
A data.frame vector containing the value of the estimated abilities, statistics and p-values.
Fernando Massa, fmassa@iesta.edu.uy
snijders2001raschreg
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.