Tuesday, February 03, 2015

San Francisco Giants - 2015 Most Optimal Lineup

.
I am using my simulator that plays actual baseball games to find what it believes are the most optimal lineups for the 2015 San Francisco Giants.  I started out with over 2,000 permutations of lineups, a group that was filtered to remove such things as left handed hitters hitting back to back or the pitcher not hitting 8th or 9th etc... and I slowly widdled it down to the top 25 lineups.  I also compared the best lineup against the lineup that MLB Depth Charts (0.40 wins/162 games worse) shows as a likely lineup and also one of the worst lineups to see what kind of spread there is.  The top 25 lineups all came within a half of a win per 162 games so really anything in that range is pretty good.  When you start nearing a full win differential with the top lineup then you definitely have problems.  You will see a few lineups that may seem strange in a most optimal list but keep in mind the simulator does not take into account psychological factors.  It is not like Joe Panik's mom is going to be calling up Giants management in tears asking for Joe not to bat 4th because he is going to have to change his approach at the plate.  The simulator just takes the Steamer projection inputs along with a speed rating for base running and gives you the best lineups.  Sure, the Giants manager won't use many of these lineups because they might not be prototypical but that is not part of the exercise.  I typically simulated each lineup over 1 million times which eliminated a large portion of the random noise and I did so only against a right handed pitcher.  Below are a list of the top 25 lineups and a batting order spot frequency table, where you can see how many times each player appeared in each of the top 50 lineups.

                                          Top 25 Optimal Lineups

RankLineupWins behind/162 games
1Pagan-Aoki-Posey-Panik-Pence-Belt-McGeHee-Pitcher-Crawford0.000
2Pagan-Aoki-Posey-Belt-Pence-Panik-McGeHee-Pitcher-Crawford0.027
3Pagan-Aoki-Posey-Belt-Pence-Crawford-McGeHee-Pitcher-Panik0.060
4Aoki-Pagan-Panik-Posey-Belt-Pence-Crawford-McGeHee-Pitcher0.116
5Crawford-Pagan-Belt-Posey-Aoki-Pence-Panik-McGeHee-Pitcher0.239
6Pence-Aoki-Posey-Belt-Pagan-Panik-McGeHee-Pitcher-Crawford0.247
7Aoki-Pagan-Belt-Posey-Panik-Pence-Crawford-McGeHee-Pitcher0.258
8Aoki-Pagan-Belt-Posey-Crawford-Pence-Panik-McGeHee-Pitcher0.263
9Belt-Pagan-Panik-Posey-Aoki-Pence-Crawford-McGeHee-Pitcher0.277
10Pence-Aoki-Posey-Panik-Pagan-Belt-McGeHee-Pitcher-Crawford0.286
11Pagan-Aoki-Posey-Panik-Pence-Crawford-McGeHee-Pitcher-Belt0.294
12Aoki-Pagan-Panik-Posey-Crawford-Pence-Belt-McGeHee-Pitcher0.296
13Crawford-Pagan-Panik-Posey-Aoki-Pence-Belt-McGeHee-Pitcher0.301
14Aoki-Pence-Panik-Posey-Belt-Pagan-Crawford-McGeHee-Pitcher0.321
15Pagan-Aoki-Posey-Crawford-Pence-Belt-McGeHee-Pitcher-Panik0.325
16Pagan-Aoki-Pence-Panik-Posey-Belt-McGeHee-Pitcher-Crawford0.327
17Pagan-Panik-Posey-Belt-Pence-Aoki-McGeHee-Pitcher-Crawford0.357
18Belt-Pence-Crawford-Posey-Aoki-Pagan-Panik-McGeHee-Pitcher0.360
19Aoki-Pagan-Panik-Pence-Belt-Posey-Crawford-McGeHee-Pitcher0.361
20Crawford-Pagan-Panik-Pence-Aoki-Posey-Belt-McGeHee-Pitcher0.393
21Pagan-Aoki-Posey-Belt-Pence-Panik-McGeHee-Crawford-Pitcher0.400
22Pence-Aoki-Posey-Belt-Pagan-Crawford-McGeHee-Pitcher-Panik0.407
23Pagan-Panik-Posey-Belt-Pence-Crawford-McGeHee-Pitcher-Aoki0.428
24Crawford-Pence-Panik-Posey-Aoki-Pagan-Belt-McGeHee-Pitcher0.442
25Pagan-Aoki-Posey-Belt-Pence-Panik-McGeHee-Crawford-Pitcher0.442
..

