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

Through the eyes of writer Roger Kahn, we’ve witnessed major-league pitchers working to fool batters for ages. Regarding one Brooklyn Dodgers pitcher:

Dazzy Vance in his prime had a different trick,” [Kahn's] father said. “For seven years he was the best strikeout pitcher in the league. Vance wore a long undershirt and he took a scissors and cut slits in the right sleeve. It ran clear down to the wrist. When Vance pitched, the long sleeve flapped. It was a white sleeve and the hitters had one heck of a time seeing that white baseball coming out of that white sleeve. Before they knew it, the fastball was in the catcher’s mitt. Strike three.” (Kahn, 1997) (1).

Kahn left to our imagination whether Vance had other tricks up his sleeve. But many things can interfere with a batter’s ability to connect (and make solid contact) with the ball: pitch speed, speed difference between pitches, break, location, peculiarities of each pitcher (whether or not observed), pitch count. And white sleeves aside, pitchers can also hide a pitch in the path of the previous pitch—called tunneling—for similar effect.

Batters need time to “read” a pitch and additional time to react to that pitch, which flies from pitcher to mitt in under half a second: the blink of an eye. If a pitcher can keep the paths of a first and second pitch together and diverge their paths only after the batter must react (about 23.8 feet from home plate, the “tunnel exit”), the batter may whiff entirely or at least miss connecting with that second pitch on the sweet spot of the bat: that’s tunneling theory. For righty-righty matchups, this article uses 2016 tunneling data on batters provided by Baseball Prospectus to explore whiff probabilities conditioned on the batter swinging, the location at the plate of the second of consecutive pitches, and the difference in those pitch paths.

Modeling Pitch Tunneling

This exploration begins by modeling the probability that a batter whiffs as a function of five criteria:

  • The spatial distance (measured in inches) between consecutive pitches at the tunnel exit (illustration, label A) and at home plate (illustration, label B);
  • The horizontal and vertical location of the second of two consecutive pitches crossing home plate (measured in inches from the center of the strike zone);
  • The man holding the bat.

Illustration 1. Tunneling can be partly described by measuring the distance between consecutive pitches along their paths at the tunnel exit (A) and at the plate (B).

For the model sketched above, the next couple paragraphs explain the gritty details computationally and in terms of Baseball Prospectus’ tunneling data. The model was coded using the Bayesian R package rstanarm as:

stan_gamm4(whiff.pitch2 ~ s(tunnel.diff, plate.diff, px.pitch2, pz.pitch2), random = ~ (1 | mlbcode), family = binomial(link = "logit"), subset = b_side == “R” & p_hand == “R” & swing.pitch2 == TRUE …)

where

whiff.pitch2 indicates the outcome of the latter of consecutive pitches when the batter has swung, and whether the batter whiffed or not;
tunnel.diff and plate.diff denote the distance in inches between two consecutive pitches measured at the tunnel exit and the plate, respectively;
px.pitch2 and pz.pitch2 denote, from the batter’s perspective, the horizontal and vertical distance in inches from the center of his strike zone(2) .

As each batter’s strike zone may differ vertically, the top and bottom for each was estimated with linear regression using batter heights and data from a U.S. Army Anthropometry Survey (3). As whiff.pitch2 measures a binary outcome (contact or no contact), it was modeled as a probability using the logit link function. The probability of a whiff is neither linear, nor depends on any of one variable independent of the others. Thus, we can model the interactions between variables using a spline (that’s what the s(…) means). “Splines are continuous, piece-wise polynomial functions,”(4) which can better capture the chance of a whiff, as this outcome is not proportional to its causes.

In the model we simultaneously consider each batter's unmeasured characteristics, which create variation in whiff rates across the league of batters even when all measured characteristics in an observed pitch have the same value. If we ignored specific batters (assigning the same whiff probability to each for the same measured values) we risk ignoring important variation in baseline whiffs. The variation could hide association between characteristics. Conversely, if we estimated a unique rate for each batter, ignoring the league, we ignore that each batter helps us estimate the whiff rates of other batters. In short, our multilevel model takes the best of both worlds, in one level modeling the league of batters and, in the other, modeling specific batters (mlbcode).

Further, this analysis focused on matchups between righties (b_side, p_hand) to avoid the complexity of modeling platoon advantages and other characteristics that depend on matchup handedness. Righty-righty matchups are also the most common, giving us plenty of data for an analysis. Finally, as mentioned, Bayesian modeling software—Stan (specifically, stan_gamm4)—was used for modeling so that we can describe uncertainty in our estimates and predictions.

Pitch Locations at the Plate Relate to Whiffs

Before dissecting the full effects of tunneling, it’s useful to begin by visualizing whiffs in a general sense. We’ll do this by first varying the location of the second of consecutive pitches at the plate, while holding constant the tunnel of the pitch pair at the league average (8.2 inches apart at the tunnel exit and 15.5 inches apart at the plate). The contour lines of Figure 1, simulated from the above model, represent the expected probability of a whiff around the strike zone.

Mean probabilities on the contour lines are shown in 10 percent increments measured in inches from center of the strike zone, interpreted from the batter’s perspective. For example, as shown in Figure 1, the model estimates that batters whiff around 55 percent of the time when swinging at balls crossing the upper-inside corner (blue), and around 40 percent when swinging at balls crossing the lower-outside corner (red)—all without the distraction of a flapping white sleeve!

Figure 1. Whiff probabilities when swinging are shown as contour lines at 10 percent intervals. In this example, the distances between consecutive pitches is held constant at 8.2 inches at the tunnel exit and 15.5 inches at the plate. Low-and-in, from this perspective, is the location where a swinging batter is most likely to make contact.

Of course, these contour lines represent mean probabilities of a whiff. Depending on location of the second pitch, our uncertainty in the probability varies. The posterior distribution of mean probabilities of a whiff when balls cross the upper-inside corner (blue dot in Fig. 1), the middle of the strike zone (gray), and the lower-outside corner (red) differentiate themselves below in Figure 2.

Figure 2. The expected probabilities of a whiff at any point along the contour lines in Figure 1 follow distributions. Here are distributions at three locations in relation to the strike zone.

The results here agree with intuition: the probability distribution of a whiff in the upper-inside corner (blue) is markedly higher than for pitches crossing center (gray). Less obviously: the probability distribution of a whiff in the upper-inside corner reflects more uncertainty in outcome than does the distribution in the lower-outside corner (red).

Differences Between Consecutive Pitch Paths Relate to Whiffs

Now that we’ve established the likelihood for making contact at different areas of the plate, it’s time to vary the pitch tunneling. This is done by analyzing how expected whiff probabilities change in relation to changes in distances between pitches at the tunnel exit and at the plate. Actual distances between pitches at the tunnel exit and plate are on continuums, but can be approximated by comparing a series of small-multiple contour plots of the type in Figure 1, where the series of plots show progressively larger distances between pitches at the tunnel exit (Figure 3, top to bottom) and at the plate (Figure 3, left to right). .

Figure 3. These small-multiples represent the change in expected whiff probabilities (30 percent shown blue) along nine discrete combinations of distances between pitch pairs at the tunnel exit (rows, inches) and at the plate (columns, inches). The center plot is also Figure 1.

Tunneling distances were chosen to show how whiff probabilities change across the middle 80 percent of the data. Read from left to right, the predicted whiff probabilities change as the distance between consecutive pitches at the plate increases from 5.9 inches (10th percentile) through a league (righty-righty) mean of 15.5 inches and finally 29.3 inches (90th percentile). Similarly, read from top to bottom, the predicted whiff probabilities shift as distance between pitches at the tunnel exit increases from 3.1 inches (10th percentile) through the league average of 8.2 inches and finally to 15.5 inches (90th percentile). The looser the circles in each plot, the easier it is for the batter to make contact. To aid comparison, an estimated whiff probability of 30 percent is shown in blue.

As a group, the plots provide several insights. First, the top row of plots—representing probabilities where the pitches are proximal at the tunnel exit and range in distance at the plate—show relative stability across that range of adjustments. That stability stands in contrast to the predictions represented along the bottom row of the same range where the distance between consecutive pitches at the tunnel exit increases. Probabilities in this progression—unlike those of the top row— change markedly across the range of distances between pitches at the plate. When the distance between pitches at the tunnel exit is large and at the plate is small, for example, the contours of whiff probabilities spread and flatten. The second of consecutive pitches may include roundhouse curves that cross the plate near the first pitch: “the roundhouse curve is not usually effective . . . because the slow break is easy to follow.” (Kahn, 1997).

But even where the general contours seem more stable across the range, real differences between the contours of whiff probabilities exist, and suggest that moderate distances between pitch pairs at the plate relate to higher whiff rates more than pairs with either low (e.g., 5.9 inches) or high (e.g., 29.3 inches) distances between pitch pairs at the plate. With the distance between pitch pairs at the tunnel exit held constant at 3.1 inches, for example, the model estimates that the league average distance between pitch pairs at the plate sees higher whiff rates than those with a large distance 97 percent of the time and more than those with a small distance 91 percent of the time. Distributions of whiff probabilities in these scenarios follow:

Figure 4. Holding the distance between pitch pairs at the tunnel exit constant at 3.1 inches (Figure 3, top row), the whiff rate is higher when distance between pitch pairs at the plate is league average compared with either the shorter (differences in blue) or larger distance (differences in gray).

Simply put: throwing consecutive pitches that look the same are more likely to earn swinging strikes than pitches that look vastly different. These results agree with anecdotal evidence of results by former Yankees closer Mariano Rivera who achieved greatness using a moderate break and avoiding the middle of the plate.

The Types of Pitch Pairs Affect Differences in Tunneling

Now that we’ve measured pitch location and tunneling, it’s time to see how these measurements relate to the types of pitches being thrown. As suggested, the types of pitch pairs thrown shape the continuums of differences between those pairs measured at the tunnel exit and plate. Relative to other pitch combinations, curve/fastball combos, for example, seem more likely to result in higher differences at the tunnel exit with lower differences at the plate (Figure 5, lower-left histogram).

Figure 5. Pitch combos coincide with the various distances between pitches. Here are the top fifteen pairs (top three, blue) for each of the nine discrete distances between pitches, again aligned by distance at tunnel exit (rows, increasing top-to-bottom) and distance at the plate (columns, increasing left-to-right).

Each histogram shows the fifteen most frequent pitch-pair combos that correspond with the given distances between pitch pairs at the tunnel exit and plate. The pitch pairs are listed alphabetically top to bottom by the first two letters of their names (5) . The fastball/fastball (FA | FA) appears most frequently along the middle diagonal of histograms above, while, fastball-curveball (FA | CU, CU | FA) combinations arise most where the difference between pitch pairs is low at the tunnel exit and high at the plate. More generally, basic physics presents itself: high distances between pitch pairs at the plate generally follow higher distances between pitch pairs at the tunnel exit. That’s because pitch paths form a parabolic curve.

Quality of Contact Appears to Co-Cary With Whiffs Along the Contours

So far we have focused on modelling whiffs. But we can also get a sense as to how tunneling may more generally affect the quality of contact, even without measuring the exit velocity and launch angle of hits (variables not in this dataset). In this data set, we know whether a hit resulted in a home run; thus, with whiffs and home runs we have both extremes in quality of contact.

With caution, we can overlay two types of measurement: the nine contour plots representing specific tunneling distances (Figure 3), and the pitches most closely matching that tunnel. Doing so, in Figure 6 we see some suggestion that home runs—stepping in the shoes of solid contact—co-vary with whiffs along the contour lines we’ve already examined. In other words, where whiffs are more common, contact with the ball also seems to deteriorate in quality and vice versa.

Figure 6. Here, we overlay home runs (blue) and all pitches (gray) onto the contour plots we’ve been studying (Figure 3). Roughly, the frequency of home runs seems to co-vary with whiff rate.

League-Wide Predictions Inform Batter-Specific Predictions

So far, the focus of analysis has been on league averages of righty-righty matchups. The model, however, also considers shifts in the general probability of a whiff per batter. Since the model accounts for pitch location and measurements of tunneling along with batters, the whiff probabilities of batters can now be compared controlling for this information.

Compare Chris Carter and Jose Iglesias, for example. Carter, a first baseman, is known as an all-or-nothing power hitter, getting nothing in 38 percent of his swings. Jose Iglesias, a shortstop, has a great glove but approaches batting quite differently than Carter. Iglesias had no home runs last year, but is known for making contact (11 percent whiff rate). But, importantly, the two batters didn’t always see the same pitch pairs. The two batters have faced, for example, the second of consecutive pitches at markedly different locations at the plate (Figure 7).

Figure 7. The second of consecutive pitches faced by Carter crossed the plate at markedly different locations than did those faced by Iglesias. Contours here, unlike elsewhere, demarcate the density or relative frequency of pitches.

The two batters have also faced comparatively different frequencies of pitch pairs, especially when it comes to slider combinations. The six most frequent pitch pairs are shown below.

Figure 8. Pitch pairings seen by Carter and Iglesias, 2016.

Carter has seen more pitches overall, but the combinations are a little surprising. The less-dangerous Iglesias has seen a greater degree of fastballs, as pitchers are more likely to challenge the shortstop. But he’s also more likely to see sinker/sinker, perhaps counterintuitive for a batter already hovering around a 50 percent groundball rate.

Figure 9. The distribution of distances between pitches at the tunnel exit (gray) and at the plate (blue) for Carter (left) and Iglesias (right): the former is more likely to see different looks, given the greater number of offspeed pitches heading his way..

After controlling for these differences, Carter’s overall estimated chance of a whiff is about 9.6 percentage points lower than Iglesias’! So, when the two batters face consecutive pitches in the upper, inside corner where the difference in pitch paths are, say, 8.2 inches at the tunnel exit and 15.5 inches at the plate, Carter’s estimated chance of a whiff is around 45 percent. Iglesias’ estimated chance—facing that same pitch sequence—is around 55 percent. This example is represented at the blue point in Figure 10, which generally shows Carter’s whiff probabilities minus Iglesias’ at all locations for the nine discrete distances at the tunnel exit and the plate.

Figure 10. These small-multiple contour plots represent Iglesias' expected whiff probabilities minus Carter’s.

More importantly, the model provides a tool that allows different kinds of questions to be asked: which player is less likely to whiff when facing similarly tunneled pitches? How might a batter fare against a new pitcher? The model examined here can be improved, too, by considering additional characteristics of pitches.

Concluding Thoughts and Thanks

As with batters facing Dazzy Vance, those today may have “one heck of a time seeing that baseball coming out of” the path of a previously thrown ball, but at least they don’t face the added confusion of a white, flapping sleeve. The model here suggests that varying the pitch tunnels and break points can have a significant effect on how likely a batter is to swing through a pitch. Not only that, but while we tend to think of contact ability as a trait independently inherent in the batter, the way pitchers approach him can significantly affect whether, and to what extent, holes exist in batters swings.

“All models are wrong,” notes statistician George Box; but hopefully this one has added a trick up our sleeve. Additional insight may be found by folding into the model any one or all of pitch speed, within pitch pair differences in speed and angular direction from the batter’s perspective, qualities of the pitcher, and pitch count, to name a few.

Pitch tunneling was the topic of the SABR 2017 Diamond Dollars case competition, which I entered as part of the Columbia University graduate team with Conor Cashel, Alex Juszczak, and Shane Kelly. I’d like to thank them for all their hard work needed to not only win, but also catch the eye of Baseball Prospectus who has graciously provided the data that made this article possible. Our group presented tunneling in part from a batter’s perspective and this article builds on our collective ideas. Thank you, too, Baseball Prospectus.

Footnotes

1 Kahn, R. Memories of Summer: when baseball was an art, and writing about it a game (Hyperion, 1997).

2 Baseball Prospectus’ tunnel.diff, plate.diff, px.pitch2, and pz.pitch2 data were converted from feet to inches, and the latter also normalized to the center of each batter’s strike zone.

3 This approach is a modification of that previously described. Baggett, A. Conceptualizing the MLB Strike Zone Using PITCHf/x Data Part II (April 8, 2015, baseballwithr.wordpress.com).

4 Kharratzadeh, M. Splines in Stan (Feb. 22, 2017, github.com/milkha/Splines_in_Stan/blob/master/splines_in_stan.pdf).

5 Pitch abbreviations correspond with the first two letters of the name. Hence: CU (curveball), FA (fastball), FC (fastball-cutter), SI (sinker), SL (slider).

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
ADprospectus
8/08
Jose Iglesias had four home runs last year.
ssp3nc3r
8/08
Hi Alec, Thanks for the comment! You're right, he had four home runs, three of which were against left-handed pitchers, and one was on the first pitch of the count.

I should have been more explicit in explaining that he had no home runs in the dataset I described, which focused on right-handed matchups, and did not include first pitches in the count because there's no preceding pitch from which to create the tunneling differences.
bballbomb9084
8/16
Wow that is a dense read! I'm sure data scientists got something out of that but even for BP (known for tackling complicated subjects) that's a slog