Blog Archives

How odd was the UEFA draw?

December 31, 2012
By

I've been away for some time without closely following the media, and without significant internet access. When such a period is over it takes some time to regain momentum. Thus my short exit poll series will be continued in 2013. For now I'm still sor...

Read more »

Washington Gave Thanks To R:

November 22, 2012
By
Washington Gave Thanks To R:

The folks over at is.R() brought along an "adorable Turkey". I guess we'll thank them for their gift - and pardon the Turkey. Personally I thank them for a bucket of hints and tricks I freely used and will continue to do so.Tal brought us a great ...

Read more »

Get the exit polls from CNN using R and Python

November 17, 2012
By

Yesterday I posted an example of plotting 2012 U.S. presidential exit poll results using ggplot2. There I took for granted that a data.frame containing all we need resides in a file called "PresExitPolls2012.Rdata". Today I want to show how I scraped t...

Read more »

Exit PEBOS – Enter exit polls

November 16, 2012
By
Exit PEBOS – Enter exit polls

PEBOS is over. Time to look at the details of the Election. The final results are not yet in, but the exit polls are there, and up for grabs. Just to get warm: here's a tiny example.Obviously Romney had an age problem. But for now I don't want to specu...

Read more »

Another crosshairs

November 8, 2012
By
Another crosshairs

C. DeSante over at is.R() has PEBOS as well, but turned it into a great explanation of the way predictions like Nate Silver's work.For a while the 538 team had PEBOS as well: "The FiveThirtyEight team is still recuperating, but the election provided a fresh supply...

Read more »

PEBOS (Post Election Burn Out Syndrome)

November 8, 2012
By
PEBOS (Post Election Burn Out Syndrome)

I guess that all those that tried to follow the presidential election as closely as possible are more than just a little bit exhausted mentally. I call this PEBOS - Post Election Burn Out Syndrome.Among us some concentrated on the horserace aspect of t...

Read more »

PrettyR R

November 1, 2012
By

When it comes to R blogging I'm a complete newbie. So I'm still struggling with the technical details.Part of the process is prettifying the code snippets. One of the standard ways of doing this involves copy-and-paste-ing the R code into the Pretty R ...

Read more »

Replicating Krugman (Pt. 1)

October 27, 2012
By

I'm a regular reader of Paul Krugman's NYT blog. A couple of months ago I decided to replicate some of the plots Paul published. At the time I was evaluating the quantmod package which seemed to made things easy. An easy startIn the first part I'll rep...

Read more »

.Rhistory

October 27, 2012
By

Over the last couple of years I've been using R every now and then. When I stumbled upon an interesting topic, and I managed to get a hold of a data set, I tried to make sense of it using R.It's a bit like the Stat Labs approach: I might get started by...

Read more »