Skip to content
Doug Fenstermacher edited this page Apr 6, 2018 · 4 revisions

Models

##Submodules

Aerobic

Riegel(d1, t1)

A class for making predictions based on the Riegel model for predicting endurance performances between 3.5 minutes and 230 minutes. Riegel's analysis involved walking, running, and swimming.

The model can accept any unit for time (t1 & t2) and distance (d1 and d2), so long as the units are consistently used. For example, if t1 is specified in minutes, d2 is specified in km, and predictTime is called with d2 specified in km, then the return value will be in minutes because that is what was specified in t1.

Riegel, P. S. (August 1977). "Time Predicting". Runner's World Magazine. Riegel, Peter S. (May–June 1981). "Athletic Records and Human Endurance". American Scientist. 69: 285–290.

distance(t2)

Predict the distance traversed in a given period of time (t2) based on the time (t1) and distance (d2) used in the class constructor

time(d2)

Predict the time to travel a given distance (d2) based on the time (t1) and distance (d2) used in the class constructor

Cameron(d1, t1)

A class for making predictions based on the Cameron model for predicting endurance performances between 400m and 50 miles. The model is based on non-linear regression model from top times in the U.S. and in the world in 1998.

t1 is time given in seconds

Note: While distance values in the initial regression model were required to be in miles, this implementation takes meters(m) as the input unit for distance.

source

time(d2)

Predict the time to travel a given distance (d2) based on the time (t1) and distance (d2) used in the class constructor.

d2 is distance given in miles Returns time (t2) in seconds

VV(d1, t1)

A class for making predictions using the Vickers & Vertosick model for predicting endurance performances at the marathon distance in recreational runners. The Vickers & Vertosick model uses average weekly training mileage and previous race times to calculate a predicted time.

d1 is distance given in meters t1 is time given in seconds

time(mileage, d2=42195.0)

The single-race model for calculating a predicted time for a given distance. Defaults to the marathon if a distance is not provided.

mileage is average weekly mileage given in miles d2 is distance given in meters Returns time in seconds

time2(mileage, d2, t2, distance=42195.0)

The two-race model for calculating a predicted time for a given distance. Defaults to the marathon if a distance is not provided.

mileage is average weekly mileage given in miles As in the constructor, d2 (distance) is given in meters As in the constructor, t2 (time) is given in seconds Returns time in seconds

Vickers, Andrew J., and Emily A. Vertosick. "An Empirical Study of Race times in Recreational Endurance Runners." BMC Sports Science, Medicine and Rehabilitation 8.1 (2016): n. pag. NCBI. Web. 1 Dec. 2016. <https://www.ncbi.nlm.nih.gov/pubmed/27570626>.

Clone this wiki locally