onearmsurv.dr | R Documentation |
Doubly robust estimators of the coefficients in the two regression
onearmsurv.dr(ynew, dnew, trt, x.cate, tau0, weightsurv, ps, f.predictor)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.