survscreen.marg | R Documentation |
This screening algorithm uses marginal coxph
regressions to select covariates that have significant marginal relationships with the event.
survscreen.marg(time, event, X, obsWeights, minscreen = 2, min.p = 0.1, ...)
time |
Observed follow-up time; i.e. minimum of the event and censoring times. |
event |
Observed event indicator; i.e, whether the follow-up time corresponds to an event or censoring. |
X |
Training covariate data.frame. |
obsWeights |
Observation weights. |
minscreen |
Minimum number of covariates to return. Defaults to 2. |
min.p |
Threshold p-value used to decide if a covariate is included. Defaults to 0.1 |
... |
Additional ignored arguments. |
alpha |
Penalty exponent for |
A univariate Cox regression is run for each covariate; those with p-values less than min.p
are included.
Logical vector of the same length as the number of columns of X
indicating which variables were included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.