Posts

I recently used R for a moderately complicated scraping task, and found that using tools and techniques from the tidyverse made for a …

Recently, I found myself researching the latest developments on the topic of Synthetic Controls (SC) for one of the projects. I had the …

Let’s walk through some steps for web scraping with R. On this Wikipedia page there is a table of visa requirements that I want to …

If you’re new to Make, check out Mike Bostock’s article Why Use Make, it’s excellent! This post is intended as a …

A simulation for OLS model In an observational study, we need to assume we have the functional form to get causal effect estimated …

Interaction with two binary variables In a regression model with interaction term, people tend to pay attention to only the coefficient …

Marginal effects in a linear model Stata’s margins command has been a powerful tool for many economists. It can calculate predicted …

In empirical studies, data sets with a lot of zeros are often hard to model. There are various models to deal with it: zero-inflated …

This post is inspired by diffuse prior Lewbel’s 2012 paper proposed an estimator based on heteroscedasticity to address the problem of …