Page 1 of 2

Game Theory and Bunting...

Posted: June 8 07, 8:29 am
by jim
Nice discussion with Tango yesterday on WPA, and some issues I had on some of the chapters in "The Book". I complained about the methodology used in a chapter looking at the value of bunting, and admitted that I had no clue how to approach the problem.

If you haven't read "The Book" and are interested in statistics, get it. Many articles on SABRmetrics tend to stop to early in their arguments. For example, I've read more than one piece on sacrifice bunts that pretty much look at the run expectancy(RE) tables and simply make the statement that the cost is to high by looking at the RE before a sacrifice, and after a sacrifice. Some go further, realizing that a certain percentage of time the guy bunting actually gets on base through a hit or error, or on the other side of the coin pops into a double play. Better than looking at the RE tables, but still missing something, and here is where "The Book" attempts to go by using game theory.

Simply put, "The Book" attempts to take into account the threat of a bunt. Misaligned defenses may make them more susceptible to ground balls that under normal circumstances would be DP's, but with a defense scrambling around defending against a possible bunt the ball finds a newly created hole.

The problem is data - or lack of it. Somehow, they were able to get data on atbats where the batter at least showed bunt during one of the pitches. For reasons not fully explained, there are isolated cases where AB's were counted where the batter never squared around, but they reassure the reader that it was rare.

"The Book" adds everything that happened during these AB's, and put them in a table to determine the real outcome of a bunt attempt. We are familiar with TLR's tricks with the pitcher - square around, pull the bat back etc.. that sometimes result in more than just moving the runner over. If AW squares around, pulls the bat back and hits one out of the park, that HR is counted as a bunt attempt. This is where I think the authors go astray.

I can see counting a ground ball getting by a misaligned defense caused by the threat of the bunt, but disagree that the HR had anything to do with the bunt defense. Just typing this, I did realize that the HR may have something to do with pitch selection. Maybe the HR is caused by bunt defense, if you factor in the fact that possibly the pitcher was throwin a get-me-over pitch expecting the bunt.

So, what I'm looking for is opinions on how to analyze this. Did "The Book" get it right by counting everything, should they have only counted ground ball singles? What about the 0-2 count when the bunt is off and defense knows it? A HR on that count (unlikely because of hitters general decline as the pitch count goes against them)?

The conclusion reached by "The Book" was that things were more or less in balance - that managers bunt about the right amount of time. Think of poker and the occasional bluff, if you always bet on a good hand and never bet on a bad hand you aren't going to do well. Same with bunting, if you don't threaten a bunt even in less than ideal situations you become too predictable, and defenses can react accordingly.

I loved the attempt to look past the obvious, I just didn't like the fact that it was counting situations where the bunt may have not been on to begin with(possibly a guy attempts to bunt for a hit during the AB), a HR was hit, and it counts in the positive side of the equation.

Opinions?

Posted: June 8 07, 11:33 am
by TimeForGuinness
Wow...what an interesting topic.

I guess I am of the opinion that "The Book" tends to get the aspect of the threat of the bunt correct if the pitch selection is included in what they define as the misaligned defense. The reason being is that the pitcher and the pitch can't be taken out of the equation. If he is throwing a "get me over so he can bunt it pitch", and the guy pulls back and hits a deep one...the defense/pitcher is then misaligned in his selection.

It is almost like there are two defensive parts to the bunting threat solution: 1) the pitch selection and location, and 2) the misaligned fielding defense.

If the pitcher pitches his normal routine against a bunt, then fielding defense could be misaligned.
If the pitcher pitches a "get me over" pitch, then the pitcher's pitch and the fielding defense could be misaligned.

What is really interesting about this (as I am typing) is that the pitcher is included in both parts: he is a pitcher and also a fielder after the pitch is thrown. Therefore, I really wonder if the threat of the bunt tends to misalign the pitcher more than any other defensive fielder. (the pitcher could do the most damage to his team during a bunt threat)

This was very apparent for the Detroit Tiger pitchers in the World Series last year. (Fielding mistakes)

Cool stuff, I might need to pick up the book.
TFG

Posted: June 8 07, 11:43 am
by tangotiger
There are customer reviews and chapter previews available for you, so you know what you are getting yourself into:

