confint.repolr: Confidence Intervals for repolr Model Parameters

Description Usage Arguments Details Value Examples

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)

Example output

               2.5 %     97.5 %
cuts1|2   -0.2621769 1.51904703
cuts2|3    0.7712556 2.63629750
cuts3|4    1.9274186 4.09613619
SexM      -0.6349370 1.68092877
Time      -0.4731129 0.04505261
SexM:Time -0.3003255 0.36671880

repolr documentation built on May 1, 2019, 9:20 p.m.