coef.ddfMLR {difNLR} | R Documentation |
"ddfMLR"
class.S3 method for extracting estimated model coefficients
from an object of "ddfMLR"
class.
## S3 method for class 'ddfMLR' coef(object, SE = FALSE, simplify = FALSE, IRTpars = TRUE, CI = 0.95, ...)
object |
an object of |
SE |
logical: should the standard errors of estimated
parameters be also returned? (default is |
simplify |
logical: should the estimated parameters be
simplified to a matrix? (default is |
IRTpars |
logical: should the estimated parameters be returned
in IRT parameterization? (default is |
CI |
numeric: level of confidence interval for parameters,
default is |
... |
other generic parameters for |
Adela Hladka (nee Drabinova)
Institute of Computer Science of the Czech Academy of Sciences
Faculty of Mathematics and Physics, Charles University
hladka@cs.cas.cz
Patricia Martinkova
Institute of Computer Science of the Czech Academy of Sciences
martinkova@cs.cas.cz
ddfMLR
for DDF detection among nominal data.
coef
for generic function extracting model coefficients.
## Not run: # loading data data(GMATtest, GMATkey) Data <- GMATtest[, 1:20] # items group <- GMATtest[, "group"] # group membership variable key <- GMATkey # correct answers # testing both DDF effects (x <- ddfMLR(Data, group, focal.name = 1, key)) # estimated parameters coef(x) # includes standard errors coef(x, SE = TRUE) # includes standard errors and simplifies to matrix coef(x, SE = TRUE, simplify = TRUE) # intercept-slope parameterization coef(x, IRTpars = FALSE) # intercept-slope parameterization, simplifies to matrix, turn off confidence intervals coef(x, IRTpars = FALSE, simplify = TRUE, CI = 0) ## End(Not run)