Description Usage Arguments Details Value
View source: R/fit_mechanisms.R
Estimate the Generalized Propensity Score (Treatment Mechanism)
1 2 3 4 5 6 7 8 9 10 |
A |
A |
W |
A |
delta |
A |
ipc_weights |
A |
fit_type |
A |
sl_learners_density |
Object containing a set of instantiated learners from sl3, to be used in fitting an ensemble model. |
haldensify_args |
A |
Compute the propensity score (treatment mechanism) for the observed data, including the shift. This gives the propensity score for the observed data (at the observed A) and the shift (at A - delta).
A data.table
with four columns, containing estimates of the
generalized propensity score at a downshift (g(A - delta | W)), no shift
(g(A | W)), an upshift (g(A + delta) | W), and an upshift of magitudie two
(g(A + 2 delta) | W).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.