Learn R Programming

repolr (version 3.4)

confint.repolr: Confidence Intervals for repolr Model Parameters

Description

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

Usage

"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.

Value

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

Details

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

Examples

Run this code
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)

Run the code above in your browser using DataLab