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.

time

point of time at which the sMS ROC curve estimator will be computed.

meth

method for approximating the predictive model P(D|X=x). The options are:

  • “L”, for proportional hazards regression models (see Details).

  • “S”, for smooth models (see Details).

Details

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 time.

See Also

sMS_timerc and sMSROC


[Package sMSROC version 0.1.2 Index]