Description Usage Arguments Value Examples
Takes a set of potential outcomes generated by generate_po
and
returns a data frame containing the population level causal estimands
1 | calc_estimands(potential_outcomes, alphas)
|
potential_outcomes |
a list of potential outcomes generated by
|
alphas |
a vector of 'allocation schemes' in (0, 1) |
a data frame with 4 columns: 1) alpha (the allocation scheme) 2) a0 - the outcome estimand for untreated, 3) a1 - the outcome estimand for treated, 4) marg - the marginal outcome estimand
1 | calc_estimands(generate_po(sim_base_data(3, 40)), seq(.2, .8, by = .1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.