Beyond the Box Score: An SB Nation Community

Navigation: Jump to content areas:



Sports blogs for fans, by fans.
Around SBN: Steve McNair Found Shot to Death


Love Letter

An update to my previous post regarding season length and Pythagorean records:

I received several inquiries (zero) as to how I performed the integration discussed in my last post.  I coded a very rough numerical integration routine to perform the integrations.  I chose this route because it was the quickest and easiest way to generate results.  The problem with the numerical integration is that you, dear reader, cannot fiddle with different situations that interest you.  An analytic solution for the integral can be obtained, however, and I now present to you the result:

Star-divide

where P(y>x) is the probability that a team with Pythagorean winning percentage y_bar will match or outperform a team with Pythagorean winning percentage x_bar over N games (x_bar should be greater than y_bar).  Many of you may not be familiar with the function erfc.  erfc is the "complementary error function," a tabulated function that appears often in statistics and engineering.  If you want to know the value of erfc, you will need either a table (available online) or software such as Excel that can calculate the error function.  [Aside: syntax for usage in Excel is "=erfc(arg)", where arg is the argument of the complementary error function.]  Recall the limitations of this analysis from last time: the teams play independent games and runs scored and runs allowed are roughly independent.

Anyway, the point of all this mathematics is to allow you to play around with different scenarios.  Say you want to know how often a .600 Pythagorean team is outplayed by a .400 Pythagorean team over a 30-game stretch.  Just use the formula as prescribed:

Voila!  The probability that a .600  team is outplayed by a .400 team over a 30-game stretch is 6.1%.  Not likely, but not as uncommon as I might have guessed.

Finally, I'd like to point out that the analytic integration was not performed by yours truly - I'm not nearly clever enough.  My fiancee is a very talented physicist whose mathematical skill is unparalleled in our househould.  She has been enormously tolerant, often encouraging, and occasionally enthusiastic about my spending hours in front of the computer obsessing over baseball minutae.  For her to participate in my sabermetric hobby is above and beyond the call of wifely duty.  Lou Gehrig was wrong: it is I, not he, who is the luckiest man on the face of the earth.

0 recs | Comment 1 comment

Story-email Email Printer Print

Comments

Display:

Error.
Wanted to point out there is an error here.  There should be a factor of 0.5 in front of the equation: P(y>x) = 0.5*erfc(sqrt(N)*(x_bar - y_bar)).

In the example calculation, the answer would be 3.05% instead of 6.1%.

by salb918 on Apr 21, 2006 5:25 PM EDT reply reply actions actions   0 recs

Comments For This Post Are Closed


User Tools

We use numbers and stuff.
Community Guidelines
Start posting on Beyond the Box Score »

Join SB Nation and dive into communities focused on all your favorite teams.

FanPosts

Community blog posts and discussion.

Recent FanPosts

P1_iannetta_small
Matt Herges: The reason we look at peripherals
Small
SLG and Speed
Small
Interleague Attendance Nonsense
Limes_125_small
A Note About Becoming a BtB Author: Contributing to the Community Helps
Small
Is Adrian Beltre underrated...?
Limes_125_small
How Do You Like the New Daily Link Roundup Posts?
Stlouiscardinals_small
Depth Charts Help
Zorilla_small
How Do You Measure a Pitching Coach?
Limes_125_small
Looking For SQL & Tech Geek Help For Collaborative Projects
Small
When do MLBers get paid...?

Post_icon New FanPost All FanPosts Carrot-mini

FanShots

Quick hits of video, photos, quotes, chats, links and lists that you find around the web.

Recent FanShots

There's your human element.  Why, when the technology is readily available, are humans still calling balls and strikes?
Fire Jim Leyland: Fu-Te Ni Follow Up; Concern Over Big Three?
Rany Gets Banned By the Royals
Contract Retrospective: Vernon Wells' 7-year, $126 Million Contract
The Rockets are innovative
Flip Flop Fly Ball
Yanks Considered Trading Rivera For Wells In '95: MLB Rumors - MLBTradeRumors.com
Bullpen Usuage Charts for Last 5 days
MiLB Game of the Week
Drive Mechanics Looks at Chris Perez's Mechanics and Pitch F/X numbers

Post_icon New FanShot All FanShots Carrot-mini

Most Commented

Subscribe to BtB via Email

Enter your email address:

Delivered by FeedBurner

BtB Goes Social

BtB on Facebook

BtB_Sky on Twitter


Managers

Mos-def-the-ecstatic_small R.J. Anderson

Limes_125_small Sky Kalkman

Editors

Rawlings_baseball_bigger_small Dan Turkenkopf

Face_small Harry Pavlidis

770insig_small Jeff Zimmerman (TucsonRoyal)

Rickstache_small erik

Authors

Jinaz-reds-avatar_small JinAZ

Hms_surprise_small Graham

Wisc19cropped2_small jhmoore

Raysring1_small Tommy Rancel

E52205a2_small tbsmkdn

Official Partner of Yahoo! Sports