| two_arm_trial | R Documentation |
One of seven simulated datasets behind the worked examples in Coppock (2021). A completely randomized trial with a binary outcome, in which 100 of 500 subjects are treated, so the two arms have different assignment probabilities.
two_arm_trial
two_arm_trialA tibble with 500 rows and 8 columns:
Subject identifier
Unobserved subject-level shock
Binary potential outcomes under control and treatment
Random assignment, 1 for treatment and 0 for control
Probability of the assigned condition, 0.2 for treated and 0.8 for control
Revealed outcome
Z labelled "Treatment" and "Control"
Every dataset in this family reports both potential outcomes. They are
knowable here because the data are simulated, and no real experiment observes
them. Z_cond_prob is the probability that a unit was assigned to the
condition it is actually in, which is the quantity an inverse probability
weight inverts.
Other Data:
attrition_experiment,
blocked_experiment,
clustered_experiment,
continuous_interaction,
covariate_adjustment,
noncompliance_experiment,
patriot_act
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.