Monthly Archives: July 2010

Charting the World Cup

July 12, 2010
By
Charting the World Cup

Now that Spain has won the World Cup, it's interesting to go back and look at some metrics from the matches and see if we can tease out what characteristics made for a winning Cup team this time around. Fortunately, the Guardian's Data Blog has made a wealth of World Cup statistics available, with data on every player of...

Read more »

Example 8.2: Digits of Pi, redux

July 12, 2010
By
Example 8.2: Digits of Pi, redux

In example 8.1, we considered some simple tests for the randomness of the digits of Pi. Here we develop a different test and implement it. If each digit appears in each place with equal and independent probability, then the places between recurrences...

Read more »

Launch R document from Smultron / Fraise

July 12, 2010
By

A short code to launch R documents from Smultron / Fraise

Read more »

A robust Hotelling test…

July 12, 2010
By

Recently I was in need of testing a mean vector. I wrote a few lines of code in R and had it done perfectly. Hotelling test is one of the least interesting test to me. never really figured out why… At that time I had some time to search more about it. One of the ...read more

Read more »

World Cup 2010 Statistics Plotted with R

July 11, 2010
By
World Cup 2010 Statistics Plotted with R

Opta  agreed to let the UK Guardian Data Blog publish 2010 World Cup Team and Player statistics.  The data is available in a Google Docs spreadsheet.  There are two tabs on this spreadsheet - one is PLAYERS the other is TEAM st...

Read more »

using R + ess-remote with screen in emacs

July 11, 2010
By

Dear list, I brought up this issue before but a good solution never arised: being able to use screen on a remote server (so if something goes wrong on my side I can always resume that R session) inside of emacs in order to utilize ESS. The closest thing I found to a good work

Read more »

Area Plots with Intensity Coloring ~ el nino SST anomalies w/ ggplot2

July 10, 2010
By
Area Plots with Intensity Coloring ~ el nino SST anomalies w/ ggplot2

I see many economy indicator graphs that show emphasis by shading in the curve under the area (while x-axis is time). The shade is stronger at higher values (example). I did this in R below (ggplot2). This was a little more difficult that I’d expected. The color gradients are good to color each individual points

Read more »

CoRe in CiRM [3]

July 10, 2010
By
CoRe in CiRM [3]

Still drudging along preparing the new edition of Bayesian Core. I am almost done with the normal chapter, where I also changed the Monte Carlo section to include specific tools (bridge) for evidence/Bayes factor approximation. Jean-Michel has now moved to the new hierarchical model chapter and analysed longitudinal  datasets that will constitute the core of

Read more »

World Government Data Store API (R and Ruby)

July 10, 2010
By
World Government Data Store API (R and Ruby)

The UK Guardian Data Blog has great visualizations on the topics of the day - along with with specific references to data sets and online resources in use.  You can find out more about the origins and plans of this and related data sites in t...

Read more »

Rcpp 0.8.4

July 10, 2010
By
Rcpp 0.8.4

Dirk uploaded Rcpp 0.8.4 to CRAN yesterday. This release quickly follows the release of Rcpp 0.8.3, because there was some building problems (particularly on the ppc arch on OSX).Rcpp sugarAlready available in Rcpp 0.8.3, the new sugar feature was extended in 0.8.4 to cover...

Read more »