onearmsurv.dr {precmed} | R Documentation |
Doubly robust estimators of the coefficients in the two regression
Description
Doubly robust estimators of the coefficients in the two regression
Usage
onearmsurv.dr(ynew, dnew, trt, x.cate, tau0, weightsurv, ps, f.predictor)
Arguments
ynew |
Truncated survival or censoring time; vector of size |
dnew |
The event indicator after truncation, |
trt |
Treatment received; vector of size |
x.cate |
Matrix of |
tau0 |
The truncation time for defining restricted mean time lost. |
weightsurv |
Estimated inverse probability of censoring weights with truncation for all observations; vector of size |
ps |
Estimated propensity scores for all observations; vector of size |
f.predictor |
Initial prediction of the outcome (restricted mean time loss) conditioned on the covariates |
Value
Doubly robust estimators of the two regression coefficients beta_r
where r = 0, 1
is treatment received; vector of size p.cate
+ 1 (intercept included)