Programming

This page exists primarily so alumni of my econometrics courses can access some of the materials once the course website vanishes.

Cheat sheets are attached below. For remaining questions, helpful sites include UCLA, Statalist, and Stack Overflow.

User-written Stata commands I like:
  • reghdfe /*quickly estimates models with many dummy variables*/
  • binscatter /*great way to visualize model*/
  • esttab/estout /*table output*/
User-written R packages I like:
  • library(zoo) # allows more types of dates (e.g. year-month) 
  • library(dplyr) # data wrangling 
  • library(tidyr) # data wrangling 
  • library(readr) # smart file import 
  • library(stargazer) # Latex/HTML/text tables; by far the best package for table output 
  • library(ggplot2) # nice graphs 
  • library(multiwayvcov) # clustered standard errors
Ċ
Matthew Gibson,
Aug 14, 2017, 8:46 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:46 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:46 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:46 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:46 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:48 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:48 AM
Ċ
Matthew Gibson,
Aug 14, 2017, 8:48 AM
Comments