Tuesday, August 31, 2010

Matt Kemp's Struggles: Fastballs and Breaking Balls

Kensai over at Memories Of Kevin Malone had a fantastic and exhaustive post on the struggles of Matt Kemp this season. If you haven't read it yet, go read it right now before you continue this post.

A very short Cliff Notes version. Basically, Matt Kemp has been struggling this season, and even if you account for the low BABIP, he is still striking out at a higher rate this season compared to last. What also confounded me that even though he has a higher strikeout rate, he is also setting a career high in walk rate as well. Usually, drawing walks and getting struck out are thought of as tradeoffs, opposite ends of the "patience scale." Kensai also had a meticulous look at the changes in Kemp's swinging mechanics, and he did find a change that hopefully the Dodgers are aware of.

I would like to extend on Kensai's post using PITCHf/x. There are two areas I'd like to investigate: 1) Is Kemp swinging at more strikes in 2010 compared to 2009 and how? and 2) Is Kemp making less contact in 2010 compared to 2009 and how?

To answer these two questions, I'd like to look at Kemp against all fastballs (four-seamers, two-seamers, cutters, and splitters) and against all breaking balls (curveballs, sliders, and changeups). Let's get started with a table of Matt Kemp's plate discipline and swing outcome rates in 2009 vs. that of 2010, broken down between fastballs and breaking balls and by pitcher's handedness:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmXrFx_qBO5xlFy6T0H5iSallO33i_NIkeZHrI1gjRHi8Bgyf60fbWYoXPj2m_-7UJWj774keqNx4-s_3164RGS_oFN7qGJHcp7mhyphenhyphen79AyP_Y6D1jsv3rz5z5yi3y6j-_zwIkt0tNJikou/s1600/kemp_table.png

A lot of numbers in this table. When reading this table, be sure to remind yourself that the blue rows are last year and the white rows are this year. FB stands for fastballs and BB stands for breaking balls. Changes to note between 2009 and 2010: Kemp is swinging less against pitches from RHP but more against pitches from LHP. But in all cases, he is getting more swinging strikes, as well as making less contact, save breaking balls from LHP. This in turn results in less balls in play from Kemp. The last three columns are at a per swing rate (whereas SwStr%, Contact%, and In Play% are per pitch). When Kemp swings, he is whiffing far more in 2009 than in 2010 against BOTH fastballs and breaking balls and RHP and LHP. He is also getting less contact on the ball when he swings in all cases (again, Kemp has performed better in 2010 in In Play% only against breaking balls from lefties).

I have a lot of plots coming up, so I'd like this to be organized and I'll do my best to make concise inferences from the plots. I will be looking at the swinging strike percentages and contact percentages of each combination of fastballs/breaking balls and against righty/lefty. The plots on the left are 2009 and the ones on the right are 2010. There will be four sets of four plots each in the following order:

1) Kemp against RHP fastballs in 2009 vs. 2010 (SwStr% and Contact%)
2) Kemp against LHP fastballs in 2009 vs. 2010 (SwStr% and Contact%)
3) Kemp against RHP breaking balls in 2009 vs. 2010 (SwStr% and Contact%)
4) Kemp against LHP breaking balls in 2009 vs. 2010 (SwStr% and Contact%)

First up is SwStr% and Contact% of Matt Kemp against 1) RHP fastballs:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWXTYEhVWXh50zX4zjehANY5EvvPtNStEEqKIrL77q1BDWuI61GphVEXmLd9nKACUU01ZXSrFtDIwyTHx3NBmheoLvPv2XbjWYIvUmRHsRHEHePJpToKmUG93mLn4QQiaFAKhZy-aWWvuA/s1600/kemp_fb1.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJaaCjoPedy63lfgbhMRV6v1AuJvo9JN8aPZ1cSS7-hc_KUeRDHesrklNB1UWDgvE_gN-TkHDJPF7o2EVEHotQQrsE6ZRjETFGbq0OR8N29RR4li6yjp52nK9PblOTy1D03JJyuhe0mp3k/s1600/kemp_fb2.png

The red contour lines tell us that Kemp chooses to swing 50% of the time when a ball is thrown within the contour line. This is what I call Kemp's swing zone, so the red circles refer to this. Kemp is swinging at RHP fastballs less in 2010, but is whiffing at a much higher rate as well. He is also making much less contact. The top two graphs show Kemp swinging and missing more, while the bottom two graphs show Kemp making less contact, particularly on high inside fastballs.

Second is SwStr% and Contact% of Kemp against 2) LHP fastballs:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nhOUtLczxBorsxi0Z3ymCmFs2XF_XIHr1Vx2vPTX3bli7xi_VmQbx0cwwSSzy3xKytqFplgU61KX2JX6HbhilcE9of76SWC18LCD9QgtCraGUpGjUJk1n_aPzkV4FBe8KoFt5zrror1q/s1600/kemp_fb3.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhus7C7mHwVsghM9pFf5TZ06nrv1ptsUposa2UUqr5qawjnEwRst73zTu2LYstGsbeiWdsz2a78LU9cr7ylL4MBfxDPlyFQ1bLDwVuu1ygB5aoZDGWtzUTJvIlsO-tImUy0gTzaeO6y06Fc/s1600/kemp_fb4.png

Here in his swinging strike plots, Kemp has actually started to swing more on LHP fastballs down and out of the zone, so his swinging strike rate there is up. But he is also missing a lot more LHP fastballs this year that come down the middle over the plate, ideal pitches for the right-hander to hit out of the park. Looking at his contact plots, we see similar colors in where he makes the most contact, but we see a huge shift. Last year, Kemp made contact off a lot of LHP fastballs down the middle of the plate, but this year, the epicenter of that contact hotspot has shifted a full foot up from the direct middle of the zone to the top of the zone. We can infer that Kemp is making less contact off the sweet spot of his bat, and making more high fastball contact that usually result in pop outs.

What about breaking balls? Third is Kemp's SwStr% and Contact% against 3) RHP breaking balls:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9FPAemblRdwEjes9hpOvHnWeo0KITC9eFEdwltS2V6cMo4Nd-4qMmQZASfMh0kjIUIOopbG-I8B6Nw8Nm9soRXFsx1RhkchGXe9Q3_Ld4wUUQhYqH0MTbXLeP6RSToNyBMENQJuUk2DEj/s1600/kemp_bb1.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ZfBnPgkhPpifw1SpIEYQRRK3jrXb455TRD1QnE6tTvlkoR8hw7ciQjxuTi_9td4MdhIogz2-C6XWphKFHFX8SlL9ZYy6DhfgT9Fh_cAh-orgps-d4YG44LJBD4dI81FhbdUiNCfauzwt/s1600/kemp_bb2.png

The SwStr% plots don't seem to change much for RHP breaking balls. Kemp is swinging more, however, on inside RHP breaking balls than before. He is clearly making less contact off RHP breaking balls this season compared to last. Last year, it also looks like Kemp made more contact off RHP breaking balls coming to the heart of the plate.

