Posts

Intro When running a randomized control trial (RCT), there is often concern about non-compliance. Subjects may drop out of the …

What constitutes an exciting game? One possibility is by looking at the amount teams trade off leads. For example, in 2014 the Portland …

In the spirit of writing as note-taking, I wanted to share a neat little trick in R for running regressions. By far the most common …

Introduction Recently, I made some maps for a research article. I initially had some reticence, as it had been a long time since I …

Today I gave a workshop on common data manipulation tasks in R. I was fortunate to have a great audience of graduate students from the …

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 …