Posts

On Friday, I gave a presentation on Morgan Kelly’s “The standard errors of persistence” a summary of which is …

1. Introduction Recently, a friend asked me how to fit a two-way fixed effects model in R. A fixed effects model is a regression model …

R is great for running quick simulations. Using a running example of college football recruit rankings, I show how we can leverage the …

A common programming assignment when learning regression is to calculate OLS estimators by hand. In this post, I show exactly how to …

Introduction There are lots of benefits to learning a computer language, even if only learning enough to make yourself dangerous to …

Randomization Inference is a non-parametric method for calculating p-values for hypothesis tests. This post provides a simple example …

Introduction Suppose you are a concerned citizen who would like to know how voters in a state voted. Perhaps you are a voter in a state …