Extracting variance-covariance matrix for MPR models.

Share:

Description

This function extracts the variance-covariance matrix for the estimated parameters from a fitted mpr model.

Usage

1
2
## S3 method for class 'mpr'
vcov(object, ...)

Arguments

object

fitted mpr model.

...

further arguments passed to or from other methods.

Value

The variance-covariance matrix.

Author(s)

Kevin Burke.

See Also

mpr.

Examples

1
2
3
4
5
6
7
# Veterans' administration lung cancer data
data(veteran, package="survival")
head(veteran)

mod1 <- mpr(Surv(time, status) ~ list(~ trt, ~ trt), data=veteran, family="Weibull")
vcov(mod1)
mod1$vcov