Finally, let's look at the fourth and final set of plots of Kemp's SwStr% and Contact% against 4) LHP breaking balls:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIm9GCJNNB57UoNj7h4XquQs8Pb7l_hG-VmHvuG1X-8C_hd7DWVkKkapfZoYw3wTV7irsGTsNVfYTosUcg3RNwN4G2WXnTZpBNsRI5dM_M2kTjcnb94UtSuyUSFVW7Ya54U-1i8F-kEGZR/s1600/kemp_bb3.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT326b-oC4MwhIqwXB3dw8M25eJU57gOLVpmbalGi_eLQIhWxEs2Lr3srKPmbbQw8ZBmfHKsHrEwNg1_XXFKxhRNdlX9R5AmS8Cgfag3mM2skTDzcAe66a_fBALIXIub9TFh3eSNqExxuv/s1600/kemp_bb4.png

These show Kemp swinging at LHP breaking balls in the strikezone in 2009, but low and inside out of the zone in 2010 in his swing zones. As a result of chasing inside breaking balls, Kemp's SwStr% in 2010 in that lower inside corner has increased dramatically. This also shows in his Contact% plots, as the center of his contact hotspot has also shifted from the very middle of the zone toward the lower inside corner of the zone.

There's a lot of information in the previous 16(!) plots, but here are the Cliff Notes version of what I found about Matt Kemp this season compared to last season:

1) Swinging at less pitches (more walks), but whiffing more on hittable pitches (more K's)
2) Making less contact, but when he does make contact, he also puts the ball in play less
3) Swinging at (and missing) more high fastballs from RHP, resulting in less contact
4) Whiffing on LHP fastballs down the middle of the plate, making more contact on high LHP fastballs and less on down the middle LHP fastballs
5) Swinging at more inside RHP breaking balls and making less contact down the middle
6) Chasing low inside LHP breaking balls more, whiffing a LOT more, and making less contact down the middle

In general, what I present here is what we already know: Kemp is swinging and missing a lot more. But I hope that I was able to demonstrate clearly that Kemp is struggling against both fastballs and breaking balls, and I have shown where he is whiffing on them and where he is making less contact. Whereas Kensai looked at the "why," I'd like to say that I've taken an indepth look at the "how."

There could be plenty of reasons why Matt Kemp's whiffing behavior is so widespread, and this bolsters my belief that Kensai at Memories Of Kevin Malone is on to something with his post on the difference in Kemp's swinging mechanics. It's possible that Kemp started chasing inside sliders, high fastballs, and missing vulnerable pitches that he used to crush for independent reasons all at the same time, but I'm inclined to believe that a difference in mechanics (read Don Mattingly: and approach) is more likely to cause all of this simultaneously. And perhaps there is such a thing as being "too patient."

To evaluate if Kemp has changed his approach, I'd like to look at how Kemp's swinging behavior and outcomes have changed from last year based on count situation. Next time, I'll take a look at Kemp's tendencies and results on the first pitch, when the opposing pitcher is behind in the count (more balls), and when he's ahead in the count (more strikes).

Monday, August 30, 2010

Rivera's Cutters Working the Count

I've talked about Mariano Rivera and his cutter in the past, but it's always interesting to analyze what I consider to be the greatest pitch in the game. I don't believe that there is any other pitch in the game right now that can be used so exclusively yet so dominantly the way that Rivera uses his cutter.

We know that Rivera has pinpoint control and likes to work the outer and inner edges of the strikezone against both right-handed batters and left-handed batters. We also know that Rivera is great at working the count, rarely getting to 3 balls in a count. Combining both of these ideas, can we figure out how Rivera works the count based on the locations of his cutters?

To do this, let's first look at Rivera's cutters by each count since 2007:

0-0: 218 to RHH, 343 to LHH
0-1: 105 to RHH, 188 to LHH
0-2: 57 to RHH, 42 to LHH
1-0: 80 to RHH, 101 to LHH
1-1: 86 to RHH, 108 to LHH

1-2: 60 to RHH, 55 to LHH

2-0: 24 to RHH, 28 to LHH

2-1: 41 to RHH, 37 to LHH

2-2: 47 to RHH, 53 to LHH

3-0: 2 to RHH, 4 to LHH

3-1: 4 to RHH, 4 to LHH

3-2: 15 to RHH, 19 to LHH


Note that these are cutters used in different pitch counts, not total pitches. Rivera does occasionally use two-seam and four-seam fastballs, and he has used traditional fastballs 16.2% of the time this season so far. However, a quick glance at the above list shows us that Rivera rarely falls behind in the count, or rarely uses his cutter when he has three balls. To analyze how Rivera works the strikezone based on the count, it wouldn't be sensible to do a 12-count plot of Rivera's cutters, as he's only thrown the cutter twice to RHH on 3-0 counts since 2007. Instead, let's combine the counts to different situations to see how Rivera locates his cutters as a result:

Count Situation (Not including full count)
On first pitch: 218 to RHH, 343 to LHH

Behind in the count: 151 to RHH, 174 to LHH

Ahead in the count: 222 to RHH, 285 to LHH
With two strikes: 164 to RHH, 150 to LHH


These sample sizes are much better for our plots and should allow us to accurately see how Rivera's cutters are located in different count situations. Let's take a first crack at Rivera's cutters against right-handed hitters on the first pitch and behind in the count along with the batter's swing zones and contact zones:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPirGL5e5HVxfT2dmIDhVTLifkNhI30zG1TkySUoiiOKC6FktYQL-eUqKuM6kWA33Ie56H7WFb3WZRd0Lu05DoQKZO1ptSA1xprxBYNCefrOo6sWbF6G6ut4n3jPcO7B0DekNyv4PrCxOs/s1600/rivera_count1.png

On Rivera's first pitch of the at-bat, he likes to throw a strike right away, hitting the outer edge of the zone against right-handed hitters, sometimes outside the zone. Hitters have a low contact rate on the first pitch, and when they do, they are better at making contact when Rivera's cutter is up in the zone. When Rivera is behind in the count, he still likes to get the outside edge of the strikezone, but this time looks to throw a pitch in the zone most of the time. Here, hitters make more contact off of where Rivera tends to throw, where the 50% swing and contact zones both encompass Rivera's hotspot. Note that there are shades of yellow on the inner parts of the zone as well, showing that Rivera does throw inside occasionally when he's behind in the count.

Let's look at the same count situations against left-handed hitters instead:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihyphenhyphenxyWVDaT1LW_muvK8bkTOiJRVOt6tI61HxVncHMQZNYHBRr4bo78JEfC-gutC_hnLD3x6ARIlRt2fklTp7hI6ZCRkczSqCopTE9a_pDK0sKWxpVu4ZAjnr6eIQtlW-3ZXd4Ggg0V3oCO/s1600/rivera_count3.png

