Skip to contents

Population moments

Divide by N rather than N - 1. A schedule of potential outcomes is a population, not a sample from one.

pop_var()
Population variance
pop_cov()
Population covariance
pop_sd()
Population standard deviation

Standard errors and tests

The true standard error, which needs the potential outcomes no experiment reveals, and the indirect test for effect heterogeneity.

equation_3.4()
The true standard error of a two-arm experiment under complete random assignment
difference_in_variances()
Test for a difference in outcome variances between treatment arms

Simulations

Bayesian updating from an experimental result, and a simulated research literature in which studies arrive in a random order.

posterior_mean_fn()
Compute the Bayesian posterior mean given a normal prior and experimental result
simulate_posteriors()
Simulate Bayesian posterior distributions across experimental sample sizes
make_studies()
Simulate a research literature with a gender-composition moderator

Book tables

The hypothetical schedules of potential outcomes the chapters reason over.

table_2_1
Table 2.1 from FEDAI
table_2_2
Table 2.2 from FEDAI
table_3_3
Table 3.3 from FEDAI
table_3_4
Table 3.4 from FEDAI
table_3_5
Table 3.5 from FEDAI
table_3_6
Table 3.6 from FEDAI
table_3_7
Table 3.7 from FEDAI
box_3_7
Box 3.7 from FEDAI
table_4_1
Table 4.1 from FEDAI
table_4_2
Table 4.2 from FEDAI
table_5_1
Table 5.1 from FEDAI
table_6_1
Table 6.1 from FEDAI
table_6_4
Table 6.4 from FEDAI
table_7_1
Table 7.1 from FEDAI
table_7_2
Table 7.2 from FEDAI
table_7_7
Table 7.7 from FEDAI
table_8_1
Table 8.1 from FEDAI
table_8_2
Table 8.2 from FEDAI
table_8_4
Table 8.4 from FEDAI
table_8_4_distmat
Distance matrix for Table 8.4 from FEDAI
table_8_7
Table 8.7 from FEDAI
table_9_1
Table 9.1 from FEDAI
table_9_2
Table 9.2 from FEDAI
table_10_1
Table 10.1 from FEDAI
table_12_2
Table 12.2 from FEDAI
table_12_5
Table 12.5 from FEDAI

Study datasets

The experiments the chapters analyze.

arceneaux_2005
Arceneaux (2005) precinct canvassing experiment
clingingsmith_khwaja_kremer_2009
Clingingsmith, Khwaja and Kremer (2009) Hajj lottery
rosen_2010
Rosen (2010) legislator audit experiment

Exercise datasets

The datasets the exercises ask the reader to download, shipped with the column names the exercises use.

obrien_patsiorkovski_1999
O'Brien and Patsiorkovski (1999) rural Russia survey
guan_green_2006
Guan and Green (2006) dormitory canvassing experiment
hyde_2010
Hyde (2010) election observation experiment
rind_bordia_1996
Rind and Bordia (1996) restaurant tipping experiment
fieldhouse_etal_2010
Fieldhouse et al. (2010) UK mobilization experiment
bhavnani_2009
Bhavnani (2009) gender quota experiment
dupas_2010
Dupas (2010) bed net pricing experiment
howell_peterson_2002
Howell and Peterson (2002) school voucher experiment
titiunik_2010
Titiunik (2010) legislative term length experiment