Learn R Programming

YPBP (version 0.0.1)

confint.ypbp: Confidence intervals for the regression coefficients

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

# S3 method for 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

Run this code
# NOT RUN {
fit <- ypbp(Surv(time, status)~arm, data=ipass)
confint(fit)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab