Calculate Additive treatment effect among the treated (oneStepATT)
Calculate Additive treatment effect among the treated (oneStepATT)
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)
Arguments
Y: continuous or binary outcome variable
A: binary treatment indicator, 1 - treatment, 0 - control