model_goodness_crm {airt} | R Documentation |
Computes the goodness of IRT model for all algorithms.
Description
This function computes the goodness of the IRT model for all algorithms for different goodness tolerances.
Usage
model_goodness_crm(model)
## S3 method for class 'modelgoodnesscrm'
autoplot(object, ...)
Arguments
model |
The output of function cirtmodel. |
object |
For autoplot: The output of model_goodness_crm. |
... |
Other arguments currently ignored. |
Value
A list with the following components:
goodnessAUC |
The area under the model goodness curve for each algorithm. |
curves |
The |
residuals |
The residuals for each algorithm using the AIRT model. |
Examples
set.seed(1)
x1 <- runif(200)
x2 <- 2*x1 + rnorm(200, mean=0, sd=0.1)
x3 <- 1 - x1 + rnorm(200, mean=0, sd=0.1)
X <- cbind.data.frame(x1, x2, x3)
mod <- cirtmodel(X)
out <- model_goodness_crm(mod)
out
autoplot(out)
[Package airt version 0.2.2 Index]