model_goodness_poly {airt} | R Documentation |
This function computes the goodness of the IRT model for all algorithms using the empirical cumulative distribution function of errors.
model_goodness_poly(model)
## S3 method for class 'modelgoodnesspoly'
autoplot(object, ...)
model |
The output from pirtmodel function. |
object |
For autoplot: The output of the model_goodness_poly function. |
... |
Other arguments currently ignored. |
A list with the following components:
goodnessAUC |
The area under the model goodness curve for each algorithm. |
mse |
The mean squared error. |
curves |
The |
set.seed(1)
x1 <- sample(1:5, 100, replace = TRUE)
x2 <- sample(1:5, 100, replace = TRUE)
x3 <- sample(1:5, 100, replace = TRUE)
X <- cbind.data.frame(x1, x2, x3)
mod <- pirtmodel(X)
out <- model_goodness_poly(mod)
out
autoplot(out)