THE BOOK cover
The Unwritten Book is Finally Written!
An in-depth analysis of: The sacrifice bunt, batter/pitcher matchups, the intentional base on balls, optimizing a batting lineup, hot and cold streaks, clutch performance, platooning strategies, and much more.
Read Excerpts & Customer Reviews

Buy The Book from Amazon


SABR101 required reading if you enter this site. Check out the Sabermetric Wiki. And interesting baseball books.
MOST RECENT ARTICLES
MAIL : You ask | We say

Advanced


THE BOOK--Playing The Percentages In Baseball

<< Back to main

Saturday, September 05, 2009

Reaching out to any of the pitch f/x guys…

By , 11:18 PM

As a Padre fan, I am continually frustrated at how often it APPEARS to me that their hitters (in general) look exclusively fastball in fastball counts and get off- speed pitches.  The problem with looking exclusively fastball as a batter is that you end up swinging and often missing at off-speed pitches outside of the zone and you often take off-speed pitches for strikes.  In general, for a batter to look exclusively for a certain pitch is a bad idea unless he is 80 or 90% certain that it is coming (or whatever the number is).

Anyway, would it be a lot of trouble for someone to look at the pitch f/x data and find out how often a Padre batter gets an off-speed pitch in a hitter’s count (1-0, 2-0, 2-1, 3-1, and 3-2) as compared to the league as a whole and how the batters do on those off-speed pitches in those hitters counts, again as compared to a league average batter (comparing count for count - such as with a 3-1 count and an off-speed pitch, Padre hitters create X value and the league as a whole at a 3-1 count and an off-speed pitch creates Y value)?

Also, if you can do that for the first half compared to the second half.  I suspect that pitchers are starting to realize that Padre hitters do that.

I am very down on Padre coaches.  Their team has dismally underperformed in all areas for 2 straight years now (check out my article in the 2009 THT).  If my suspicions are true about their hitters, they need to do something about it and fire their hitting coach at the same time.  The manager should have been fired a long time ago, in my opinion.

Maybe I am wrong though.  Maybe it is just selective memory.  Just as it looks to me like Eckstein grounds out to second base every time I see him bat (how often does he do that?), which is unusual for a RHB of course.


#1          (see all posts) 2009/09/06 (Sun) @ 11:02

It would only be a couple lines of SQL code if gameday included count information for each pitch, but it doesn’t.  That forces us to try to recreate the count from the events.  That would work great if pitch f/x was cleaner. But its pretty bad at times. Sometimes pitch f/x has an entire game as a single at-bat; much of the time, it leaves events out (originally, did pf/x leave out pitches where the batter made contact?).

I had no confidence recreate counts, but clearly people are doing this.  If anyone has a “cleaned” database that has count information, I’d love to get my hands on it.


#2    Nick      (see all posts) 2009/09/06 (Sun) @ 17:06

Pitch f/x has count information, cdm.  It lists the balls and strikes for each pitch.


#3          (see all posts) 2009/09/06 (Sun) @ 17:23

@Nick, not in the actual data in the xml files it doesn’t, it just stores the final count of each at bat and puts that as the count of each pitch in that at bat (which is obviously wrong).

Now it’s not too difficult to remedy this situation...i don’t know what cdm is talking about regarding entire games being treated as one at bat, but it was fairly easy for me to create a formula in my stat program that calculated the balls and strikes at the time each pitch was thrown.

I’m using JMP to do this.  Mike Fast supposedly has done so in mysql (see http://www.beyondtheboxscore.com/2009/8/19/994666/saberizing-a-mac-4-pitch-f-x and the links and fast’s comments, i know its in there).  And i’m sure you can do it in R as well.


#4    Nick      (see all posts) 2009/09/06 (Sun) @ 18:13

Hey, Garik16, it’s vivaelpujols. 

Mike included his second parser, which does actually update each count for balls and strikes.


#5    cdm      (see all posts) 2009/09/06 (Sun) @ 18:39

I suppose there aren’t too many of these, but here are the instances where the ab_id is clearly wrong.  This shows the greatest number of pitches that are being attributed to a single at bat:

select ab_id, count(type) as pitch_count
from pitches
group by ab_id
order by pitch_count desc

ab_id count
122341, 252
252801, 154
111194, 140
98684, 123
133702, 121
129435, 113
134148, 101
133597, 83
116111, 82
427663, 75
129653, 54


Page 1 of 1 pages


Name (required)
E-Mail (optional; WILL be published)
Website (optional)

<< Back to main


Latest...

COMMENTS

May 25 11:02
Do pitcher’s reach back for velocity when needed?

May 25 10:58
Rooting for laundry

May 25 10:14
Largest demonstration in Canadian history?

May 25 09:39
What sabermetrics is NOT

May 25 06:39
Lack of hustle during a game

May 25 02:38
NFLPA lawsuit against collusion

May 25 01:43
Neal Huntington’s best moves

May 24 17:04
Firefox, IE, or Chrome?

May 24 12:07
How to beat the shift

May 24 11:11
Incredible story