BadMcGeHee-Belt-Pagan-Aoki-Pence-Panik-Crawford-Posey-Pitcher2.438

             Batting Order Frequency Table
1st2nd3rd4th5th6th7th8th9th
Pagan19170059000
Aoki17170193102
Posey03241724000
Belt31814108402
Pence47281811000
Panik0514728806
McGeHee00010324211
Crawford70224413810
Pitcher00000002129

Synergy
20 Most Common Back to Back Occurrences in Lineup:
RankOccurrencesPlayer 1Player 2
137McGeHeePitcher
222PaganPanik
322PoseyBelt
419AokiPosey
518PitcherAoki
617AokiPagan
717BeltPence
817PitcherCrawford
916PenceBelt
1016PanikMcGeHee
1115PaganAoki
1215PanikPosey
1313BeltMcGeHee
1413CrawfordPagan
1513CrawfordPitcher
1612PencePanik
1712PanikPence
1812CrawfordMcGeHee
1911McGeHeeCrawford
2010AokiPence
2010PoseyPanik
2010BeltPagan
2010BeltPosey

10 Most Common Back to Back to Back Occurrences in Lineup:
RankOccurrencesPlayer 1Player 2Player 3
117McGeHeePitcherCrawford
215PoseyBeltPence
312PaganAokiPosey
412PanikMcGeHeePitcher
512McGeHeePitcherAoki
612CrawfordMcGeHeePitcher
712PitcherAokiPagan
811PaganPanikPosey
911AokiPaganPanik
1011McGeHeeCrawfordPitcher
1011PitcherCrawfordPagan


                                      Analysis

Pagan:  The simulator likes the switch hitting Pagan batting first or second in the lineup.  There are a couple of permutations where the simulator likes Pagan batting sixth but he seems best suited for the top of the lineup which is where he is likely to bat in reality.

Aoki:  Like Pagan, the simulator pegs Aoki at one of the first two spots in the lineup with the occasional drop to fifth.  There are even two appearances in the top 50 lineups with Aoki batting 9th.

Posey:  The Giants will get the most bang for their buck with Posey hitting third or fourth which is really the only two spots the Giants would ever hit him in.

Belt:  Shows up in many different lineup spots with second thru sixth being the best spots for him.  Belt finds himself paired either in front of or immediately after Pence in the lineup in 33 of the top 50 lineups.  The threesome of Posey-Belt-Pence show up as the second most likely consecutive trio in the top lineups.

Pence:  Finds himself all over the radar on the first six lineup spots with fifth and sixth being his best spots.  Which is pretty much in line where Pence expects to bat in the 2015 lineup.

Panik:  Appears all over the place in the top 50 lineups.  The only two spots he doesn't appear in is leadoff and eighth.  Panik makes more than a few surprise appearances in the middle of the lineup in the top list which may come as a surprise.  The Giants won't likely bat him in the middle of the lineup but the simulator does not take into account psychological reasons (like experience) for not batting a player in a certain spot.  With the L-R-L requirement Panik ends up all over the place.

McGeHee:  Looks to be a solid fit at the seventh and eighth spots as a late source of power in the lineup before the black hole of the pitcher bats.  McGeHee-Pitcher is the number one most common consecutive batting duo in the lineup and McGeHee-Pitcher-Crawford is the number one most common threesome.

Crawford:  He shows up all over the place but is a best fit hitting seventh, eighth, ninth or leadoff.

Pitcher: The pitcher shows up hitting eighth in 42% of the top lineups.  Most MLB managers will not hit the pitcher eighth for psychological reasons but if done correctly with the right personnel and lineup construction it is a good thing.

No comments: