View source: R/PredictiveModels.R
pred_model_emp-internal | R Documentation |
Naive estimation of the predictive model.
pred_model_emp(marker, status)
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. |
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.
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. |
sMS_binout
, sMS_timerc
, sMS_timeic
and sMSROC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.