R Econometrics & Causal Inference
Generates rigorous R code for causal inference and econometric analysis including IV, DiD, and RDD models.
This skill empowers economists and social scientists to conduct sophisticated empirical research by automating the generation of publication-ready R code. It specializes in modern econometric methods such as Instrumental Variables (IV), Difference-in-Differences (DiD), and Regression Discontinuity Design (RDD) using the high-performance 'fixest' package. By integrating best practices for diagnostics—such as first-stage F-statistics and event study visualizations—it ensures that users can implement robust, reproducible, and mathematically sound research designs quickly.
Key Features
01Automated generation of publication-ready regression tables and LaTeX output
02Proper implementation of robust and clustered standard errors
03Support for IV, DiD, and RDD research designs
041,853 GitHub stars
05Built-in diagnostic tests for weak instruments and parallel trends
06High-performance panel data estimation using the 'fixest' package
Use Cases
01Conducting instrumental variable analysis to address endogeneity and selection bias
02Estimating treatment effects in panel data with state and year fixed effects
03Generating event study plots to validate parallel trend assumptions in DiD designs