Based on summary.coxph
.
# S3 method for coxph
pvalue(x, log_p = FALSE, test = c("logrank", "wald",
"likelihood"), ...)
Fitted coxph
model.
Whether to return the logarithm of the p-value.
What test to calculate. "likelihood"
is short for means
likelihood ratio test.
Ignored. Kept for S3 consistency.
p-value.
Andersen, P. and Gill, R. (1982). Cox's regression model for counting processes, a large sample study. Annals of Statistics 10, 1100-1120.
Therneau, T., Grambsch, P., Modeling Survival Data: Extending the Cox Model. Springer-Verlag, 2000.