The first pitch to left-handed hitters is approximately the same location as against right-handed hitters, except Rivera locates up and inside in addition to middle inside. LHH have a much smaller swing zone on the first pitch compared to RHH. However, when they do swing, it is usually where Rivera locates his cutter most frequently. This is to say that Rivera's first pitch to LHH is likely to get swung at if it's placed in his hotspot. LHH also have a larger contact zone than RHH and it's located right in that hotspot, which means LHH make contact on the first pitch more often than RHH. Looking at cutters behind in the count to LHH, Rivera still likes that right edge, but locates to the left (outer edge for LHH) more often than to RHH (inner edge). He also goes inside and out of the zone on LHH in this situation more than he does going outside out of the zone to RHH.

What about his cutters to right-handed hitters ahead in the count and with two strikes? Let's take a look:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvCd6iIb8Q7oEBe-i8QQM4Rg1cXTO_onHbWV18jc765ZCq50Gw6r-J_ljkNrFl_wB05TkOIWAa62a4aLpZXc2RhRXrzaoN8wJynjeRX_8fEnap06jMv8JDe8Hi3bkImWrhtpEEfQn3slzI/s1600/rivera_count2.png

Here, Rivera goes outside the zone to RHH more often when he has the upper hand. He also locates inside to RHH sometimes too, but the epicenters of his main hotspot shifts to the right outside the zone when he's ahead in the count or with two strikes compared to when he's behind the count. It also seems as if batters swing more freely, swing zones that encompass much of the strikezone and outside as well.

Let's see if Rivera works left-handed hitters when he's ahead in the count the same way he works right-handed hitters:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8a2dzgjo9A2XsjMlZBL86xUelN7N2uXc-MSdHSg_8l_ddUP3U7mYOuCP62Y572IDG5TW6yYWiJ7w60-BG3qIHYAIrwGwytKBP9UH_u0gpTe53yonves8cZ2NZI5QuKAv4M0zLx_clipK3/s1600/rivera_count4.png

