-
Inefficient Cranberry Sauce Passing Riddler
In this post, I’ll walk through my solution to last week’s cranberry sauce passing problem from FiveThirtyEight’s “The Riddler.” In this problem, we’re asked to consider 20 guests sitting around a circular Thanksgiving table, who all want to receive a serving of cranberry sauce. These guests are somewhat lazy/careless, and whenever a guest receives the sauce, they will randomly pass the sauce to their left or right with equal probability. The guests continue in this fashion until everyone has been served. Under these conditions, we are asked:
- Assuming that the sauce begins in front of a pre-specified guest, which of the remaining guests has the greatest chance of receiving the sauce last?
-
HPI Chorus
Have you ever wondered what housing price indices would sound like if they were converted to music? Planet Money already answered that. But what if that music was worse? In this post, I’ll look at the result of converting state-level Housing Price Indices into music for each of the 50 states. Also, I’ll combine the HPI by region to get a sort of HPI chorus.
Tags: Sonification | Audio | D3 | Fred -
McFar Points
A few weeks back, a friend asked me if I was familiar with the concept of the “McFarthest Spot.” I wasn’t familiar with the idea, but a quick search informed me that it is the point in the continental United States where you are further away from a McDonald’s than at any other point. The concept seems to have first been considered by Stephen Von Worley as discussed in this post, and tends to randomly resurface on the internet from time to time, especially when the McFarthest Spot changes.
Tags: Animation | Geopandas -
Covid Commute
The global pandemic has severely reduced peoples’ mobility world-wide, as regional and national lock-downs and stay-at-home orders have gone into effect. In this post, I’ll animate the impact that covid-19 has had on my daily commute/movements using my Google Location History data. Because I’m lucky enough to have a job that enabled me to work from home, and because my employer was proactive in putting us on work-from-home, I haven’t really been moving around much since mid March. As a result, the animation will get pretty boring around that point. 🙂
Tags: Animation | Geopandas | Gps -
Groundhog Day T-Testing
While looking for some details on t-tests, I ran across this post from The Minitab Blog, which investigated Punxsutawney Phil’s powers of prognostication. The authors of that post tested whether there was a statistically significant difference in the average monthly temperature in the months immediately following Phil’s predictions when he saw his shadow vs when he didn’t. Detecting an increase in mean temperature when Phil saw doesn’t see his shadow would support Phil’s prognostication claims.
Tags: Groundhog-day | T-test | Replication-analysis