summary.hIRT {hIRT} | R Documentation |
Summarizing Hierarchical Item Response Theory Models
Description
Summarizing the fit of either hltm
or hgrm
.
Usage
## S3 method for class 'hIRT'
summary(object, by_item = FALSE, digits = 3, ...)
## S3 method for class 'summary_hIRT'
print(x, digits = 3, ...)
Arguments
object |
An object of class |
by_item |
Logical. Should item parameters be stored item by item
(if |
digits |
the number of significant digits to use when printing. |
... |
further arguments passed to |
x |
An object of class |
Value
An object of class summary_hIRT
.
call |
The matched call. |
model |
Model fit statistics: Log likelihood, AIC, and BIC. |
item_coefs |
Item parameter estimates, standard errors, z values, and p values. |
mean_coefs |
Parameter estimates for the mean equation. |
var_coefs |
Parameter estimates for the variance equation. |
Examples
y <- nes_econ2008[, -(1:3)]
x <- model.matrix( ~ party * educ, nes_econ2008)
z <- model.matrix( ~ party, nes_econ2008)
nes_m1 <- hgrm(y, x, z)
summary(nes_m1, by_item = TRUE)
[Package hIRT version 0.3.0 Index]