Learn R Programming

ClusterBootstrap (version 2.0.0)

confint.clusbootglm: Confidence intervals for cluster bootstrap model parameters

Description

Computes confidence intervals for one or more parameters in a fitted GLM with the cluster bootstrap.

Usage

# S3 method for clusbootglm
confint(object, parm = "all", level = 0.95, interval.type = "BCa", ...)

Arguments

object

object of class clusbootglm.

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. Defaults to all parameters.

level

the required confidence level

interval.type

type of confidence level. Options are BCa, percentile, and parametric.

...

other arguments.

Author

Mathijs Deen

Examples

Run this code
if (FALSE) {
data(opposites)
cbglm.1 <- clusbootglm(SCORE~Time*COG,data=opposites,clusterid=Subject)
confint(cbglm.1,parm=c("Time","COG"), level=.90, interval.type="percentile")}

Run the code above in your browser using DataLab