ahaz (version 1.14)

summary.ahaz: Summarize an ahaz object

Description

Produces a summary of a fitted semiparametric additive hazards model.

Usage

# S3 method for ahaz
summary(object, ...)

Arguments

object

The result of an ahaz fit.

...

For future methods.

Value

An object with S3 class "summary.ahaz".

call

The call that produced this object.

coefficients

Vector of regression coefficients.

cov

Estimated covariance matrix of regression coefficients.

nobs

Number of observations.

nvars

Number of covariates

waldtest

Vector of quantities from a Wald test.

univar

Logical: summarizing univariate regressions (option univariate in ahaz)?

See Also

ahaz, plot.ahaz

Examples

Run this code
# NOT RUN {
data(sorlie)

# Break ties
set.seed(10101)
time <- sorlie$time+runif(nrow(sorlie))*1e-2

# Survival data + covariates
surv <- Surv(time,sorlie$status)
X <- as.matrix(sorlie[,15:25])

# Fit additive hazards model
fit1 <- ahaz(surv, X)
summary(fit1)
# }

Run the code above in your browser using DataCamp Workspace