confint.ypbp: Confidence intervals for the regression coefficients

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function returns the estimated confidence intervals for the regression coefficients when the maximum likelihood estimation approach is used in the model fitting.

Usage

1
2
## S3 method for class 'ypbp'
confint(object, level = 0.95, ...)

Arguments

object

an object of the class ypbp.

level

the confidence level required.

...

further arguments passed to or from other methods.

Value

A matrix (or vector) with columns giving lower and upper confidence limits for the regression coefficients. These will be labeled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Examples

1
2
fit <- ypbp(Surv(time, status)~arm, data=ipass)
confint(fit)

YPBP documentation built on July 1, 2020, 10:19 p.m.