chyun·Apr 14Introduction to doubleml and causalml: Machine Learning Meets Causal InferenceIf you’ve followed my previous posts on Difference-in-Differences, RDD, and placebo tests, you already know that getting causal inference…
chyun·Feb 19What is Synthetic Difference-in-Differences?If you’ve ever run a difference-in-differences (DID) and then stared at a pre-trend plot thinking “uh… that’s not parallel,” you’re not…
chyun·Feb 7Selection Bias and the Limits of What We Can IdentifyEmpirical research often looks more convincing than it actually is.
chyun·Dec 27, 2025Parallel Trends in Difference-in-Differences: What You Can’t Prove and What You Can ShowParallel trend is the one thing everyone “checks” in difference-in-differences, but almost nobody can prove.
chyun·Dec 21, 2025Regression Discontinuity Design (RDD) as a Credible Causal Inference ToolIt is not easy to achieve causal inference in empirical research. Most policy changes are not randomly assigned, and simple comparisons are…
chyun·Dec 21, 2025What Is “Stacked” Difference-in-Differences (and Why Should You Care)?Difference-in-differences (DID) is one of the most widely used tools in empirical research for causal inference. If you have panel data and…
chyun·Nov 14, 2025How to Draw a Waffle Chart in Python (A Simple and Beautiful Visualization Trick)Most people think of bar charts and pie charts when they want to show proportions. But there is another chart that is cleaner, more visual…
chyun·Nov 7, 20255 Hidden Pandas Features That Will Save You HoursIf you spend a lot of time working with data in Python, you probably use pandas every day. It is one of the most powerful tools for data…
chyun·Nov 7, 2025📈Bring Your Data to Life: How to Create Animated Visualizations in Python with PlotlyData is not just about numbers and charts. It is about stories. Stories of growth, progress, and change that happen over time.