Skip to toolbar
Visualizing Collapse in Collisions

Visualizing Collapse in Collisions

A polished Tableau viz showing the collapse in traffic collisions during stay-at-home orders. You can download the Tableau workbook here, read the accompanying article on Medium.com here, code and data here. You can download the Tableau workbook here, accompanying...
Good Business Books

Good Business Books

I have been a platinum member of Audible.com for the last decade or so. This means that for $240 I get 24 audio books per year. I listen to them when I run, mow the lawn, and on long drives. The average audiobook is about 9 hours, so an hour-long run, four or five...
Replicating a FiveThirtyEight chart in Tableau

Replicating a FiveThirtyEight chart in Tableau

Showing cabinet departures for recent presidents was one of 56 “best and weirdest” charts of FiveThirtyEight in 2019. I asked my students to replicate the chart in Tableau. See if you can tell which of the above images is the FiveThirtyEight chart, and...

Sample data manipulation in R

In 2007, I published the  Sample Annotated Paper in Econometrics in the Journal of Economic Education (JEE). That paper illustrated the structure of an econometrics paper: sections, presentation of descriptive statistics, results etc. Recently, a couple of colleagues...

Why isn’t out-of-time validation more ubiquitous?

Train, validate and test partitions for out-of-time performance take planning and thought (This piece is also at TDS.) The purpose of supervised machine learning is to classify unlabeled data. We want algorithms to tell us whether a borrower will default, a customer...

Building an interactive web “mapp” with Shiny

The purpose of this post is to discuss the key elements in developing an interactive web application that displays data with geographic component. I discuss developing an app using Shiny – a powerful R package. I briefly compare that process to building a...

What drives the length of whiskers in a box plot?

Let’s consider a small data set with 12 observations sorted from lowest to highest: (1,1,4),(4,5,8),(8,9,10),(10,12,13).  I grouped the observations into four equal groups so that we can easily spot the quartiles. (I purposefully made the numbers at the border...

Programming Empirical Analysis from Beginning to End

I created a project that illustrates the use programming code to perform empirical analysis from beginning to end: from database retrieval, through cleaning, manipulating and analyzing the data, to compiling the write-up and display of the results. It consists of...