View source: R/CATE_continuous.R
twoarmglmmean.dr | R Documentation |
Solving the estimating equation bar S_n (delta) = 0
twoarmglmmean.dr(y, x.cate, trt, ps, f1.predictor, f0.predictor)
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 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.