Confidence Intervals for repolr Model Parameters

Share:

Description

Computes confidence intervals for one or more parameters in a fitted repolr model object.

Usage

1
2
## S3 method for class 'repolr'
confint(object, parm, level = 0.95, robust.var = TRUE, ...)

Arguments

object

is a model fitted using repolr.

parm

a specification of which parameters are to be used, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the confidence level required.

robust.var

logical; if TRUE, intervals are based on the robust variance matrix.

...

further arguments passed to or from other methods.

Details

The method assumes normality and uses as default the estimated robust variance matrix.

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter.

Examples

1
2
3
4
data(HHSpain)
mod.0 <- repolr(HHSpain~Sex*Time, data=HHSpain, categories=4, subjects="Patient",
            times=c(1,2,5), corr.mod="uniform", alpha=0.5)
confint(mod.0, robust.var = FALSE)