Description Usage Arguments Value
Performs partial likelihood ratio test for cox regression objects using evaluated log partial likelihoods from the full and nested models to determine if the inclusion of additional predictors in the model is necessary. This function only works for coxph fits.
1 | compare_nested(full_model, reduced_model)
|
full_model |
Cox regression object (from the function, coxph) for the full model. |
reduced_model |
Cox Regression object for the reduced model. |
data frame with the statistic, degrees of freedom and p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.