Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

confint

Obtain Confidence Intervals for Joint Model Parameters


Description

confint is a generic function which computes confidence intervals for parameters in models fitted by jmodelTM() or jmodelMult().

Usage

## S3 method for class 'jmodelTM'
confint(object, parm, level = 0.95, ...)
## S3 method for class 'jmodelMult'
confint(object, parm, level = 0.95, ...)

Arguments

object

an object inheriting from class jmodelTM or jmodelMult.

parm

a specification of which parameters are to be given confidence intervals. As currently implemented, always give confidence intervals for all regression coefficients.

level

the confidence level required.

...

additional arguments required. None is used in this method.

Value

A list consists of the following components:

infoLong

a matrix with columns giving parameter estimates as well as their lower and upper confidence limits for the regression parameters of the longitudinal process.

infoSurv

a matrix with columns giving parameter estimates as well as their lower and upper confidence limits for the regression parameters of the survival process.

level

the confidence level used in computing the confidence limits.

Author(s)

Examples

## Not run: 
fitLME <- lme(proth ~ Trt * obstime, random = ~ 1 | ID, data = liver)
fitCOX <- coxph(Surv(start, stop, event) ~ Trt, data = liver, x = TRUE)
fitJT.ph <- jmodelTM(fitLME, fitCOX, liver, timeVarY = 'obstime')

# 95% confidence intervals for the joint model parameters
confint(fitJT.ph)

## End(Not run)

JSM

Semiparametric Joint Modeling of Survival and Longitudinal Data

v1.0.1
BSD_3_clause + file LICENSE
Authors
Cong Xu, Pantelis Z. Hadjipantelis and Jane-Ling Wang
Initial release
2020-07-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.