Beyond the Box Score: An SB Nation Community

Navigation: Jump to content areas:


Sports blogs for fans, by fans.
Around SBN: Cal RB Jahvid Best Seriously Injured, Carted Off Field

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 actions   0 recs

Comments For This Post Are Closed


User Tools

We use numbers and stuff.
Community Guidelines
Why be a member?
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.

Recommended FanPosts

Small
PZR-based Win Values 2001-2006

Recent FanPosts

Small
The "30 parks on a budget" challenge
Sunflower_small
World Series Simulation, Game #6
Small
JT20 Dynasty League
E52205a2_small
New Look
Sth70021_small
Exploring Hit f/x, Albeit Badly
Redcap_small
Ricky Nolasco: 4 WAR or 1 WAR?
Redcap_small
Apparently I can't do park adjustments
Small
Which tells us more: The last 7 at bats or 7 at bats against this pitcher?
Sleepy_jeff_small
How Efficient and Effective Were the Rockies in 2009?

+ New FanPost All FanPosts >

FanShots

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

Recent FanShots

The Mistake Lottery
On the Field, the Yankees Are The Team of the Decade. Off It? The Red Sox.
Tigers' all-time WAR leaders
Primer on Runs Created
How to improve basketball
LB Keith Bulluck uses a sabermetric analogy to explain the Titans' quarterback situation.
Alcides Escobar "abandoned his daughter before she was born"
UZR, Scouting, and the Fans
Not-So-Lousy Lineup Optimizer, Playoff Edition: New York Yankees

+ New FanShot All FanShots >

BtB on Twitter

Main Feed: @BtBScore

Tommy B: @tommy_bennett
Sky: @BtB_Sky
Dan: @dturkenk
Harry: @harrypav
Jinaz: @jinazreds
Jack: @jh_moore
Erik: @Erik_Manning
Tommy R: @trancel
Justin: @justinbopp

Subscribe to BtB via Email

Enter your email address:

Delivered by FeedBurner

Most Commented

BtB Goes Social


Managers

Nando_small R.J. Anderson

Limes_125_small Sky Kalkman

E52205a2_small Tommy Bennett

Editors

Face_small Harry Pavlidis

Rawlings_baseball_bigger_small Dan Turkenkopf

770insig_small Jeff Zimmerman (TucsonRoyal)

Aviles_small Justin Bopp

Authors

Banny_small erik

Raysring1_small Tommy Rancel

Jinaz-reds-avatar_small JinAZ

Jmlogo_small Jack Moore

1753738656_110919ebe9_o_small vivaelpujols

1_small Graham

Baseball_small Mike Rogers

Redcap_small SFiercex4

Small Patrick Clark

Walter_album_small Walter Fulbright