Here's something different. Just as Rivera throws his cutters outside to LHH more often than inside to RHH when behind in the count, here we can see hotspots emerging on the left outer edge to LHH. When he's ahead in the count, Rivera works either edge, but goes inside and out of the zone quite often (Rivera's cutter moves in on LHH and away from RHH). On two strikes, it's pretty much anyone's guess whether Rivera wants to come outside and then barely hit the outer zone, or come into the zone and just hit the inside of the zone. The best bet for left-handers is to expect the outside cutter, as this count situation yields cutters in this location more than in other situations. Looking at the swing zones, LHH are pretty much swinging anywhere Rivera throws his cutter.

Finally, let's look at a table of different pitch outcomes and batter reactions based on the count situations we looked at above:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDfO_djjYlGdg0haPU30JHaWkVpwfi08343kx5_u8ZMfsfw0FSX0lLJ5DenQPhfdCciAQhu-BPNpFMY88z42HpK0XX780eZREXfaLY6u0cL2-Ght5y6BrW8pQX3Vsy352NM-aStAOyOubT/s1600/rivera_count5.png

These are percentages of total pitches in those count situations, except for Whiff%. The distinction between SwStr% and Whiff% is that SwStr% is a % of total pitches while Whiff% is a % of total pitches swung at.

On the first pitch, RHH and LHH both swing less than 40% of the time, but LHH are definitely more successful at making contact and putting the ball in play. RHH whiff more in most count situations, but Rivera is able to get LHH to whiff more than RHH on two strikes. RHH put the ball in play 40% of the time when Rivera is behind in the count, but only 28.4% when ahead in the count. LHH put the ball in play about 35% of the time whether or not they are behind or ahead in the count.

To recap(itulate), it would appear that RHH are especially vulnerable on the first pitch, whiffing 28% of the time when they swing. RHH would hope to be behind in the count and expect a cutter inside the zone for their best chance of putting the ball in play. Otherwise, Rivera will paint the outer edge if he is ahead, pitching to the black, a difficult pitch to hit to say the least. For LHH, who make more contact off the right-handed Rivera than RHH, Rivera counters by working both edges of the zone. LHH still get whiff rates as high as 19.4%, and especially don't want to let Rivera get ahead in the count, as he will work either the outside edge or the inside edge.

Just looking at traditional statistics will appropriately show how dominant Rivera has been in his career, with a 2.21 ERA, 1.00 WHIP, .209 opponent's BA, and 1044 strikeouts in 1137+ innings. The plots and analysis above shows how he has achieved such success: by living on the black against both right-handed and left-handed hitters, and being able to consistently hit his various spots so that he gets hitters to swing at difficult pitches no matter the count.

Sunday, August 29, 2010

Cliff Lee's Four-Seamer, Curveball, Cutter, and Changeup

You learn something new every day, and I must confess, as someone who first dabbed his feet in PITCHf/x less than a month ago, I was very excited to get my hands dirty with this data, plotting it, and analyzing it and such. I have talked about a few of the mistakes I've made in the past with some of my plots and models, and I do want to learn from my mistakes from my analysis of the corrected plots as well. I've been referring to Mike Fast's article here from time to time to understand the possible rookie mistakes a PITCHf/x analyst can make. Needless to say, it's been very helpful and definitely should keep me accountable in the future.

Which brings me to this post about Cliff Lee. Various sources (I looked at several articles, Fangraphs, and yes, Wikipedia) tell me that Lee throws five different pitches, armed with a four-seam fastball, a two-seam fastball, a cutter, a changeup, and a curveball. Plenty of past articles have detailed the faultiness and/or suggested better reclassification techniques of MLBAM's pitch type classification where all of the great PITCHf/x data comes from. I would preface this and my future posts with the knowledge that I will use MLBAM's pitch classification for now, as developing my own algorithm to determine a better classification seems like a time-consuming and daunting task to say the least.

But before I dive into plots of Cliff Lee's pitches, I need to look at his pitch types first according to MLBAM. Here's a list of the frequency of his pitches by handedness since 2007, according to MLBAM's classification and my database:

FA to R: 2016 pitches
FA to L: 885 pitches
FF to R: 1585 pitches
FF to L: 773 pitches
FC to R: 301 pitches
FC to L: 79 pitches
CH to R: 1237 pitches
CH to L: 80 pitches
CU to R: 490 pitches
CU to L: 286 pitches
SL to R: 222 pitches
SL to L: 384 pitches

Fangraphs's player page of Cliff Lee tells us that Lee rarely used his slider in recent years (less than 2% of his pitches) but uses his curveball much more. In the list above, the counts for SL (slider) and CU (curveball) are in the same range, so something is definitely fishy here. Fangraphs uses classifications from Baseball Info Solutions, so I am inclined to believe that if Lee does throw a slider, that he throws it rarely as opposed to almost as often as his curveball.

Now a very thorough study would include looking at the release points, spin deflection, and movements of Lee's sliders according to MLBAM to see if they were somehow misclassified as sliders when they were really curveballs that didn't break. I'm not going to do that in this post. Instead, I'll simply ignore the pitches that were classified as sliders and move on.

The same thing with FA (generic fastballs). These are presumably fastballs that could have been four-seamers or two-seamers, so in this analysis, I will ignore FA as well. Which means that I'll be leaving out two-seam fastballs.

Now that we've got that out of the way, let's look at location density plots of Cliff Lee's four-seam fastballs against RHH (1585 pitches) and LHH (773 pitches):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBbAq7dHU49lY7Rb-UGia4GeSCad8r6Q_rsflOlbUAT3glI68h31Jmnm7jQfdK5Mu8UYS_IjrR-iPVPO6fPfEMyHgHMWS9W78cBdWxwJw_IsF18oRVMzyaydDLA5KeptNmVhsHFifKFvLC/s1600/clifflee1.png

I've added contour lines indicating the area inside which the batter is 50% likely to swing at a pitch, as well as where the batter is 50% likely to make contact on a pitch (hopefully I did them right and interpret them correctly as well, feel free to correct me when you settle down from the PITCHf/x Summit, Jeremy). I also decided to use this color scheme because it contrasts well with the red and blue contour lines and also makes a yellowish contour line to show where Lee tends to locate his four-seam fastballs the most.

Here, Lee throws his four-seamer all over the zone against right-handed hitters, but throws them mostly to the outer (left) part of the zone against left-handed hitters. It would appear that Lee gets called strikes often in this area against LHH. This means that left-handed hitters are more likely to swing when the fastball comes up and inside and down the middle. Both RHH and LHH seem to make contact off of Lee's fastballs when they do swing, even when the four-seamer is up and out of the zone.

Here's a look at Cliff Lee's curveballs and opposing hitters' swing zones and contact zones (490 pitches to RHH, 286 pitches to LHH):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdgwyJ9H7lRce8hAAuWeJ7nVHiT8EQYs2DoODcL129MvM5dVmLdiYf3p3qOigArivIXznZo3gJXztldoB7y6_VkEG1L8VakUQulsNaxoGqM9fckHjbH-H2uOy6xEMOa1IB9CKRUZx3scKx/s1600/clifflee2.png

Lee distributes his curveballs very similarly against RHH and LHH, but hitters react differently depending on handedness. It would appear at first that LHH have the advantage by making more contact, but remember that these contour lines represent where the batter swings 50% of the time. This means that right-handed hitters are making better and solid contact in the sweet spots of the zone against Lee than left-handed hitters do, as the LHH 50% contact zone encompasses the upper and lower parts outside the zone. The RHH contact zone is much smaller than the RHH swing zone compared to the LHH contour lines, but that doesn't necessarily mean that RHH are getting more swinging strikes than LHH. Even if they did, making contact on low curveballs out of the zone usually results in a routine ground out. Basically, the larger the contact zone, the worse the contact being made, so the left-hander's curveballs are more successful against LHH than RHH, which is expected.

Finally, let's look at Cliff Lee's cutters (301 pitches) and his changeups (1237 pitches) against right-handed hitters (I'm not including cutters and changeups against LHH because Lee rarely throws these to them, less than 100 times for either since 2007):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK8a016U98x_18BDphEMDuDm53KfwaBxhtvc_WekauVne577uNSRZg21RX1t1sZ4ZU_4QGJWv1atOJmJJfvbsd3e2nLttCPqGMsr-6FTuYZ2tDz00xy3VFy4zsBVY4SqywaV_VB0Dvy3h9/s1600/clifflee3.png

Lee likes to throw his cutter all over the middle parts of the zone against RHH, and interestingly likes to locate his changeups to the outer parts of the zone. What's interesting is that the contact zone is smaller against changeups than against cutters but the swing zones are about the same size, albeit in different locations. To me, this means that Lee is able to get more swinging strikes against RHH with changeups, a precondition being that the swing zones are similar-sized.

These plots are definitely interesting to look at and analyze, but they are also in a beta stage. I hope to make "visual scouting reports" like these in the future for both batters and pitchers, similar to what Jeremy Greenhouse did last year (to borrow his terminology). Having a good understanding of the relationship between the swing zone and contact zone will be important (and possibly even the swinging strike zone and balls in play zone). Hopefully I was able to interpret them correctly here, but I am ready to go back to the scatter plots to see if some of my analysis is confirmed there as well.

Saturday, August 28, 2010

Density Plots of Rivera's Cutters

A few weeks ago, I took a first look at Mariano Rivera's cutters, and saw that Rivera locates his cutters so accurately and so effectively by painting the left and right edges of the strikezone without hitting the middle much. To recall what these scatter plots looked like, check this out.

Now I've learned quite a lot of interesting things since then, including a technique called kernel density estimation, a simple method to estimate the frequency/density of x,y coordinates. I wanted to take a look at Rivera's cutters again, this time in the form of pretty plots.

I've used hexagonal binning methods before to show Rivera's pitch movement plots, as well as filled contour loess regression plots for other players. Here's some plots of Rivera's cutters against RHH and LHH using bivariate kernel density estimation, a catalog of various colorful schemes:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6FhMUosAOCRf06Pbs8pK6fEPb3SKUHQs50k6Nzj_FzLIxLk9UFXKK7XyTELM9zy7KZsf9qMZrYIOyoCG0L7jZWICNjmBvkf8mLmVqU_98Ng4FOISTIudOhjtBmMbwl3rEYgmN1ZOo9AaA/s1600/rivera_fckernel1.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJmLFg_ly2Ldq09cD9RsZ0b6lDLKRVlIetekS8hcC9vS8FURlgeDe0eyfWLYB5l1YXo16YVUV4tenxb18pbTaZb3BJP9ZF3VJASeRd5mj8NOKK2_IPm72Y_0xBdOi_3hIo9W1UcG732IM/s1600/rivera_fckernel2.pnghttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5W-LOc2lDEeqBtG8O1hpiNCauW44_F4IWICUnp8lxHmn0wZNAda2hIG9tLp7VRaQghsm0HohzMre-rhMRc4NcRqUW6EMvSWkauWi2hgeiK-wZBIuib1x-Y0Dy7Ga5bkXD8uOd6e56hNjX/s1600/rivera_fckernel3.pnghttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3U-SZOEXwXPvA9ldg1sigxQk9v-O8seNXFbAcvRxCb6SvYkJxtrWO_FWBu5f3QbiU6hezvxHWIGjlr6lRk2K2WAqLaORlGZL-ZcHgwc-olbsNbQnplKnvLHTjnZfAkgzdhfpGxNeB6Xsv/s1600/rivera_fckernel4.pnghttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyFLtPKg92cHlgRFWco1scNsIOHSlMoYbQ-7c2BMUaY0ZKZmcMUSAj2IP7_jpxbSP9N9Hiu4lNsO9DFqTV7CDWlHJ3yVhJcwq1b6Vrvs748I8Mzkh_mTADN_KS4UuhMgEVtNwJbquY-QmJ/s1600/rivera_fckernel5.png

I've already talked extensively about how Rivera locates his cutters, but it's pretty clear that Rivera still has pinpoint control. Those are just a few of the possible color schemes I can use to display these density plots. The rainbow one in the last plot shows more levels of where Rivera locates his cutter. The second plot uses heat colors while the third plot uses terrain colors. Mind you, these are all plots of the same data, just different color schemes. I'll definitely make use of these density plots in the future (I've made them before for basketball shot locations) in order to show pitch locations and such. I'll probably keep the color schemes consistent though (I think the first plot is the best combination of contrast and color), but for now, these are definitely pretty to look at.

Friday, August 27, 2010

The Best and Worst Fastball Hitters

There is an awesome leaderboard over at Fangraphs.com where you can check out the best (and worst) hitters by pitch type. What stats like 'wFB,' 'wSL,' and 'wCB' do is that they calculate the number of runs scored above average a hitter attained against that particular pitch. The wFB/C and wSL/C stats look at runs above average per 100 pitches, so wFB/C would be looking at runs above average per 100 fastballs.

If you look at the leaderboard for the past three seasons combined, Albert Pujols, Kevin Youkilis, and Mark Teixeira come out on top as the best fastball hitters in the MLB. In the past three years, Pujols gained 121.6 runs above average against the fastball, while Youkilis and Teixeira gained 99.8 and 94.1 runs above average respectively.

A look at heat maps of run value against the fastball would give the best look at how these hitters fared against the heat. However, I wanted to create plots showing a measure that most readers will understand intuitively. Let's take a look at Pujols, Youkilis, and Teixeira in contact percentage against fastballs (percentage of fastballs they swung and made contact off of):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyf1Upt3p8uJqPE51DfabdX_eldexEff0kVoUuOtcTQ7R1c9VdXjcsuWsw8ph5E8FIw0laT_FruQQlJ2gqWBxKjJfFBPS_w5glE1BD4qskzzZclvXgrDm4dva0tH0dqGYgJ6EgY_ufdl78/s1600/pujols_fbcontact.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTvHVbgiT57WxoY5DgowZOc0tZTrY88cF1x3niKjasSI7lDnLb3ByTbY7npOA4jJYBEotx1_BP-oJQGMEsoSt91339QnFSR-XEUa3RqX-nnqovKe_CtEFFm-60oKbIqpDk0RkRL9o89U7W/s1600/youkilis_fbcontact.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfQjU9qig4WaAjCEe5G4UJYkkGqz-P-iF3Ji_tFUAsgMbWqcXZWhm_A8tMEjbgfcv-nQi6yAaJ0poFAJFxSB7oRNiQE_o7PpM27EkpC2ea8MPSHZvUyy850R6bYi8Tj9tXSj-1fV7voPU-/s1600/teixeira_fbcontact.png

It looks like Pujols is by far better at making contact against fastballs from right-handed pitchers than the other two. Teixeira is a switch-hitter and it definitely shows in these plots, as he is the better hitter of the three against left-handed pitchers' fastballs. He makes contact on fastballs equally well against both RHP and LHP. Also, notice that the eye of the heat maps for all three hitters against LHP fastballs are relatively the same, but that Teixeira makes contact off of fastballs from RHP that are more to the right (outside for RHH) than Pujols or Youkilis, who make contact off RHP fastballs more inside. Again, this is because Teixeira is a switch-hitter while Pujols and Youkilis are exclusively right-handed. Whereas Pujols and Youk make contact in the left part of the zone against RHP, Teixeira bats left-handed against RHP instead, and so makes more contact in the right part of the zone.

Let's see how these guys' swinging strike percentages look against fastballs:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiICI7OI-pIX9GMzDjEhXRxhiHu3rDqBOV6o2GU_yVajY-4ylkob5CpXn2xB5s6j7yP8UtBjgSYKvotwaw8gpV_v57D3ss5Gp8G6iluxSzaecoA-U_2HVKBE443qgbJMDeyNzhau7_jZDbI/s1600/pujols_fbswstr.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5TAgL4P3hrgYrfMUZ5Dx4VT2x9BCD7eyOXsgSh_OEy1-KvcqMUKBybjl18W322Ck3L0H7B2CtvNkbeolFGc8FjKCg4W_-adLqdzL-NJEFVoXqm23lkzZnwtDB_Y-xXh9jb8GWsKwfzPdu/s1600/youkilis_fbswstr.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBvjTD0OeQ1hGRyBvRRTFoL93fsbKFoeD-B5MQrIDBdqUySrDXW39BCtrMFfyau6szh9aYxpwEBlu0u2ICgfXcWd-fbCWdvR5rSYjp25JCevLCTxYAr9scOT37lmhefbj-IkoQEWvs-Ij2/s1600/teixeira_fbswstr.png

Remember that these are the best fastball hitters in the game today, so there's just blue all over in terms of swinging strikes. Looks like Pujols and Youk whiff a bit on high fastballs and inside fastballs from RHP, as well as high and outside fastballs from LHP. The switch-hitting Teixeira actually looks like he is more susceptible to swinging at low fastballs against both handed pitchers, but again, these swinging strike zones are very good compared to every other batter.

Now let's look back to the leaderboard to see the worst fastball hitters in the game according to Fangraphs. These turn out to be Jason Kendall, Yuniesky Betancourt, and Kurt Suzuki among qualified players, getting -40.5, -32.1, and -31.4 runs below average against fastballs respectively. Let's take a look at how they fared in terms of getting contact off fastballs:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia0t6ZRUm_WZZjuOB75XWRwLSJrQkcrzQpPuV-bIpdrROqBy3G3lHWKaztSy9kxHOGBj5UEKzKd_DC9p9P7skRiq2vfF7UsSlSF7lmvDTmOW97jNq-wjCQiOIi2ORu3NNFZSEB2FrSWKCS/s1600/kendall_fbcontact.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCeyufIaABVRyWt7CGK0M80UhUDwl86tOwFQWQnazW_hZAjcXMYnJk_38Fpm3X_82KT7OHil1r2jGdIfTdeVax6Y63aQJOD3uZBzpd-Tla19Rolha83TgNobkQ9Vy04l1V3IxMcXuBXxpP/s1600/betancourt_fbcontact.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAA-Pur6YjnXhoz8ZwBNjZWmpm5AI5jj8Uw3gseiw9Iz6JTB9vLgeWuqyDKX8qwVwhvQX_FR0SoA1-XRxFnNqFpBFbOSOjZ69SzOkPjaHPJo7YGOPcxIIGCu7upf2C0jsuRjkiYUZBrq0Q/s1600/suzuki_fbcontact.png

All right-handed hitters, these look different from the Pujols/Youk/Teixeira plots earlier. The one that stands out the most is definitely Jason Kendall, who just can't seem to make contact off of fastballs, especially from LHP, barely making contact 50% of the time when the fastball is right down the middle of the plate. Betancourt can make some contact off of RHP fastballs while Suzuki has a decent epicenter against LHP fastballs, but bear in mind that contact doesn't necessarily entail that they're making good contact. Fastballs are arguably the easiest pitch in the game to get contact off of, and the best hitters can get around fast enough to make solid contact. Pujols/Youk/Teixeira make a lot of contact, but also get wood on the ball, all three being some of the top power hitters in the game, presumably getting most of their success off fastballs.

Let's take a look at how the worst fastball hitters fared in swinging strike percentages against fastballs:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhABPRtO1K4bRwr_jzINfootRoYQXh7mW9uwWMkjeHfIF8uDMWTPUSunH5aFq-yyhC3_FJzQnZ47UozKtLPjOy75EWRU_SFPYNxZK5txk5lnmVW23b7gBYBS17qGtpug6F5FqwEGqyKkeql/s1600/kendall_fbswstr.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP6rPXNACpsDpx4ARriiiI0lGDufWnJgcOb0suE0OBNpcsbBo62kQN8ucYt9toN_BNpjA9bl4FD11BAkeBbB67U76wY1A3gdE3tyyaEePVJoagfdght6mH8qrHFUiGHon8eeeCc8xX8Ahj/s1600/betancourt_fbswstr.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgV2WNrt2gBrTwucYasqSnXNAGeeOxQlUv7hoGc_Wx9M9EfFb8Xs4F0Oi-YxudBVChjO5GZNMElsCwiZdPohio_873LqfU4JhNAG41k6mPeQGbuRM6o9atuMLKbACZwzoITBzw1iVYWw9/s1600/suzuki_fbswstr.png

It looks like part of the reason that Kendall can't make contact off fastballs down the middle of the plate is because he keeps missing them, as you see some lighter blue in swinging strikes down the middle as well as low and inside against RHP. This is different from both Betancourt and Suzuki, who swing and miss at high fastballs out of the zone, where Betancourt is particularly vulnerable against high LHP fastballs and low and inside RHP fastballs.

Admittedly, there are better plots to make in order to capture the effectiveness and ineffectiveness of hitters against certain pitch types. Plots I may experiment with in later posts will almost certainly include slugging percentage per balls in play (SLGBIP as opposed to BABIP) to show how much power the best hitters against a certain pitch get per ball they put in play.

But for now, these plots of contact percentage and swinging strike percentage clearly show who are the better and worse of the fastball hitters among these six. I did keep the swinging strike percentage plots at a lower maximum (which is why you see all the shades of blue) because fastballs typically induce the least amount of swinging strikes compared to other pitches (especially changeups). This will allow you to compare the best and worst hitters in terms of contact% and swinging strike% later between different pitch types if I do other posts for other pitches, as the color scales will remain the same to allow for a fair comparison.

Thursday, August 26, 2010

Is the Strike Zone Bigger in August?

Jeff Zimmerman over at Fangraphs had an interesting post about the expansion of the strikezone as the season goes on. He mentions that there may be evidence to bolster David Ortiz's claim that umpires are calling more strikes and less balls as the season goes on.

I wanted to see this for myself using my own method, so I created a called strike probability model for April 2008 vs. August 2008, April 2009 vs. August 2009, and April 2010 vs. August 2010. What I did was I pulled all called strikes and balls (ignoring all the times when the batter swings) within half a foot from the rule book strikezone, half a foot inside and half a foot outside. I then modeled a surface fit for all called strikes over pitches where the batter didn't swing. I assumed that the middle of the inner 0.5 foot border returned called strikes 100% of the time if the model did not project that far inward, and same with balls way outside the strikezone.

Let's take a look at called strikes in April 2008 vs. August 2008 to see if umpires called more strikes as the season went on in the past, where red indicates called strikes and blue indicates balls (blue balls, snicker). Note that I split the strikezone into nine equal-sized boxes for reference, while the outer border is the approximate rule book strikezone:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji_zz5ukyDf0py8YOgw3TmXY5D8RByCSb-kklYHnah08-b8KGOzLp7bce0jHA72UNkKQaJyvs0Wh4TfXRWjbEdNIIMnVvyyeqiJSn3BPES_QuL0bgJhEzqMrm03PWDO7Q206rnc4MVSBcC/s1600/calledstrikeprob2.png

It looks like here that the left-right distance is not affected much, but you can see that the upper areas as well as the lower areas show more called strikes in August, if only slightly bulging. Let's take a look at April 2009 vs. August 2009:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9JKN3jDet20u9h6d3VaYH7DX_GP7hhz_U3BAwwPqv49_8yGwpHLoozmfi9W2xNqu0U7xWtzPMxHq6dQoBi6tGZc7CzFwTReGQJEjc_TOAlNkFZBWmPwfSCn-ll62zSVNq-6hwDrSDQXp8/s1600/calledstrikeprob3.png

Here, it actually looks like April had a higher probability of called strikes in the lower part of the strikezone. There isn't that much change in 2009 though compared to 2008. Now let's compare this year's April vs. the current month of August:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqrK15WlESweFDhQbXzkBLNfdm0IVy1ArqDUHr-XRnXZTJxGKXv7RqeHzdbnDhjOWpvUtMusBzy0_hMk-EhvkASJbDm9rSfrcShwhHa2ZYc9irXn9k1Y5YWv-svAljdL_61onsnkJcv9uO/s1600/calledstrikeprob1.png

Is Ortiz on to something? At first, I wasn't so sure. Using the grid as reference, you can notice the red extend upwards slightly and downwards a bit more, but it didn't see like much of a difference to me. I'd have to show the numbers to back it up, as the difference in the images produced didn't seem significant enough to me. In the end, the numbers over at Zimmerman's post may well back Ortiz's claims, showing an increase in called strikes per non-swinging pitches increasing from 51.0% in April this year to 53.5% this month of August. That difference of 2.5% could very well be captured by that red dip you see in the lower third quadrants.

How much does this affect each individual batter? There were 55,240 total called strikes and balls in April. Assuming the month of August would have a similar number, that's 1381 balls converted to called strikes, 2.5% of 55,240. A quick query tells me that there were 21,191 total atbats in April, which would mean that approximately 6.5% of all at-bats in the month of August had one more called strike than in April.

Crude calculations there, but it looks like that David Ortiz might be right and that the umpires have expanded the strikezone as a whole, if only a little bit. Probably means that Ortiz had an atbat among the 6.5% of unfortunate souls who were disadvantaged by one less call in favor of the batter.

Wednesday, August 25, 2010

Ryan Howard's Whiffs by Pitch Type

I submitted my Mark Reynolds post yesterday to Fangraphs' community blog... and they accepted! Needless to say, I'm getting some site traffic from Fangraphs now, and I thought I'd share some plots of the other prodigious power hitter who strikes out a ton. Let's take a look at Ryan Howard, Mark Reynolds' left-handed counterpart, only 40 pounds heavier.

Ryan Howard has been either second or third in the entire MLB in swinging strike percentage and other strikeout categories since Mark Reynolds' debut in 2007. Fangraphs' stats tell us that Howard has swung and missed on 14.6% of pitches so far in 2010 while posting a swinging strike percentage consistently above 15% in the previous three seasons. Like Reynolds, Howard doesn't actually swing at everything compared to other swing-happy batters, swinging at less than 50% of pitches every season for his career.

Again, I'm going to leave out cutters and just look at four-seam fastballs, sliders, curveballs, and changeups due to sample size. Let's look at four-seam fastballs (987 pitches from RHP, 649 pitches from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3L-MC4YoW7RJKZZjboguOSNErt1buFwdLXB-jRxJVo3ps0OMvpV5Ht-D0cO4z7iA9OnKq4RogZFm70q0bKKRLl_SypsNpEJwLZO0VXw9BlMy4CKgnJO0Uv90P75GcTsp0AFy_ftaSUSeY/s1600/howard1.png

It seems like Howard lets off the high fastball more than Reynolds does (or makes more contact), keeping his whiff rate below 30% against fastballs while Reynolds reached the 40% range. But just as Reynolds falls victim to low and inside fastballs from right-handed pitchers occasionally, Howard whiffs at low and inside fastballs from left-handed pitchers. Take another look at Reynolds' four-seam fastball whiff plots and notice the symmetry based on handedness compared to Howard's.

Here's a look at Howard against sliders (892 from RHP, 817 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRVjulbigx4tIS3dzsBangLaH19ETrjgqmXQ9M_PFca2ZOAhiTEwrmICNJybYzVlWn-o9loMcZmqnW0QBNW-lRa97SsOqO_FO5o_k3kolHfALJfSl5Z-KqXuKH5vm_kh57eQX_-hZh3uuA/s1600/howard2.png

Looking at Reynolds' whiff rates against sliders, there's that symmetry again, but for both batters, it seems as if the opposite handed pitcher is more successful at getting either batter to whiff on sliders, which suggests that one way a pitcher can counter an opposite-handed batter's platoon advantage is to throw low and inside sliders. Of course, that's based on a sample size of the two most whiff-prone hitters in the MLB, so take that suggestion with a grain of salt.

Let's look at Howard against curveballs (675 from RHP, 518 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTDdBQwWM_hqQw605GHFQkDTfXnIkgKrhD6RCYbx3qaitSTAb0A-auXBYVOX7qjgBh1rqdxf6m9Ec2fEOirg-UuxNyK5xot1VIJSJyk6X8bm8bzueP-25J_cln2dvmdpeG6aZrrdjzQzt/s1600/howard3.png

These look similar to that of Reynolds, except that Howard swings and misses on curveballs more from LHP while Reynolds whiffs on curveballs from RHP, again, because of the opposite handedness.

Finally, and this is good, let's see if Ryan Howard falls victim to changeups the same way that Mark Reynolds does (982 from RHP, 274 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ru7Qc8L-Ultt2LQ9jPbRvHQPwfQSj4Ag6lIrvkL72FuSvgyyqbSWjnaNJ6ats9cUOhlaLVFXEpDdapswgsWsk9E1YQ_YAyCx5ji4mnKA12zeEPYqiw3OrURzyDVPN3LZ6QiBR8bgI15T/s1600/howard4.png

Now this is telling (I'll eventually find and use another adjective to describe my amazement at a discovery). Howard swings and misses at over 30% of changeups in nearly all parts within the strikezone while he is particularly weak against low changeups from left-handed hitters at over 40% whiff rate, just like Reynolds' weakness against RHP changeups.

Maybe it's just coincidence that two power hitters with the highest whiff rates, one right-handed and the other left-handed, are weakest against same-handed changeups all over the strikezone but particularly low around the knees. Either way, it's definitely interesting to realize the main weaknesses of Reynolds and Howard. I'd imagine that knowing where to throw a certain pitch and being able to combine them effectively will get Reynolds and/or Howard to continue whiffing at a high rate. I'd also imagine that the difference between a deceptively low and inside slider and a hanging one is minuscule, even for a major league pitcher, just as a high fastball out of the zone could just as easily go down the middle of the plate. Of course, those are the types of pitches that both Reynolds and Howard can and routinely do crush out of the ballpark. To confirm that, we'll have to look at slugging percentage by pitch type another time.

Tuesday, August 24, 2010

Mark Reynolds' Whiffs by Pitch Type

Mark Reynolds is perhaps one of the more interesting power hitters heading into his prime this season. He has led the entire league in strikeouts since 2008, holding the all-time record for most strikeouts in a season with 223 K's last season.

This year, he leads the league once again in strikeouts, as well as perennial leader in swinging strike percentage. He has whiffed on 17.3% of all pitches this season, second place being Ryan Howard at 14.4%. Interestingly, Reynolds does not actually swing at everything a la Jeff Francoeur (60.7% swing percentage) and is barely in the top 50 in percentage of pitches he swings at with 46.8%. This makes it even more amazing that Reynolds leads the league in strikeouts and swinging strike percentage regularly without even taking that many swings. That's a lot of whiffing going on, and I do suppose that the rare times he does connect the bat to the ball, he hits it hard.

I wanted to know more about Mark Reynolds' swinging strike percentages to see how he fares against certain pitch types by handedness. Of the five main pitch types, fastballs, sliders, cutters, curveballs, and changeups, Mark Reynolds has seen cutters less than 200 times since his debut, 139 cutters from right-handed pitchers and 41 cutters from left-handed pitchers. He has seen at least 200 pitches for the other pitch types for right-handed pitchers or left-handed pitchers. Ignoring cutters due to small sample size, I will take a look at Reynolds' swinging strike percentages against four-seam fastballs, sliders, curveballs, and changeups.

Let's take a look at Mark Reynolds' swinging strike percentages against four-seam fastballs split by RHP and LHP (1435 pitches from RHP, 468 pitches from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZVTKYse2MqlXGdvGQZBPCBlor2t9Q-AxoiGD0OduUmnp8xMyh7OX8KhPLcBD3QvJ-hkuYSrg4RNg-Bu4qw_cp4vvhMsLvxfzzEH1ipLCNprCqf93XqxT-mzcKC_OOpmbhxbtEaxSB7DzA/s1600/reynolds1.png

Here, it looks like Reynolds falls victim to high fastballs from both right-handers and left-handers. For Reynolds, he whiffs on the outside fastball from LHP stick out as well as the low and inside fastball from RHP.

Here's a look at Reynolds against sliders (1542 from RHP, 224 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMBwSItfUCd7mCIxzmzvhlG_bbgP8aU5bj4SUwfA8eOr56AAKhsFAg7KInESLBHH73vx60r_qRQPsTBCo1lWijYo1XTdSTpF8YHfu0tVFLll26FqQqBMu-ivSeyxres0zaxz_p81SsXxF7/s1600/reynolds2.png

This is interesting. Reynolds strikes out far more against right-handed pitchers than against left-handed pitchers, but he tends to swing at (and miss) sliders coming from LHP more than he does from RHP. LHP sliders come low and inside while RHP sliders go low and outside, but even LHP sliders coming in from low and outside are swung at and missed by Reynolds.

Curveballs against Reynolds are a whole different story (567 from RHP, 228 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijQj9-cAqLRKOV4RxmEgQ0ftn4dVGEDF42qk_hrTvuxV8Z5WO2ebfLcOPwNihz0P9zJCc3WLmMailjya8UjxdWEitiE8MAH8W9ZG9MzyJnGpzlSL0lQq9z0iMTKnJymzpEqFmjkn0e011b/s1600/reynolds3.png

Here, Reynolds clearly struggles at connecting on curveballs from right-handed pitchers, some in the strikezone and most low and outside the strikezone. Curveballs from LHP also get Reynolds to whiff sometimes on the inside part of the plate as well as the lower part.

Finally, here's a look at Reynolds against changeups, which look like his greatest weakness when it comes to missing pitches (430 from RHP, 338 from LHP):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_YH62xz0sfH6LA672JqIJkZhCCDKu4wu41aHlF2V9dCIJYTcnCv1FUVaKTqomgOVNahpwiZI43Pj9seO3bjj6m4da26SJt8hakRSz2pTEADv4QBFrsq6Ha0H7JQZ24UfEgLZFWABP5NX7/s1600/reynolds4.png

This is very telling. The splits against changeups are very different, as Reynolds whiffs on over 50% of changeups from right-handers that are located on the edge of the strikezone at the bottom. This is much different from LHP changeups, where any spot doesn't look to cross over 30% whiff rate, except the lower righthand corner of the zone. What's also crazy about this is that when you look at Reynolds against changeups in general, he misses at around 20% of nearly all changeups low outside and nearly all areas within the strikezone as well.

From these plots, there are characteristics of Reynolds' swinging strikes that are similar to conventional thought and common knowledge, such as chasing high fastballs or low breaking balls. But the key to exploiting Reynolds' weakness at missing the ball when swinging is definitely throwing timely changeups, especially from right-handed pitchers, while it seems that Reynolds is less prone to whiff against LHP curveballs the most.

Sunday, August 22, 2010

Roy Halladay's Pitches

Roy Halladay has an array of pitches that he uses, and just got even better this season by modifying his changeup to create a different movement while using it more often. Looking at Halladay's pitch type table at Fangraphs, he is using his new changeup 12% of the time this season compared to less than 5% in previous seasons.

I wanted to take a look at Halladay's different pitches to see which ones he gets the highest percentage of swinging strikes off of. The best step to take in order to compare pitch types would be to generate run value heat maps, but seeing as that I still am experimenting with contour heat maps and local regression models, let's keep it simple first (just in case there are mistakes again). Also, I will be sampling at least 1000 pitches for most of my maps from now on. So instead of looking at his changeups, let's take a look at the swinging strike probability models on Halladay's other great pitches, the four-seam fastball, cutter, and curveball:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ckQUqXUahp7yrslGtEGeiot_Ob6Lhb6kfxfBh3GAtnlt_TAKgRyqJpku-KAI3S7jWXskAId8eL2cQIfoGS9AAntwDteZfLlRW5mTkqp5ZQooCpbA3lq_CHEXItoZhKAohmJsoTRxL6c7/s1600/halladay1.png

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA1bHix_p8ApFJ_aUYXZSXoGo9_ngq3PLudMxHpOR_KQjLygmlP_iHjCM_OtAhMoAh8ER-tePjtaOp9HgreCs9BGVWdJwIjiJSWTbJeNQvHyLgOYwfxPTo1aTerUtG9zuckdyYA7dsae4D/s1600/halladay2.png

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlJ4h3YIuVaalYwoGsanuwhQfLm6TJU3SHqmxavCm0xtjv2w5rU8bUd5hrILSjUfZnpdqVYzZm9LcqyOFM7rx7gtPw50WcQ4zgZ19x6t1QuLQmyS7Tw27uNbrKz4qHXEpdT3u7guxQulge/s1600/halladay3.png

Halladay, a right-handed pitcher, gets swinging strikes on high four-seam fastballs against right-handed hitters and high and inside fastballs against left-handed hitters. His cutters go outside on RHH and inside on LHH, getting RHH to whiff on cutters in the zone and LHH to whiff low and inside. Halladay's curveballs are the real meat here in terms of getting batters to whiff, as around 30-40% of curveballs thrown down and away from RHH and down and inside to LHH get batters to whiff.

What can I say? Halladay is one of the best pitchers in our generation, and I haven't even showed the results of his changeup yet. According to Fangraphs' pitch type values for Halladay, his cutter is his most valuable pitch, followed by his curveball, four-seamer, and changeup. But it's his new changeup that's been the most improved since last season, after he made adjustments to the grip on his changeup this offseason.

Corrections to previous Kershaw post

Long story short, I was fine-tuning the regression methods I've been employing to generate those pitch location heat maps, my first example being Clayton Kershaw's slider and curveball. A couple of hours working on this and I realized that much of what was graphed was incorrect (in fact, disregard my previous post). I'm going to reproduce the swinging strike percentage graphs from my last post, which make a lot more sense now (not as high SwStr% values of 60%, smoother plots, down in the strikezone instead of up in the zone, etc.):

These (hopefully) corrected plots still show that Kershaw's sliders induce more swinging strikes than his curveballs. The differences between these ones and the previous post are that the breaking pitches are inducing swinging strikes down in the zone, not up in the zone (the orientation was off in the first post). Needless to say, I regret that I did not mention this in my first post, although I did find the images very fishy. I'm still fine-tuning these sort of local regression models and turning them into surface-fitted filled contour maps. I had several post ideas following the Kershaw one, including a look at Tim Lincecum's pitches and what went wrong this season compared to last season, but I may have to take some time to fully understand the statistics and the method behind the madness of these heat maps before I make a post and include my interpretations again.

Sample size is a huge issue, and I have been informed that looking at a particular pitcher's pitch type may not be suitable for a local regression surface fitting precisely because the sample size is too small (about 200 pitches seems to be too small, especially when modeling swinging strike probabilities where the number of swinging strikes is in the dozens for this particular situation).

Hopefully I don't make this mistake again, but again, I started this blog in order to explore analytical ways of presenting sports information, including graphically, and I'm glad I'm learning a lot along the way.