Posts Tagged ‘ football ’

How to Convert Rugby into Football/Soccer Scores

June 26, 2012
By
How to Convert Rugby into Football/Soccer Scores

Following the Irish rugby team’s humiliating 60-0 defeat to New Zealand, an interesting question was posed on Twitter: what does a 60-0 result convert to in football/soccer? Intrigued, I decided to gather some data from both the English premier league (this season, more data collected and future blog posts to come!) and the equivalent English

Read more »

Euro 2012: Day 18

June 25, 2012
By
Euro 2012: Day 18

As promised. Looks like a Spain Germany final.

Read more »

Euro 2012: End of Group Stage

June 20, 2012
By
Euro 2012: End of Group Stage

Time for an update of the plots. Here are the teams still left in the competition. This is the group stratification. Finally, the busy plot.

Read more »

Euro2012 Viz: Second Group Games

June 16, 2012
By
Euro2012 Viz: Second Group Games

The second round of group games ended last night (sadly with Sweden’s elimination). Here is what the last number of days has done to the plots.

Read more »

Visualizing Euro 2012: First Group Games

June 12, 2012
By
Visualizing Euro 2012: First Group Games

Now that every team has played a match it will be interesting to see how this has affected the (inverse) odds of victory. Since the plot in my last post was a bit ‘busy’, I have decided to use the facet_wrap function in gglplot2 to stratify by group. Also, re-producing the ‘busy’ plot from the

Read more »

Simulating Euro 2012

June 11, 2012
By
Simulating Euro 2012

Why settle for just one realisation of this year’s UEFA Euro when you can let the tournament play out 10,000 times in silico? Since I already had some code lying around from my submission to the Kaggle hosted 2010 Take on the Quants challenge, I figured I’d recycle it for the Euro this year. The

Read more »

Visualizing Euro 2012 with ggplot2

June 9, 2012
By
Visualizing Euro 2012 with ggplot2

After scanning this paper by Zeileis, Leitner & Hornik, I thought it would be interesting to see how the victory odds for each team changes as Euro 2012 progresses. To do this, I am going to collect the daily inverse odds of a tournament victory offered by a popular betting site for each team. Here

Read more »

ESPN Prediction Performance for the NFL

January 25, 2012
By
ESPN Prediction Performance for the NFL

Description:ESPN 'experts' predict the National Football League wins/losses each week.  The above chart shows the percentage of their correct guesses and an overall trend, week by week.Data:http://espn.go.com/nfl/picksAnalysis:The graph shows an i...

Read more »

Programming with R – Processing Football League Data Part II

December 3, 2010
By

Following on from the previous post about creating a football result processing function for data from the football-data.co.uk website we will add code to the function to generate a league table based on the results to date. To create the league table we need to count various things such as the number of games played, number

Read more »

Programming with R – Processing Football League Data Part I

November 23, 2010
By

In this post we will make use of football results data from the football-data.co.uk website to demonstrate creating functions in R to automate a series of standard operations that would be required for results data from various leagues and divisions. The first step is to consider what control options should be available as part of the

Read more »