author: Koen Spoorenberg date: Sat Aug 13 10:28:32 2016 transition: zoom
This was built as part of a deliverable for the course Developing Data Products(Coursera Data Science). - The app demonstrates the 'Race time prediction' algoritm developed by Peter Riegel. An algoritm which predicts running times based on races over different distances. - There are more algoritms available(for example the VO2 max prediction/Cameron formula/Purdy formula). These algoritms are more difficult and do not seem to over a much better prediction. - The app developed for the first part of the assignment demo is avalilable at: https://kspoorenberg.shinyapps.io/Racetime_prediction_in_running/ - Source code for ui.R and server.R files are available on the GitHub:https://github.com/KoenSpoorenberg/RaceTimePrediction
In a 1977 article for Runner's World Magazine, Riegel proposed a simple formula for comparing relative performances at different distances. The formula is most commonly quoted as:
T2=T1×(D2÷D1)1.06
T1 is the time achieved for D1. T2 is the time predicted for D2. D1 is the distance over which the initial time is achieved. D2 is the distance for which the time is to be predicted.
The simplicity of the formula and its predictive accuracy has resulted in it being adopted widely by websites such as Runner's World. Some sites have modified it, stating that the value of 1.06 given for the exponent b in the formula results in seemingly unachievable predictions for longer distances.
Last week, Tom ran 3.5 miles in 51 minutes and 30 seconds (51.5 minutes). The week before, he ran 2.5 miles in 34 minutes and 45 seconds (34.75 minutes). He wants to predict his time to run a 5-mile race next week.
Using the Riegel formula on the first set of race results gives us T₂ = 51.5(5/3.5)1.06 = 75.163 minutes, or 1:15:9.77
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.