iMarc | Interactive Media Architects
  • Portfolio
  • Process
  • About
  • Communiqué
  • Contact
  • Support
  • Search

Pythagorean Wins for Major League Baseball

by Dave Tufts - May 23, 2006 / 11:28pm View more articles

It's May in New England, and that means three things:
  1. flowers are blooming
  2. lawns are turning green
  3. the Red Sox have a decent lead over the Yankees

As with every spring, the Sox appear to be unstoppable. By the end of July, however, all will change in quaint New England. It will be wicked hot. Everybody's lawns, gardens, and flower beds will start dying or turning yellow. And the Sox will see their springtime lead disappear as the Yankees burn it up, like a newborn left out on a sunny Cape Cod beach.

Am I just another pessimistic Bostonian? Possibly. But, I also just compiled the Pythagorean win numbers for all MLB teams. As I pointed out last fall, for the NFL, Pythagorean wins represent the number of wins a team should have won at this point in the season. The Pythagorean win estimate is based on (1) the number of games they've played; (2) the number points they've scored; and (3) the number of points they've given up.

View Pythagorean Wins for Major League Baseball

I just updated the script to include both NFL and MLB. The NFL data is screen scraped from Yahoo!. Yahoo is easy to scrape data from because they use clean, simple HTML. Unfortunately, I couldn't find runs scored and runs allowed on Yahoo's MLB standings page, so I scrape the MLB data from ESPN

Another difference between the NFL and MLB is the factor. In the most basic terms, the pythagorean formula for all sports, looks like this:

Pythagorean Win Formula

According to Bill James and Baseball Prospectus the correct factor for baseball, instead of squaring points scored and points against, you should raise the numbers by a factor of 1.82. For the NFL, I use a factor of 2.37

Please download the PHP script to see the source. It also comes will a simple class to cache the screen scraped data for a period of time

Hopefully the Sox won't repeat every other year not called 2004. But as of May 23rd, the Sox pythagorean win ranking is 14th, while the Yankees are 5th.

Check the rankings throughout the season and see how it unfolds

More Articles Get the RSS Feed Post A Comment

1 Comment

by Dave Tufts   #
on May 25, 2006 / 8:50am
*UPDATE*
Fred recently pointed out that both ESPN and MLB.com now show Pytagoreans on their baseball standings pages.

ESPN calls it "ExWL", for Expected Win-Loss record, and it's available on their Expanded MLB Standings page.

Major League Baseball's standings page also offers the pythagorean record as "X W-L", for expected win-loss.

Comments have been turned off on this blog.
Read something more recent.

Statements and opinions expressed in this blog and any comments made are the private opinions of the respective poster, and, as such, iMarc LLC is neither responsible nor liable for such content.

iMarc

iMarc is a web development company in Newburyport, MA. This is our blog.
View all blogs or learn more about iMarc.

About the Author

Dave's Head Dave Tufts, Vice President of Technology
I help people build websites.
I have two daughters.
I'd rather be gardening.
More blogs by Dave

Search Our Blog

Recent Communiqués

  • Lunchroom Banter (Volume XVIII)
  • Building a Museum Website
  • iMarc is 11 years old today
  • Pre-holiday hijinks
  • Look and Feel
  • Gardening and Web Writing
  • Trusting Experts, Part 1
  • USC Trojans vs Oregon State Beavers
  • On My Days Off
  • Make your site 52.676% more cool
  • iMarc Grows (again)
  • Laying the subfloor
  • Inc. 5000
  • Say Hello to our new Sys Admin
  • "Not Invented Here" for a Triple Word Score

Popular Communiqués

  • Building a Museum Website
  • iMarc Grows (again)
  • iMarc is 11 years old today
  • Pre-holiday hijinks
  • Laying the subfloor
  • Lunchroom Banter (Volume XVIII)
  • Trusting Experts, Part 1
  • Look and Feel
  • Make your site 52.676% more cool
  • Inc. 5000

Recent Comments

  • Lunchroom Banter (Volume XVIII)

    By Patrick McPhail: What you'll notice is that in both scenarios I suffer.

  • iMarc is 11 years old today

    By soso: happy life day

  • iMarc is 11 years old today

    By Nick: When a company has a birthday, does that mean the CEO's had sex? …

  • iMarc is 11 years old today

    By Marino: Happy Birthday!

  • iMarc is 11 years old today

    By Josh Cole: Happy Birthday! Can't you use both your fingers and toes to count?

RSS

RSS Icon Learn about RSS and get the feed for our blog.

About iMarc

  • We build custom web sites
  • In-house strategy, design, programming, hosting
  • In business since 1997
  • We’re located in Newburyport, MA
  • Call us at (978) 462-8848

© 2008 iMarc LLC, Contact Us

Links

  • Home
  • Portfolio
  • Client Support
  • Log In
  • (icon)RSS

Meet the Team

Karin's Head Karin Klapak, Director, Business Development and Marketing

Business Development. Strategy. Branding. Marketing.

Learn More | Meet the Others