pred_model_timeic-internal {sMSROC}R Documentation

Predictive model in prognosis scenarios (I)

Description

Estimation of the predictive model in prognosis scenarios under interval censorship.

Usage

pred_model_timeic(marker, left, right, outcome, time, meth)

Arguments

marker

vector with the biomarker values.

left

vector containing the lower edges of the observed intervals. It is mandatory in prognosis scenarios and interval censorship and ignored in other situations.

right

vector with the upper edges of the observed intervals. It is mandatory as well in prognosis scenarios and interval censorship and ignored in other situations.

outcome

vector with the condition of the subjects as positive, negative or 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 taking into account the observation intervals (see Details).

  • “S”, for proportional hazards regression models without taking into account the observation intervals (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 condition of the subjects as positive, negative or censored at the considered time time.

See Also

sMS_timeic and sMSROC


[Package sMSROC version 0.1.2 Index]