Preface
Usage of this book
Software Information
Acknowledgments
About the Author
1
R Foundations
2
Statistical Foundations
3
Statistics and Regression with R
3.1
Linear Regression
3.2
Multiple Linear Regression
3.3
Adding Interaction Variables
3.4
Putting it All Together
4
Randomized Controlled Trials
4.1
Methodology
4.2
Neyman-Rubin Model
4.3
Selection Bias
4.4
Counterfactual Framework
4.4.1
Defining ATE
4.4.2
Defining ATT
4.4.3
Comparing ATE and ATT
4.4.4
Counterfactual Model
4.5
Framework and Assumptions
4.6
Caveats and Difficulties
4.7
Case Studies
4.7.1
Labor Market Experiment
4.7.2
Corruption in Indonesia
5
Instrumental Variables
5.1
Framework and Assumptions
5.1.1
Question 2
5.1.2
Question 3
5.2
Section 2: Applied Problems
5.2.1
Question 1 (IV Regression with Simulated Data)
5.2.2
Question 2 (Colonial Origins of Comparative Development, AJR)
6
Regression Discontinuity Design
7
Difference-in-Differences
Couscous: A Causal Inference Cookbook in R
2
Statistical Foundations
P-Values {#sfoundations}
Hypothesis Testing {#sfoundations}