http://www.insidethebook.com/reviews.shtml

Posted: June 8 07, 11:48 am
by jim
Here is a question, and I know there probably isn't an objective answer.

By counting a bunt attempt on any pitch, how much "overcounting" are you doing by considering the entire AB as a bunt attempt. In other words, how many times does a batter at least show bunt, but at some point in the AB it is obvious to the defenders that there is no bunt. My initial reaction when reading the chapter was "quite a bit". As I think about it more, I'm starting to think "not so much".

There clearly are going to be times when the batter gets to a count that the defense is guessing the bunt is off, and any event that happens on that particular count is not really a function of the attempted bunt(other than possibly working yourself into a 2 strike count). But how many times does that happen - enough to skew the results significantly. Or, even with the "overcounting" bunt situations, are we close enough?

Posted: June 8 07, 11:59 am
by tangotiger
I don't know the answer, but I'll ask mgl if I he can drop.

I also want to remind people of the question: what happens if you "show" bunt during the PA?

Obviously, what some are asking, and properly to is:
"what happens if I've already shown bunt, but I'm now down 0-1, and I'm a good hitter to boot?"

So, there are many different circumstances and different questions that can be asked. The aggregating of data is sometimes necessary to get your sample size high enough.

The key though is to focus on:
1. the question being asked
2. can I apply the answer to that question to my specific question

Posted: June 8 07, 12:07 pm
by jim
tangotiger wrote:I don't know the answer, but I'll ask mgl if I he can drop.

I also want to remind people of the question: what happens if you "show" bunt during the PA?

Obviously, what some are asking, and properly to is:
"what happens if I've already shown bunt, but I'm now down 0-1, and I'm a good hitter to boot?"

So, there are many different circumstances and different questions that can be asked. The aggregating of data is sometimes necessary to get your sample size high enough.

The key though is to focus on:
1. the question being asked
2. can I apply the answer to that question to my specific question
That would be terrific if mgl could comment.

The more and more I think about this, I'm starting to see the point. If you show bunt one time, it's doing something to the defense. Even if you take the bunt off, the defense is possibly not in an optimal position because of the bunt attempt.

Even when the defense knows the bunt is off - for example an 0-2 count on two bunt attempts - the defense knows it's off and playing at normal depths. My initial reaction is that it is crazy to count the event in the attempted bunt column, but how did the 0-2 count get there to begin with? The bunt attempt. A .250 hitter just turned himself into a .160 hitter by failing to get the bunt down, therefore maybe that should be counted - even if it results in a rare HR.

I need to re-read the chapter and chew on this some more.

Posted: June 8 07, 12:07 pm
by TimeForGuinness
Isn't the threat of a bunt in order to misalign the defense heavily dependent on the type of hitter at the plate?

In this same line, is there any correlation to the success rate of pitchers who show bunt then pull back for a hit to the success rate with middle of the order hitters who surprise drop a bunt for a hit.

While I would never want a middle order hitter to drop a bunt, I am interested in the correlation of reaching base on misaligned defenses due to the bunt.

Posted: June 8 07, 12:16 pm
by jim
TimeForGuinness wrote:Isn't the threat of a bunt in order to misalign the defense heavily dependent on the type of hitter at the plate?

In this same line, is there any correlation to the success rate of pitchers who show bunt then pull back for a hit to the success rate with middle of the order hitters who surprise drop a bunt for a hit.

While I would never want a middle order hitter to drop a bunt, I am interested in the correlation of reaching base on misaligned defenses due to the bunt.
No clue, but a great question. Tango?

Posted: June 8 07, 12:18 pm
by tangotiger
MGL did look at the speed of the batter, the quality of the batter, the game situation, etc.

If you want to get a sense of what he covered, look at the names of Tables 96 through 119:
http://www.insidethebook.com/cl.shtml

Posted: June 8 07, 4:38 pm
by mgl
I'll be back later. Whether you count a "hybrid" PA as a bunt attempt or a non-bunt attempt does not really matter as we have already determined that the expectancies for both are roughly the same.

