twoarmglmmean.dr {precmed} | R Documentation |
Doubly robust estimators of the coefficients in the contrast regression as well as their covariance matrix
Description
Solving the estimating equation bar S_n (delta) = 0
Usage
twoarmglmmean.dr(y, x.cate, trt, ps, f1.predictor, f0.predictor)
Arguments
y |
Observed outcome; vector of size |
x.cate |
Matrix of |
trt |
Treatment received; vector of size |
ps |
Estimated propensity scores for all observations; vector of size |
f1.predictor |
Initial predictions of the outcome (expected number of relapses for one unit of exposure time)
conditioned on the covariates |
f0.predictor |
Initial predictions of the outcome (expected number of relapses for one unit of exposure time)
conditioned on the covariates |
Value
coef: Doubly robust estimators of the regression coefficients delta_0
; vector of size p
+ 1 (intercept included)
vcov: Variance-covariance matrix of the estimated coefficient delta_0
; matrix of size p
+ 1 by p
+ 1