Function to estimate propensity score
estimate_G( A, W, DeltaY, DeltaA, SL_g, glm_g, a_0, tolg, stratify = FALSE, validRows = NULL, verbose = FALSE, returnModels = FALSE, Qn = NULL, adapt_g = FALSE )
| A | A vector of binary treatment assignment (assumed to be equal to 0 or 1) |
|---|---|
| W | A |
| DeltaY | Indicator of missing outcome (assumed to be equal to 0 if missing 1 if observed) |
| DeltaA | Indicator of missing treatment (assumed to be equal to 0 if missing 1 if observed) |
| SL_g | A vector of characters describing the super learner library to be
used for each of the regression ( |
| glm_g | A character describing a formula to be used in the call to
|
| a_0 | A vector of fixed treatment values at which to return marginal mean estimates. |
| tolg | A numeric indicating the minimum value for estimates of the propensity score. |
| stratify | A |
| validRows | A |
| verbose | A boolean indicating whether to print status updates. |
| returnModels | A boolean indicating whether to return model fits for the outcome regression, propensity score, and reduced-dimension regressions. |
| Qn | A |
| adapt_g | A boolean indicating whether propensity score is adaptive to outcome regression. |