Learn R Programming

glmmTMB (version 0.2.0)

confint.glmmTMB: Calculate confidence intervals

Description

Calculate confidence intervals

Usage

# S3 method for glmmTMB
confint(object, parm, level = 0.95, method = c("wald",
  "profile"), component = c("all", "cond", "zi", "other"), estimate = TRUE,
  ...)

Arguments

object

glmmTMB fitted object.

parm

Specification of a parameter subset after component subset has been applied.

level

Confidence level.

method

Currently only option is 'wald'.

component

Which of the three components 'cond', 'zi' or 'other' to select. Default is to select 'all'.

estimate

Logical; Add a 3rd column with estimate ?

...

Not used

Details

Currently, all confidence intervals are calculated using the 'wald' method. These intervals are based on the standard errors calculated for parameters on the scale of their internal parameterization depending on the family. Derived quantities such as standard deviation parameters and dispersion parameters are backtransformed. It follows that confidence intervals for these derived quantities are asymmetric.

Examples

Run this code
# NOT RUN {
data(sleepstudy, package="lme4")
model <- glmmTMB(Reaction ~ Days + (1|Subject), sleepstudy)
confint(model)
# }

Run the code above in your browser using DataLab