Site icon R-bloggers

A prediction for the Olympic men’s 100m sprint

[This article was first published on Revolutions, 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.

R user Markus Gesmann used the gold-winning times from the Olympic Men's 100m sprint since 1990 as the basis of the following prediction for the London Games:


My simple log-linear model forecasts a winning time of 9.68 seconds, which is 1/100 of a second faster than Usain Bolt's winning time in Beijing in 2008, but still 1/10 of a second slower than his 2009 World Record (9.58s) in Berlin.

Markus used the readHTMLtable to scrape the data from the web into R, and the lm function to fit a regression model and make the prediction (the red line above). (The R code is provided at Markus's blog.) He admits the model is overly simplistic: it doesn't use data from non-Olympic competitions, and a model like this implies that 100m sprint times will skrink indefinitely. But you can see how well this prediction pans out this Saturday, in the men's 100m final.

mages' blog: London Olympics and a prediction for the 100m final

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

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.