pred_model_emp-internal {sMSROC} | R Documentation |
Predictive model (naive estimation)
Description
Naive estimation of the predictive model.
Usage
pred_model_emp(marker, status)
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. |
Details
This method for estimating the predictive model is used in both diagnosis and prognosis scenarios. It allocates individuals their own condition as positive or negative. Those with unknown condition are dismissed.
Value
The returned value is a list with two components:
marker |
vector containing the ordered marker values. |
probs |
vector with the probabilities corresponding to each marker value estimated through the predictive model. |
See Also
sMS_binout
, sMS_timerc
, sMS_timeic
and sMSROC
[Package sMSROC version 0.1.2 Index]