Description Usage Arguments Details Value
View source: R/coxph_backward_elimination.R
Backward feature elimination based on Wald type test for Cox model
1 |
formula |
A model formula to start backward elimination |
data |
A data frame |
alpha |
Significant level. Default to 0.05 |
trace |
A integer for different levels of tracing. 0 = no trace, 1 = print dropped variable, 2 = print all considered models during the procedure |
method |
Method to resolve tied event times pass to ‘coxph'. Default to ’breslow' instead of 'efron' |
... |
Other parameters passed 'coxph' |
Notice that model hierachical structure is maintained, i.e., iff interactions involved in the model, its main effects will also be kept in the model.
A list with two entries:
$ fit: a 'coxph' object of selected model
$ wald.test: wald test p values for each feature and possible interaction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.