deviance.galamm {galamm} | R Documentation |
Extract deviance of galamm object
Description
Extract deviance of galamm object
Usage
## S3 method for class 'galamm'
deviance(object, ...)
Arguments
object |
Object of class |
... |
Other arguments passed on to other methods. Currently not used. |
Value
A numeric value giving the deviance of the model fit.
See Also
logLik.galamm()
for a function returning the log likelihood and
deviance()
for the generic function.
Other details of model fit:
VarCorr()
,
coef.galamm()
,
confint.galamm()
,
factor_loadings.galamm()
,
family.galamm()
,
fitted.galamm()
,
fixef()
,
formula.galamm()
,
llikAIC()
,
logLik.galamm()
,
nobs.galamm()
,
predict.galamm()
,
print.VarCorr.galamm()
,
ranef.galamm()
,
residuals.galamm()
,
sigma.galamm()
,
vcov.galamm()
Examples
# Linear mixed model with heteroscedastic residuals
mod <- galamm(
formula = y ~ x + (1 | id),
weights = ~ (1 | item),
data = hsced
)
# Extract deviance
deviance(mod)
[Package galamm version 0.2.0 Index]