coef.difORD {difNLR} | R Documentation |
"difORD"
class.S3 method for extracting estimated model coefficients
from an object of "difORD"
class.
## S3 method for class 'difORD' 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
difORD
for DIF detection among ordinal data.
coef
for generic function extracting model coefficients.
## Not run: # loading data data(dataMedicalgraded, package = "ShinyItemAnalysis") Data <- dataMedicalgraded[, 1:5] # items group <- dataMedicalgraded[, 101] # group membership variable # testing both DIF effects with adjacent category logit model (x <- difORD(Data, group, focal.name = 1, model = "adjacent")) # 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)