confint.clusbootglm: Confidence intervals for cluster bootstrap model parameters

Description Usage Arguments Author(s) Examples

View source: R/clusbootglm_s3_methods.R

Description

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

Usage

1
2
## S3 method for class '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(s)

Mathijs Deen

Examples

1
2
3
4
5
## Not run: 
data(opposites)
cbglm.1 <- clusbootglm(SCORE~Time*COG,data=opposites,clusterid=Subject)
confint(cbglm.1,parm=c("Time","COG"), level=.90, interval.type="percentile")
## End(Not run)

mathijsdeen/ClusterBootstrap documentation built on Feb. 18, 2021, 4:33 a.m.