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 baseballreference 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/expectedwinsandlosses/ https://en.wikipedia.org/wiki/Pythagorean_expectation
log5
1 2 3 4 5 6 7 8 9 10 11 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.