Recent Publications

Police use of force bears on central matters of political science, including equality of citizen treatment by government. In light of …

Courses

September 16, 2019 Finishing up Chapter 3 of R4DS Short review: options for visualization in ggplot2: color, fill, shape, size, …

Installation Install R software from CRAN Install RStudio Andrew Heiss has on his blog install instructions for both Windows and OS …

Recent Posts

We’ll follow along with the example used in Chapter 3 of Mostly Harmless. You can download the 1980 census from …

Using birthweight data from the MASS library we will work through evaluating different modeling specifications: library(MASS) # birthwt …

Nonparametric Regression Given the usual conditional expectation function \[E[y_i | \mathbf{x_i} = \mathbf{x}] = m(x)\] we can estimate …

Matrices in R! We can start by creating a 3X3 matrix and filling it with the numbers 1 to 9: A <- matrix(1:9, nrow = 3, ncol = 3, …