Blog Archives

T-Shirts … designed with R!

May 18, 2014
By
T-Shirts … designed with R!

On Friday, I saw David Smith's post on a competition to design this year's useR! conference t-shirt. The goal is to create a design generated using an R script, which will be featured on the back of the shirt. Having a bit of time this weekend,...

Read more »

Play 2048… using R!

April 19, 2014
By
Play 2048… using R!

I've lost about 100 hours over the past week to the black hole of 2048. In an attempt to extricate myself, I thought I'd try writing an R script to play for me. While there are already a ton of great algorithms for the game, I haven't...

Read more »

Rblogger Posting Patterns Analyzed with R

April 11, 2014
By
Rblogger Posting Patterns Analyzed with R

I've been a big fan of rbloggers for quite some time, but have only recently started contributing myself. After my first post yesterday, I immidiately started wondering how long most other bloggers go between posts. I decided to gather the list of past posts to rbloggers to investigate...

Read more »

Visualizing Twitter Followers Using Pointillism

April 10, 2014
By
Visualizing Twitter Followers Using Pointillism

A funny thing about social media in the 21st century is that it allows us to connect with a lot of people.. by a lot, I mean so many that it's easy to lose track of any sense of scale. Maybe others are better at this, but...

Read more »

College Basketball: Presence in the NBA over Time

November 7, 2013
By
College Basketball: Presence in the NBA over Time

Interested in practicing a bit of web-scraping, I decided to make use of a nice dataset provided by Databasebasketball.com in order to examine the representation of various college programs in the NBA/ABA over time. This dataset only includes retired players, and ends in 2010, so I decided to...

Read more »

Using R to find Obama’s most frequent twitter hashtags

November 4, 2013
By
Using R to find Obama’s most frequent twitter hashtags

I've been exploring Jeff Gentry's twitteR package, which has a ton of great functionality for intereacting with twitter data in R. Today, I thought a bit about a problem I've noticed several times on twitter: users profiles are often only noisy signals of the content they tweet about! I decided...

Read more »

Simulating Abstract Art with R

November 3, 2013
By
Simulating Abstract Art with R

Piet Mondrian Composition with Red, Blue, Black, Yellow, and Gray (1921): An example draw from my simulation function: We're in the midst of planning our spring course on Empirical Research Methods, and as a result, I've...

Read more »

Quarterback Wonderlic Scores by Institution (Academic) Strength

November 1, 2013
By
Quarterback Wonderlic Scores by Institution (Academic) Strength

## geom_smooth: method="auto" and size of largest group is <1000, so using## loess. Use 'method = x' to change the smoothing method. I remember my dad telling me that when he was at Northwestern in the mid-70s, the team...

Read more »

Simulation of an Oxford (Undergrad) Interview Question

October 31, 2013
By
Simulation of an Oxford (Undergrad) Interview Question

A friend of mine, who's an economics teacher in London, is responsible for preparing some of his students for interviews at Oxford and Cambridge. He told me that, at these schools, students have to go through a nerve-wracking...

Read more »

CrossFit weights: gender matters less than you’d think

April 17, 2013
By
CrossFit weights: gender matters less than you’d think

Exploring Gaussian Mixture Models Exploring Gaussian Mixture Models This week in the Empirical Research Methods course, we've been talking a lot about measurement error. The idea of having some latent variable of interest, coupled with 'flawed' measures reminded me of a section of Cosma's course I really enjoyed, but haven't gotten a change to go...

Read more »