Notice: Trying to get property 'display_name' of non-object in /var/www/html/wp-content/plugins/wordpress-seo/src/generators/schema/article.php on line 52
keyboard_arrow_uptop

After the last two postseasons, most baseball fans are familiar with the strike zone location graphic known as PitchTrax. Here’s an example from Game One of the 2010 American League Championship Series:

This was the first pitch from Mariano Rivera to Mitch Moreland to open the ninth inning, with the Yankees holding a one-run lead. Home plate umpire Gerry Davis called this pitch ball one, but the PitchTrax system indicated it was a borderline strike. Who was right—the umpire or the machine?

The TBS PitchTrax and its cousin Fox Trax use data exported directly from Sportvision’s PITCHf/x system. PITCHf/x uses two cameras mounted in the stadium to track each pitch. The same detailed pitch trajectory tracking data from these systems that is displayed on MLB Gameday is used by television broadcasters for their pitch location displays.

Early in the life of the PITCHf/x project, the Sportvision engineers sought to establish the accuracy of the system’s plate location data. They devised a clever experiment wherein a pitching machine launched baseballs against a foam board mounted vertically at home plate. The plate locations measured by PITCHf/x were checked against the indentations of the ball on the foam board, and Sportvision found that the accuracy of their system was within a half inch in this experiment. In an investigation of the statistical uncertainty of a number of PITCHf/x-derived parameters, such as speed and location, based upon a much larger sample of data from the PITCHf/x system installed in Toronto, Alan Nathan came to a similar conclusion about the uncertainty in the plate location.

Sportvision’s foam board test and Alan’s calculations give us a good grasp on the random error inherent in PITCHf/x plate location measurements. It is good to keep this source of uncertainty in mind, but fortunately its magnitude is small. This is a testament to sound engineering work done by Sportvision. It is no mean feat, and it makes the data extremely valuable.

However, quantifying the random measurement error doesn’t guarantee that the data is free from systematic or persistent problems. On the day that Sportvision ran the foam board test, any persistent misalignment or bias in the system was less than a half inch. But that doesn’t prove that the systems stay that well calibrated and aligned throughout several years in the field and in all 30 major league stadiums.

Ike Hall was the first analyst to observe a problem with the plate location data. At the 2008 PITCHf/x Summit, Ike’s presentation on data quality included a slide that indicated that the PITCHf/x location of the called strike zone at Dolphin Stadium in 2007 was shifted 4-5 inches toward the third base side of the plate. Ike capably addressed the general difficulties inherent in attempting to identify problems with PITCHf/x data. He offered a philosophy of dealing with measurement uncertainty, as well as some suggestions for schemes for correcting the data and a critique of Josh Kalk’s correction scheme. (Josh’s published correction methods did not include plate locations.)

One of Ike’s ideas is foundational for my attempts to detect and quantify PITCHf/x measurement errors and, ultimately, to correct them. Ike proposed the “standard candle” approach from astronomy, where a star of known luminosity and distance is used as a reference to determine the distance to a new celestial object. The difficulty of calibrating PITCHf/x data is finding a standard candle that is trustworthy and unchanging, especially for outside analysts who are examining the data after the fact and without access to the PITCHf/x camera parameters.

What can serve as our standard for plate locations? The obvious candidate is that faithful and impartial arbiter—the umpire. If umpires called the same strike zone in each game and across every ballpark, we could use that strike zone as our reference point. We could even adjust for differences between the zones of individual umpires. However, two problems arise with this approach. One is that the number of called pitches in any given game is only half the total pitches, and the sample grows even smaller when only the close pitches that would be needed to establish the edge of the zone are considered. The other problem is that, as was recently outlined in this column, the approaches of the pitcher and batter have a significant effect on the size and location of the strike zone.

In fact, we can take advantage of our knowledge that the pitcher and batter have definite and persistent trends in pitch locations. Can either serve as our standard candle? It turns out that both would probably work, though pitchers are somewhat better.

We can compare the average pitch locations for individual batters from the 2007-8 seasons to the average pitch locations for those same batters in 2009-10 (restricting the pool to include only batters who saw at least 200 pitches in both samples). Similarly, we can compare average pitch locations for pitchers who threw at least 200 pitches to left-handed batters or 200 pitches to right-handed batters in both samples. It is important to separate the pitcher data by batter handedness, since nearly all pitchers locate very differently to left-handed and right-handed batters.

Pitchers have slightly higher year-to-year repeatability in their pitch locations, with a correlation coefficient between samples of r= 0.72 for pitches to left-handed batters and r=0.65 for pitches to right-handed batters. Batters have a correlation coefficient between samples of r=0.65 for left-handed batters and r=0.59 for right-handed batters. Pitchers tend to have better game-to-game repeatability, too.

Similarly, we can compare 2007-8 to 2009-10 average pitch location in the vertical dimension for batters and pitchers. The year-to-year repeatability for batter pitch location in the vertical dimension is lower than in the horizontal dimension, at r=0.50 for left-handed batters and r=0.49 for right-handed batters. For pitchers, the year-to-year repeatability is higher in the vertical dimension, at r=0.77 when facing left-handed batters and r=0.72 against right-handed batters. In fact, it turns out that splitting the pitcher sample by batter handedness is unimportant in the vertical dimension, with a correlation coefficient of r=0.77 when combined.

So, average pitch location to batters is repeatable enough to serve as a decent standard, but since the average pitch location by pitchers is better in both vertical and horizontal dimensions, we’ll use that.

By comparing each pitcher’s average pitch location in a given game to his average pitch location from 2007-2010, we can generate an estimate of the error in the PITCHf/x plate location measurement for that game. Each pitcher’s contribution is divided into two groups by batter handedness and weighted by the number of pitches thrown. The contribution from all the pitchers in a given game is then summed, and an average PITCHf/x plate location error estimate for that game is the result.

The estimated average measurement error by stadium and year is shown in the following table:

Average Horizontal Error (inches)

 

Average Vertical Error (inches)

Park

2007

2008

2009

2010

 

Park

2007

2008

2009

2010

ANA

-1.1

-0.1

-0.6

-0.1

 

ANA

-0.2

-0.5

-0.7

-0.8

ARI

-0.7

-0.1

0.6

0.6

 

ARI

0.4

-0.1

-0.1

-0.9

ATL

-1.5

-0.2

-0.9

0.3

 

ATL

0.2

-0.1

-0.4

-0.4

BAL

0.0

-0.2

-1.2

-1.0

 

BAL

0.0

0.0

-0.3

-0.3

BOS

1.6

0.9

1.0

0.5

 

BOS

-0.6

0.8

0.5

1.2

CHA

0.4

0.8

0.5

0.5

 

CHA

0.9

0.2

0.3

0.1

CHN

-1.3

0.5

0.4

0.1

 

CHN

-0.7

0.3

-1.0

-1.1

CIN

0.7

0.4

0.1

0.0

 

CIN

0.7

-0.2

-0.7

-0.3

CLE

-0.5

-0.1

-0.2

0.6

 

CLE

0.7

0.1

0.0

0.4

COL

-0.3

-0.1

-1.2

-0.3

 

COL

0.5

0.4

0.3

1.0

DET

0.3

-0.4

0.8

0.3

 

DET

-0.3

-0.6

0.0

-0.7

FLO

-2.3

0.6

0.0

0.1

 

FLO

0.6

0.0

-0.1

0.0

HOU

1.1

0.3

0.0

1.4

 

HOU

-0.2

-0.3

0.3

-0.4

KCA

0.1

-0.3

-0.5

-0.1

 

KCA

0.5

-0.6

-1.0

0.0

LAN

0.7

0.6

0.7

0.6

 

LAN

0.6

0.0

1.8

-0.6

MIL

-1.2

-1.3

-1.6

-1.5

 

MIL

0.1

0.0

-0.1

-0.8

MIN

1.4

0.1

-0.1

-0.1

 

MIN

2.3

0.4

1.0

-0.4

NYA

1.0

-0.5

-0.9

-1.3

 

NYA

1.1

0.1

-0.4

-0.8

NYN

0.0

0.2

-0.5

0.1

 

NYN

1.5

0.6

0.3

-0.4

OAK

-0.3

0.8

-1.0

-0.3

 

OAK

0.1

-0.3

-0.8

-0.7

PHI

0.2

-0.5

-0.4

-0.1

 

PHI

1.4

0.2

-0.3

-0.4

PIT

1.0

0.4

-0.3

0.0

 

PIT

1.2

-0.1

-0.2

-0.3

SDN

1.0

0.6

0.7

0.7

 

SDN

0.1

-0.3

0.2

0.4

SEA

0.2

0.1

0.2

0.2

 

SEA

-0.5

0.1

0.0

-0.6

SFN

0.5

1.5

-0.4

-0.3

 

SFN

-0.4

0.1

-0.7

-0.3

SLN

0.4

0.3

0.2

0.4

 

SLN

-0.3

-0.1

-1.0

-1.0

TBA

-1.1

-0.5

-0.1

-0.6

 

TBA

0.1

0.2

0.2

0.1

TEX

0.1

0.2

0.6

-0.4

 

TEX

0.4

1.2

0.6

1.2

TOR

0.1

0.5

0.2

0.5

 

TOR

-0.5

-0.4

0.7

0.3

WAS

0.8

0.2

0.2

-0.2

 

WAS

1.5

-0.2

0.2

-0.5

Just over half of the stadium-seasons have a measurement error below half an inch in each dimension. When both dimensions are combined, 29 percent of the stadium seasons are below half an inch of measurement error, 67 percent have less than one inch of error on average, and 98 percent are less than two inches. The worst PITCHf/x systems for persistent plate location errors were the 2007 Metrodome (2.7 in.), 2007 Dolphin Stadium (2.4 in.), 2009 Dodger Stadium (1.9 in.), 2007 Fenway Park (1.7 in.), and 2010 Miller Park (1.7 in.).

A few of the stadiums seem to have errors that persist from season to season. For example, Milwaukee’s system has measured plate locations that are shifted about 1.5 inches toward third base for four years in a row. However, many of the errors change in direction and magnitude from year to year even within the same stadium.

The picture becomes more complex when looking within a season at the game level. For example, take Busch Stadium. The seasonal averages from St. Louis have the second-lowest error, after Safeco Field, among all 30 stadiums in the horizontal dimension, and they are very consistent from year to year. However, at the game level, the picture is somewhat different:

There is a fair amount of scatter in the estimates from game to game. Nonetheless, one can discern trends within the seasons. In both 2009 and 2010, the first two thirds of the season are shifted positive, while the last third of the season is shifted negative. To determine whether this method of error estimation has any validity, we can check the strike zone from one portion of a season against the strike zone from another portion of the season.

In 2010, the average horizontal plate location error estimate for Busch Stadium from April through August 17 was +0.93 inches. From August 18 through October, the average location error estimate was -1.24 inches. The following charts show the called pitches from each period:


The strike zone called by the umpires for right-handed batters at Busch Stadium shows a shift of about two inches toward third base from the early season to the late season in 2010. The strike calls show a similar shift for left-handed batters. The boundary between 50% balls and strikes, weighted by the number of pitches at each boundary, has shifted 1.9 inches toward third base. Compare this to the shift of 2.2 inches toward third base that was indicated by using the pitcher location as the standard reference.

There is good agreement between the strike-zone based error estimator and the pitcher-location based error estimator when comparing these two time periods. However, is umpire bias the main source of the difference in strike zones between the two time periods? There are 49 umpires in the first period of 2010 and 17 umpires in the second period. It strains credulity that all of the right-leaning umpires visited Busch Stadium early in the year and almost all of left-leaning umpires waited until late August to start visiting St. Louis one after another. The explanation most consistent with all the facts is that the PITCHf/x location measurements in St. Louis shifted by about two inches toward third base during 2010.

So, there is good evidence to believe that the pitcher location offset method is producing a fairly accurate estimate of the PITCHf/x measurement error over time periods of a month or more, but what about at the individual game level? If one believes that the longer-term trends represent reality, one can calculate the uncertainty in the error estimate by comparing the spread in individual game estimates to the longer-term trends.

On what scale should the time boundaries be drawn for the comparison? The season level is clearly too long, as we have seen in the St. Louis data. My work with estimating the error in other PITCHf/x parameters suggests that the homestand would be a good length of time, since many changes in those parameters appear to occur between homestands. The same is not clear in the plate location data, possibly due to the high level of noise in the game-level estimates for this parameter.

A weighted smoothing of seven games before and seven games after the game of interest was chosen in order roughly to mimic the homestand timeframe. Here are the results of that smoothing applied to the St. Louis data shown earlier:

