Produces a summary of a fitted coxph model
# S3 method for coxph
summary(object, conf.int=0.95, scale=1,...)
An object of class summary.coxph
, with components:
number of observations and number of events, respectively, in the fit
the log partial likelihood at the initial and final values
a matrix with one row for each coefficient, and columns containing the coefficient, the hazard ratio exp(coef), standard error, Wald statistic, and P value.
a matrix with one row for each coefficient, containing the confidence limits for exp(coef)
the overall likelihood ratio, score, and Wald test statistics for the model
the concordance statistic and its standard error
whether an asymptotic or robust variance was used
an approximate R^2 based on Nagelkerke (Biometrika 1991).
a message, if the underlying coxph call failed
a copy of the call
information on missing values
the result of a coxph fit
level for computation of the confidence intervals. If set to FALSE no confidence intervals are printed
vector of scale factors for the coefficients, defaults to 1. The printed coefficients, se, and confidence intervals will be associated with one scale unit.
for future methods
coxph
, print.coxph
fit <- coxph(Surv(time, status) ~ age + sex, lung)
summary(fit)
Run the code above in your browser using DataLab