{'fraction_non_alphanumeric': 0.017350157728706624, 'fraction_numerical': 0.0, 'mean_word_length': 5.75, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Causal Inference Methods: Lessons from Applied Microeconomics

This paper discusses causal inference techniques for social scientists through the lens of applied microeconomics. We frame causal inference using the standard of the ideal experiment, emphasizing problems of omitted variable bias and reverse causality. We explore how laboratory and field experiments can succeed and fail to meet this ideal in practice. We then outline how different methods and the statistical assumptions behind them can lead to causal inference in non-experimental contexts. We explain when problems with omitted variables bias can and cannot be addressed using observed controls. We consider tools for studying natural experiments, including difference-in-differences, instrumental variables, and regression discontinuity techniques. Finally, we discuss additional concerns that may arise such as weighting, clustering, multiple inference, and external validity. We include Stata code for implementing each of these methods as well as a series of checklists for researchers detailing important robustness and design checks. Throughout, we emphasize the importance of understanding the context of a study and implementing analyses in a way that acknowledges strengths and limitations.