Description Usage Arguments Value
Combines sim_base_data
, generate_po
, and
sim_interference_data
into one function.
1 2 | sim_interference(n, N, nsims, base.parameters = c(0.5, -0.788, -2.953, -0.098,
-0.145, 0.351), parameters = c(0.2727, -0.0387, 0.2179, 1.0859), alphas)
|
n |
number of units |
N |
number of groups |
nsims |
number of simulations |
base.parameters |
passed to |
parameters |
passed to |
alphas |
allocation (coverage) levels to calculate estimand with
|
a list with 3 elements: (1) the base dataset, (2) sims, a list of
nsims
datasets (3) truth: the estimands computed from the sims.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.