Learn R Programming

airt (version 0.2.2)

model_goodness_crm: 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 modelgoodnesscrm autoplot(object, ...)

Value

A list with the following components:

goodnessAUC

The area under the model goodness curve for each algorithm.

curves

The x,y coordinates for the model goodness curves for each algorithm.

residuals

The residuals for each algorithm using the AIRT model.

Arguments

model

The output of function cirtmodel.

object

For autoplot: The output of model_goodness_crm.

...

Other arguments currently ignored.

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab