Learn R Programming

glmm (version 1.4.5)

confint.glmm: Calculates Asymptotic Confidence Intervals

Description

A function that calculates asymptotic confidence intervals for one or more parameters in a model fitted by by glmm. Confidence intervals can be calculated for fixed effect parameters and variance components using models.

Usage

# S3 method for glmm
confint(object, parm, level, ...)

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labeled as (1-level)/2 and 1-(1-level)/2 in percent. By default, 2.5

Arguments

object

An object of class glmm usually created using glmm.

parm

A specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

The confidence level required.

...

Additional arguments passed to or from other methods.

Author

Christina Knudson

See Also

glmm for model fitting.

Examples

Run this code
library(glmm)
data(BoothHobert)
set.seed(123)
mod.mcml1<-glmm(y~0+x1,list(y~0+z1),varcomps.names=c("z1"), data=BoothHobert,
family.glmm=bernoulli.glmm,m=1000,doPQL=TRUE)
confint(mod.mcml1)

Run the code above in your browser using DataLab