calc_estimands: Calculate estimands

Description Usage Arguments Value Examples

Description

Takes a set of potential outcomes generated by generate_po and returns a data frame containing the population level causal estimands

Usage

1
calc_estimands(potential_outcomes, alphas)

Arguments

potential_outcomes

a list of potential outcomes generated by generate_po

alphas

a vector of 'allocation schemes' in (0, 1)

Value

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

Examples

1
calc_estimands(generate_po(sim_base_data(3, 40)), seq(.2, .8, by = .1))

bsaul/interferenceSim documentation built on May 13, 2019, 8:12 a.m.