This function calculates the Density Ratio (DR) estimator of the survival function at the time points specified in `t0.all`.

get.DR(Zi, Zi.UL, Ti, Ci, Di, t0.all)

Arguments

Zi

Matrix of covariate values for the labeled data

Zi.UL

Matrix of covariate values for the unlabeled data

Ti

Vector of event times for the labeled data

Ci

Vector of censoring times for the labeled data

Di

Vector of the event indicators for the labeled data (1 for event, 0 for censored)

t0.all

Vector of time points at which the survival function is to be estimated

Value

A list containing the Density Ratio estimator of the survival function (`DR`) at the specified time points in `t0.all`