May 24, 2013

THT Essentials:
Fangraphs Player Search:


And here's the full roster.

Now available


You can now purchase the Hardball Times Baseball Annual 2013, with 300 pages of great content. It's also available on Amazon and Kindle. Read more about it here.

THT's latest e-book


Third Base: The Crossroads is THT's new e-book, available for $3.99 from the Kindle store. The good news is that anyone can read a Kindle book, even on a PC. So enjoy the best from THT in a new format.

Most Recent Comments





Get your very own THT merchandise from our CafePress store. We've got baseball caps, t-shirts, coffee mugs and even wall clocks with the classy THT logo prominently displayed. Also, check out the THT Bookstore. Please support your favorite baseball site by purchasing something today.



Or you can search by:


Creative Commons License
All content on this site (including text, graphs, and any other original works), unless otherwise noted, is licensed under a Creative Commons License.
Roll mouse over date for entries
THT Live Calendar
May 2013
S M T W T F S



1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Friday, June 11, 2010

Is Bill James’ temperature a leading indicator?

Posted by Dave Studeman
Warning: nerd post. I'm actually playing with baseball stats instead of watching a game because my son is playing Call of Duty on the TV.

At Bill James Online (subscription site), Bill keeps track of each team's "temperature." The idea is to literally measure how "hot" or "cold" each team is. The system is calculated so that an average team has a room temperature of 72 degrees. The specific math is simple:

1. Each team's temperature at the start of the season is 72 degrees
2. After each game, multiply the team's pre-game temperature by .8958334
3. If they won the game, add 15 degrees

This system reminds me of Win Shares. I have no idea how he came up with the math (seven digits for the multiplier? Really?), but it seems to "work" in its own way. Essentially, the multiplier acts to "regress" the team's record because 90% of a 120 degree temperature is a lot more than 90% of a 40 degree temperature.

Let's look at the temperature in action. Here is a graph of the Braves' record this season (the blue line showing games above/below .500) and their temperature (the red dotted line):

image

I purposely set the scale so that a .500 record is roughly on the same level as 72 degrees. On June 3, the Braves reached a higher temperature (122 degrees) than any other team this year.

The cool thing is that the Braves' temperature has seemingly been a leading indicator of their record. When the red line has been above the blue, the blue line has risen. When it's fallen below, their record has fallen.

Having said that, I don't actually believe the Bill James Temp consistently acts as a leading indicator. But it does make a cool graph.



Dave was called a "national treasure" by Rob Neyer. Seriously. Comments about this article can be sent to him through the miracle of e-mail.


Comments

Tree said...

It’s a little hard to tell, but it looks like you plotted the temperature after the game, when you should look at it before the game. (Temperature is peaking at the same time as their winning percentage; it should peak the day after, since it doesn’t come down until they actually lose.)

Posted 06/11  at  05:09 PM
Dave Studeman said...

You’re right that the post-game temperature is posted on the same day as the game.  Doesn’t materially change the result.

Posted 06/11  at  05:20 PM
RMR said...

I’m not sure your interpretation is accurate.  Notice how the peaks align?  If this was truly a leading indicator, the temperature peaks would occur before the win% peaks.  Rather, we’re just seeing that the temperature scale has greater variation. 

But since both are the result of the same good/bad performances on the field, it’s an issue of spurious correlation.  Changes in temperature are not occurring before the changes in win %, but rather simultaneously.

Posted 06/11  at  06:10 PM
Tom M. Tango said...

I also don’t know that you’ve really matched the two scales.  If you change the range of the righthand scale by adding 20 or 30 extra degrees to both ends, thereby compressing that scale, you’ll probably be almost identical in the two lines.  Try it out.

Posted 06/11  at  06:30 PM
Tom M. Tango said...

By the way, 1 - 15/72/2 =
0.8958333

James is using:
0.8958334

Had he used 14 and 70, the multiplier would have been 0.90.

Posted 06/11  at  06:34 PM
obsessivegiantscompulsive said...

RMR, the point, I believe, is that when the temperature is higher than the blue line, the team is headed upward in terms of future performance.

It also appears to be acting like how stock market technical analysts like to use moving average lines to signal changes in momentum.  If the Braves record was a “stock”, “buying” when the temperature goes above the team record and selling when it goes below, the crossover would have “capture” more of the “stock” rise and fall.

Not good as a signal though, see how it went above and below a lot early on, no usable signal really.

I have to agree that it appears to be spurious correlation.

Posted 06/11  at  06:37 PM
Tom M. Tango said...

Notice what happens for the most part: before each game, you take out 10% of the temperature, say going from 70 to 63 (i.e., minus 7), and if you win, you add 14 degrees (using my simpler scale), or plus 7 from the 70.

So, he’s adding +7 for a win, and -7 for a loss.

However, if it’s a team that already has alot of wins, say a 120 temp, they get minus 12 on a loss and +2 on a win.  If they are cold, say 20 degrees, they get minus 2 on a loss and plus 12 on a win.

Basically, a team that is really hot will basically max out to a certain temperature and stay there, and a cold team will bottom out.  And doing the opposite will quickly move them toward the center.

I really don’t see much there.

Posted 06/11  at  06:42 PM
John K said...

I feel it’s important to point out that you made the increasingly common and annoying mistake of using the word “literally” prior to a figurative expression.

Posted 06/11  at  07:18 PM
Dave Studeman said...

Tough crowd.  I’ll just point out my last sentence, the conclusion of the article: Having said that, I don’t actually believe the Bill James Temp consistently acts as a leading indicator. But it does make a cool graph.

Posted 06/12  at  07:19 AM
Dave Studeman said...

I feel it’s important to point out that you made the increasingly common and annoying mistake of using the word “literally” prior to a figurative expression.

Yes, that was the idea.

Posted 06/12  at  07:54 AM
Project_Zero said...

The temperature setup was well thought out. if the set “room temperature” was 72 degrees, the lower limit is 0 degrees, and the upper limit is 144 degrees under this system, so that 72 falls right in the middle. Not coincidentally, what is 144 x 0.8958334? 129. (Just about) Add 15 degrees to that, and you get the upper limit of 144. It’s quite simple.

There is no one formula to extrapolate the temperatures long term only given the win-loss numbers, since the temperatures are largely streak-dependent.

“when the temperature is higher than the blue line, the team is headed upward in terms of future performance.”

I’m not so sure, since the scale between games +/- .500 and “temperature” are bound to vary with the chance of extremes playing into this. Also, while the temperatures can vary from 0 to 144 degrees, the number of games +/- .500 theoretically could vary by +/- 81; the former is more likely to occur.

Posted 06/14  at  03:12 AM
studes said...

People are taking this more seriously than I intended. When I say that the team goes up when the red line is higher, I’m only referring to this graph.  As I said at the end, I don’t think the Bill James temperature is really a leading indicator.  It was just a cool graph.

I’m positive, by the way, that Bill wouldn’t advocate using the temperature this way.

Posted 06/14  at  11:28 AM
Page 1 of 1

Leave a comment:

Commenting is not available in this weblog entry.