The average absolute difference between the game-level estimate and the smoothed value from St. Louis 2007-2010 is 0.9 inches. Here is a histogram of the difference between the game-level values and the smoothed values, both in St. Louis and in all PITCHf/x parks from 2007-2010:

The distribution is approximately normal, with a standard deviation of 1.1 inches for both St. Louis and all parks together. This distribution does not necessarily represent the actual uncertainty in our PITCHf/x location error estimate, for at least two reasons. For one thing, when the game-level estimate detects a real change, the smoothed value takes some time to catch up with that. Thus, some of the difference between the two values reflects cases where the game-level estimate is closer to reality than the smoothed value. On the other hand, the smoothed value assumes that the pitcher-based location error method is basically correct on the time scale of a few weeks. We’ve shown that that assumption has basic validity, but to whatever extent that assumption is untrue, the smoothed value will have some error from reality.

Having established some semblance of the level of uncertainty around our game-level error estimates, let’s look at the distribution of those error estimates across games from 2007-2010, as well as the distribution of the smoothed values:

The standard deviation of the game-level error estimates is 1.4 inches, and the standard deviation of the smoothed values is 0.8 inches.

Now we can evaluate part of one of the popular myths of PITCHf/x lore—that the data from 2007 is rife with errors and unreliable. Compare the yearly progression of the standard deviation of the game-level error estimate and the percentage of games with a game-level error estimate greater than two inches or a smoothed error estimate greater than one inch:

Year

Game St.Dev. (in.)

Game Error Est. >2 in.

Smoothed Error > 1 in.

2007

1.6

21%

29%

2008

1.3

14%

20%

2009

1.4

15%

20%

2010

1.4

14%

18%

It’s difficult to determine exactly how close to reality the smoothed value comes. Max Marchi implemented one potentially elegant solution using multilevel modeling to incorporate additional factors into the PITCHf/x location error estimate. It is encouraging that Max found high agreement with the simple pitcher-based location error estimator.

Max’s method identified one of the potential problems with the pitcher-based method at the game level. His method was able to avoid the pitfall of the pitcher-based method for the July 5, 2010, game between the Phillies and the Braves. Two pitchers, Roy Halladay and Derek Lowe, threw 201 of the 218 pitches in the game. Roy Halladay and the reliever, Jonny Venters, were close to their normal approaches to pitch location. Derek Lowe, however, departed radically from normal. Whereas Lowe is normally among the most extreme pitchers at targeting the outside part of the plate against right-handed opponents, in this game, he pounded the Braves righties inside all night long. With half of Lowe’s pitches a foot farther toward third base than normal, the overall pitcher-based PITCHf/x location error estimate for the game was -3.6 inches, when in reality it was probably closer to -1 inch, based upon the locations from the other two pitchers and the strike zone edges.

In addition, TrackMan plate location data could be deployed as a check against the PITCHf/x plate location accuracy in those stadiums where both systems are installed. I’ve investigated that approach, but the results are withheld under a non-disclosure agreement.

Another potentially fruitful approach would involve working with Sportvision in order to determine what happens to the PITCHf/x cameras to produce these errors in the first place. This author and other analysts have worked with Sportvision on a very limited basis to do this in the past, but the sustained cooperative effort required to tackle the problem has not yet eventuated.

Based upon the level of accuracy in PITCHf/x plate locations and our ability to apply corrections to the errors in these locations, what can we conclude? Most of the errors are less than an inch or two and thus probably of little effect on most batter and pitcher measurements. Errors in plate location measurements have a corresponding effect on the spin deflection measurements for pitchers, but again, errors of less than an inch or two are fairly small when most pitch clusters are five inches or more apart in the spin deflection space. One arena where the implications of PITCHf/x plate location accuracy are larger is in umpire evaluation. Errors of an inch or two are sizable when grading umpire performance, and corrected location data would be useful in that application.

It’s worth reminding ourselves, though, of the engineering reality and the incredible amount of work that has gone into getting us where we are today. As Ike Hall commented, “Sportvision has done an incredible job getting it to the current level of accuracy. Things could be far worse. Really. Most parks need only slight corrections.”

