Because it’s Friday: Spurious correlation edition
[This article was first published on Modern Toolmaking, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
If the Flight of the Concords taught me anything, it’s that you can’t trust Australians. This morning I was poking around the DataMarket site, when I noticed something suspicious about Australian sheep production:Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I decided to investigate further: just what are the Australians doing with all those poor sheep? How might this nefarious plot impact the rest of the world? I was shocked when I noticed an apparent relationship with Global Warming:
Hot on the trail of something big, I pulled both datasets into R, using the rdatamarket package, and ran a quick correlation, which confirmed my worst suspicions:
The Great Australian Sheep Decline is clearly the cause of Global Warming! To quantify this effect, I built a simple linear model, which proved to be highly signifigant:
For every 100 Million Sheep that disappear from Australia, the Earth warms by 0.71 degrees C! Given that there are still 85 million sheep left in Australia, the potential for further warming is gigantic!
=========================================================================================
In all seriousness, Australian sheep have about as much to do with Global Warming as pirates. Sheep numbers have been declining in New Zealand, Urugay, Iceland, and many other countries as well. If you wish to explore other spurious correlations, here’s the R code I used for this post:
To leave a comment for the author, please follow the link and comment on their blog: Modern Toolmaking.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.