Generate and print summaries of crr output
# S3 method for crr
summary(object, conf.int = 0.95, digits =
max(options()$digits - 5, 2), ...)# S3 method for summary.crr
print(x, digits = max(options()$digits - 4, 3), ...)
summary.crr
returns a list of class summary.crr, which
contains components
The call to crr
TRUE if the iterative algorithm converged
The number of observations used in fitting the model
The number of observations removed by crr
from the input data due to missing values
The value of the negative of the objective function (the pseudo log likelihood at convergence
A matrix giving the estimated coefficients, hazard ratios, standard errors, z-scores, and p-values
A matrix giving the estimated hazard ratios, inverse hazard ratios and lower and upper confidence limits on the hazard ratios
Twice the difference in log pseudo likelihood values
An object of class crr (output from the crr function)
the level for a two-sided confidence interval on the coeficients. Default is 0.95.
In summary.crr
, digits
determines the number of
significant digits retained in the p-values. In
print.summary.crr
,
digits
sets the values of the digits
option for printing
the output.
Included for compatibility with the generic functions. Not currently used.
An object of class summary.crr (output from the summary method for crr)
The summary and print.summary methods were provided by Luca Scrucca
The summary method calculates the standard errors, subdistribution hazard ratios z-scores, p-values, and confidence intervals on the hazard ratios. The print method prints a fairly standard format tabular summary of the results.
The pseudo likelihood ratio test in the printed output is based on the difference in the objective function at the global null and at the final estimates. Since this objective function is not a true likelihood, this test statistic is not asymptotically chi-square.
crr
## see examples in the crr help file
Run the code above in your browser using DataLab