
Doubly robust estimators of the coefficients in the contrast regression as well as their covariance matrix
Source:R/CATE_continuous.R
twoarmglmmean.dr.RdSolving the estimating equation bar S_n (delta) = 0
Arguments
- y
Observed outcome; vector of size
n- x.cate
Matrix of
p.catebaseline covariates; dimensionnbyp.cate- trt
Treatment received; vector of size
nunits with treatment coded as 0/1- ps
Estimated propensity scores for all observations; vector of size
n- f1.predictor
Initial predictions of the outcome (expected number of relapses for one unit of exposure time) conditioned on the covariates
xfor treatment group trt = 1;mu_1(x), step 1 in the two regression; vector of sizen- f0.predictor
Initial predictions of the outcome (expected number of relapses for one unit of exposure time) conditioned on the covariates
xfor treatment group trt = 0;mu_0(x), step 1 in the two regression; vector of sizen