Description Usage Arguments Details Value Note Author(s) References See Also Examples
Pythagorean expectation portrays what a team's winning percentage "should" be given it's runs scored and allowed.
1 | pyth(rs, ra, alpha = 2)
|
rs |
Runs Scored |
ra |
Runs Allowed |
alpha |
Exponent to use |
2 and 1.83 are the most common exponents used. 1.83 is the exponent baseball-reference uses in its calculations.
Returns a value equal to (rs^alpha)/(rs^alpha + ra^alpha)
Pythagorean expectation can be used in a multitude of sports like basketball and football
Peter Xenopoulos
http://www.fangraphs.com/library/principles/expected-wins-and-losses/ https://en.wikipedia.org/wiki/Pythagorean_expectation
log5
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.