Max Marchi also hit the nail on the head: “Sportvision has been doing a terrific work in the past few years in tracking every major league pitch and we are really fortunate that it (and MLBAM) let us put our hands on that wealth of data. Thus, pointing at miscalibrations is not meant as criticizing their amazing work, but rather as a way to give something back.”

And that ALCS pitch to Moreland? Our method says it was about two inches farther inside than PitchTrax indicated. The umpire may have been correct to call it a ball after all.

Thank you for reading

This is a free article. If you enjoyed it, consider subscribing to Baseball Prospectus. Subscriptions support ongoing public baseball research and analysis in an increasingly proprietary environment.

Subscribe now
You need to be logged in to comment. Login or Subscribe
Michael
3/02
I don't mind the advertisements too much, but can you please omit them when one goes into printer friendly format? We're subscribers, so we shouldn't have to spend our color printer ink on advertisements. (Sorry if this was mentioned before.)
willsharp
3/02
http://adblockplus.org/en/
a-nathan
3/02
Very nice article, Mike. Ike Hall's idea of using a "standard candle" to detect errors and possibly illuminate the way (: to a correction is an excellent one. As Mike knows, but most BPro readers may not, I have long advocated using drag coefficients (Cd) as another standard candle. Ike and I wrote an unpublished article about that in 2008 (http://webusers.npl.uiuc.edu/~a-nathan/pob/LiftDrag-1.pdf). The appealing thing about Cd values is that they really ought to be independent of both time and venue (once corrected for well-known atmospheric effects). So, Cd for a 95 mph fastball ought to be pretty much the same regardless of who/where/when. While this technique has proved to be excellent at identifying tracking errors, the goal of using that information to make corrections is a problem that still occupies me.
andygamer
3/02
In other areas of commercial optical instrumentation, one uses a mechanical alignment jig that is kinematically mounted to serve as a standard. At first blush, it does not seem to be a stretch to devise such a jig to be placed reproducibly over home plate before each game, for alignment calibration. Such a jig would have standardized height, width, and depth targets for the tracking system.
mikefast
3/02
Sportvision does some calibration on the field prior to games. Most of this appears to take place between homestands due to issues with getting access to the field prior to games. There is some further discussion of this topic in the comments (particularly those by Alan Nathan) in the Book blog thread on Kyle Boddy's article from the Hardball Times. Alan and Kyle both suggested some ways in which the calibration might be improved. The problem remains, however, of how to calibrate the system better during the period of time during which access to the field is restricted.

The Book blog thread is here:
http://www.insidethebook.com/ee/index.php/site/comments/uncertainty_of_data_fear_and_options/

Kyle's article is here:
http://www.hardballtimes.com/main/article/pitching-mechanics-uncertainty-of-data-fear/
a-nathan
3/02
Re andygarner: Lots of discussion about this last week over at THT (or perhaps at Tango's site, I forget now). What you really want are at least two (and preferably three) such devices, one located near home plate, one closer to the mound, and one in between.
a-nathan
3/02
Sorry...Mike beat me to it (and he actually remembered where the postings were).
mikebarrett
3/02
Camera machines
Many colored dots showing
"where was that pitch ump?"
mikefast
3/02
The robot calls, "Strike."
Batter looks skyward in vain,
Missing human umps.
davescottofakron
3/03
I like PITCH/fx and hope it stays. I also want to continue using umps exclusively in the games because I like the human element. And most of all, I reserve my right to protest a call while sitting 450 feet away! Very nice article.
aliendna
3/03
Has anyone attempted a pattern analysis on the called pitches charts? The called strikes appear to form a circular rather than rectangular shape. Perhaps the umpires’ decision making can be explained by a psychological perception-cognitive theory for rounding the corners and widening the zone as compensation.
mikefast
3/03
Aliendna, I'm not sure exactly what you mean by pattern analysis. Dan Brooks has done a lot of work with umpire data and signal detection theory.

I think, though, that the rounding of the corners can be explained more simply. For a pitch on the edge, an umpire only has to decide if he thinks it's left or right of the boundary. For a pitch on the corner of the zone, he has to think about left/right and up/down. If it's right on the 50/50 left/right border and the 50/50 up/down border, a simple model would say he's likely to call 25% of those pitches as strikes. So the 50/50 boundary moves in on the corners because it's affected by uncertainty in two dimensions rather than just one.