Learn R Programming

galamm (version 0.2.3)

confint.galamm: Confidence intervals for model parameters

Description

Confidence intervals for model parameters

Usage

# S3 method for galamm
confint(object, parm, level = 0.95, method = "Wald", ...)

Value

A matrix with the requested confidence intervals.

Arguments

object

An object of class galamm returned from galamm.

parm

Parameters for which to compute intervals. Use "theta" to get all variance parameters, "beta" to get all fixed regression coefficients, "lambda" to get all factor loadings, and "weights" to get all weights. The parameter can also be given as a numeric vector with indices specifying the parameters. When given as characters, the arguments are case sensitive.

level

Decimal number specifying the confidence level. Defaults to 0.95.

method

Character of length one specifying the type of confidence interval. Currently only "Wald" is available. The argument is case sensitive.

...

Other arguments passed on to other methods. Currently not used.

See Also

fixef.galamm() for fixed effects, coef.galamm() for coefficients more generally, and vcov.galamm() for the variance-covariance matrix. confint() is the generic function.

Other details of model fit: VarCorr(), coef.galamm(), deviance.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(), response(), sigma.galamm(), vcov.galamm()

Examples

Run this code
# Poisson GLMM
count_mod <- galamm(
  formula = y ~ lbas * treat + lage + v4 + (1 | subj),
  data = epilep, family = poisson
)

confint(count_mod, parm = "beta", level = .99)

Run the code above in your browser using DataLab