pred_model_timerc-internal {sMSROC} | R Documentation |
Predictive model in prognosis scenarios (II)
Description
Estimation of the predictive model in prognosis scenarios under right censorship.
Usage
pred_model_timerc(marker, status, observed.time, outcome, time, meth)
Arguments
marker |
vector with the biomarker values. |
status |
numeric response vector. The highest value is assumed to stand for the subjects having the event under study. The lowest value, for those who do not. Any other value will not be considered. |
observed.time |
vector with the observed times for each subject. Notice that these values may be the event times or the censoring times. |
outcome |
vector with the status of the subjects as positive, negative or censored (unknown) at the considered time |
time |
point of time at which the sMS ROC curve estimator will be computed. |
meth |
method for approximating the predictive model
|
Details
If
meth
= “L”, the event times are assumed to come from a Cox proportional hazards regression model:P (T \leq t \;|\; X=x) = 1 - \exp \{ - \Delta_0(t) \cdot \exp \{ \beta_0 + \beta_1 \cdot \log(x)\}\},
where
\Delta_0(\cdot)
is the baseline hazard function and\beta_0, \beta_1 \in {\cal R}
.If
meth
= “S”, the approximation is done byP (T\leq t \;|\; X=x) = 1 - \exp \{ - \Delta_0(t) \cdot \exp \{ s(x)\}\}
being
s(\cdot)
the smooth function (penalized splines, doi:10.1111/1467-9868.00125).
Value
The returned value is a list with three components:
marker |
vector containing the ordered marker values. |
probs |
vector with the probabilities corresponding to each marker value estimated through the predictive model. |
outcome |
vector with the status of the subjects as positive, negative or censored at the considered time |
See Also
sMS_timerc
and sMSROC