Also, I don't have any information in the data as to whether the player squared around and then pulled the bat back. I am only counting as a bunt attempt where the data has the batter squaring (and fouling, missing, or putting the ball in play) at least once. I do put some of the 4 ball walks into the "bunt attempt" bucket aa obviously some of them were when the batter was going to bunt. The reason you have to do that when you do a bunt attempt analysis is to make sure that you don't undercount the number of walks when a batter is going to bunt and not swing away. In any case, it is not that big a deal as those instances are rare.

As far as the defenisve alignment, it is not necessarily important to "trick" the defense by squaring and pulling back or even squaring on some pitches and not on others (although that is fine I suppose, although I don't like the idea of pulling the bat back and doing a "butcher boy" slap hit).

The whole idea of game theory is to force the defense the play agnostically by sometimes bunting and sometimes not, even in the EXACT same circustances (score, batter, pticher etc.). That way you increase your expectancy by both bunting and non-bunting as compared to where the defense would play if they knew that you rarely if ever bunted in bunt situations or almost always bunted in bunt situations (which many managers do).

In order for that to be correct (sometimes bunt and sometimes not to force the defense into an agnostic position) the expectancy from bunting and non-bunting, given the batter, pitcher, score, etc. has to be fairly close. As well, the defense/manager has to be fairly astute which is debatale of course. IOW, if the defense continues to play for a bunt even though you rarely bunt, then you should probably always swing away, and vicer versa.

In reality, you probably don't need to vary your bunt and non-bunt strategies randomly as the defensive is not going to be smart enough to figure out that you are doing that. The analogy in bluffing and poker is that against most amateur players and even some professional ones, you generally don't use that kind of optimal "assume my opponent is using optimal strategy" strategy. For example, against an opponent who calls bluffs too much, you rarely if ever bluff and against the little old lady who never calls a bluff unless she has a good hand, you continue to bluff a lot.

Anyway, in reality in baseball, you can probably bunt your best bunters and speediest runners and swing away your worse bunters and slowest runners. If you think that your opponent can figure that out and play accordingly, then you can mix that up a little, for example bunt your good, speedy bunters 70% of the time and your slow, bad bunters, 20% of the time.

The other thing is that the defense is at a grave disadvantage in terms of having to "go first." They have to tip their hand as far as how they are going to play, to some extent. So as a batter, you can obviosuly use that information to your advantage. If they play too far in, you can swing away a lot and if they play too far back you can bunt a lot. Of course, the intelligent defense, if they know that they are playing against an intelligent offense, will play somewhere in between such that the offensive team's expectancy is exactly the same whether they bunt or swing away.

Now, as far as including, for example, a HR when the batter was bunting and then the count went to 2 strikes or even when the batter was bunting and then changed his strategy at a 1-0 or 0-1 (or whatever) count, in the "bunt attempt" or "non-bunt attempt" bucket, it depends in your question. If your question is, "What happens, in the aggregate, when batters attempt a bunt and then switch when the count goes to 2 strikes (which most non-pitchers do of course)," then you MUST include all things that happen after the count is 2 strikes but no bunt is attempted. If your question is what happens when the batter attempts a bunt but occasionally switches and swings away, then again, you must include in your "bunt attempt" bucket those swing aways when the batter started out attempting to bunt.

In the first instance, you MUST make sure that you include the 2 strike results in your bunt bucket when the batter was originally attempting to bunt. In the second instances, when the batter occasionally switches from bunting to non-bunting or vicer versa, it is not really going to make a difference which bucket (bunt or non-bunt) you include them in.

But these things have nothing to do with the alignment of the defense. The issue of the alignment of the defense is simply about game theory and how the alignment of the defense dramtiacilly affects the aggregate result of both the bunt attempt and the non-bunt attempt. For example, game theory aside, if the defense is rushing the plate like gangbusters in anticipation of the bunt, the WE or RE from a bunt attempt is extrememly low and it is rarely if ever correct to bunt even with a weak hitter at the plate. And of course, the batters production from swinging away is going to be considerably higher than if the defense were playing normally.

Conversely if the defense is not expectting a bunt, say with a good hitter at the plate, then a bunt attempt obviously has a much greater aggregate outcome and it can even be correct for a good hitter (who bunts well) to attempt a bunt (the WE from the bunt attempt could be higher than if he swings away).