oneStepATT | R Documentation |
An internal function called by the tmle
function to calculate the additive treatment effect among the treated (ATT) using a universal least favorable submodel (on the transformed scale if outcomes are continuous). The function is called a second time with updated arguments to calculate the additive treatment effect among the controls (ATC). Missingness in the outcome data is allowed.
oneStepATT(Y, A, Delta, Q, g1W, pDelta1, depsilon, max_iter, gbounds, Qbounds, obsWeights)
Y |
continuous or binary outcome variable |
A |
binary treatment indicator, |
Delta |
indicator of missing outcome. |
Q |
a 3-column matrix |
g1W |
treatment mechanism estimates, |
pDelta1 |
censoring mechanism estimates, a 2-column matrix [ |
depsilon |
step size for delta moves, set to 0.001 |
max_iter |
maximum number of iterations before terminating without convergence |
gbounds |
bounds on the propensity score for untreated subjects |
Qbounds |
alpha bounds on the logit scale |
obsWeights |
sampling weights |
psi |
effect estimate (on the transformed scale for continuous outcomes) |
IC |
influence function |
conv |
TRUE if procedure converged, FALSE otherwise |
Susan Gruber
tmle
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.