Alex Stephenson
Home
Posts
Research
CV
Code
Posts
Regression Tables for Lazy People
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 …
Last updated on
Aug 15, 2020
5 min read
R
Plotting Democracy over Time with R
Introduction Recently, I made some maps for a research article. I initially had some reticence, as it had been a long time since I …
Last updated on
Jul 25, 2020
5 min read
R
R Summer Workshop on Data Wrangling and Standard Errors
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 …
Last updated on
Jun 29, 2020
1 min read
The Standard Errors of Persistence Slides
On Friday, I gave a presentation on Morgan Kelly’s “The standard errors of persistence” a summary of which is …
Last updated on
Apr 5, 2020
1 min read
Two Ways to fit Two-Way Fixed Effects in R
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 …
Last updated on
Mar 27, 2020
2 min read
R
Simulating Football Recruiting Evaluations with R
R is great for running quick simulations. Using a running example of college football recruit rankings, I show how we can leverage the …
Last updated on
Jun 24, 2019
5 min read
R
OLS Estimation by "Hand" in R
A common programming assignment when learning regression is to calculate OLS estimators by hand. In this post, I show exactly how to …
Last updated on
Jun 20, 2019
8 min read
R
Learning R: Dealing Playcards
Introduction There are lots of benefits to learning a computer language, even if only learning enough to make yourself dangerous to …
Last updated on
Jun 2, 2019
6 min read
R
Randomization Inference: A Simple Example
Randomization Inference is a non-parametric method for calculating p-values for hypothesis tests. This post provides a simple example …
Last updated on
Jun 2, 2019
3 min read
R
Using pdftools to Extract Vote Data
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 …
Last updated on
Jun 2, 2019
4 min read
R
«
Cite
×