Pythagorean expectation portrays what a team's winning percentage "should" be given it's runs scored and allowed.
pyth(rs, ra, alpha = 2)
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
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.