Fps.DRKMEIV {otrKM}R Documentation

Logistic regression for observed treatment and instrument used for the (S)DRKMEIV estimator.

Description

Logistic regression for observed treatment and instrument used for the (S)DRKMEIV estimator.

Usage

Fps.DRKMEIV(datalist, t0)

Arguments

datalist

A list used to calculate the (S)DRKMEIV estimator including treatment named a, observed time named obs.t, censoring indicator (0, censored) named delta, and baseline covariates used to assign treatment named l. Notice that all the data in the datalist should be ordered by observed time.

t0

A predetermined t.

Details

More details can be found in references, DRKMEIV, and Genetic.optim.DRKMEIV.

Value

A list including the probability of receiving instrument given baseline covariates named fzl, the probability of receiving treatment given baseline covariates and instrument equaling 0 named fal0, the probability of receiving treatment given baseline covariates and instrument equaling 1 named fal1, the difference between fal1 and fal0 named deltal, and the censoring survival function given baseline covariates and treatment 1 or 0 named surv.C.1 or surv.C.0.

References

Xia, J., Zhan, Z., Zhang, J. (2022) Estimating optimal treatment regime in survival contexts using an instrumental variable. Under Review.


[Package otrKM version 0.2.1 Index]