Showing posts with label Royals. Show all posts
Showing posts with label Royals. Show all posts

Friday, January 16, 2015

How Optimal Was The Royals 2014 Lineup

My simulator is a good tool for looking at optimal batting orders.  It can play tens of thousands and even millions (with a smaller set of games) of games while keeping the opponent static which can give you a good idea which lineups win more games.  I am using the Royals most common lineup that they used in the 2014 season and seeing how optimal the simulator thought it was.  After doing this for the Dodgers and Cardinals, I decided to move on to the Kansas City Royals.  I put in some filters to cut down on the number of lineup permutations.  I tried to mimic what the Royals manager tended to do in not hitting lefties back to back other than the 9th then leadoff hitter etc...    Of course you can't expect any manager to be implementing the most optimal lineup but you also don't want him to be giving away fractions of wins each game that can add up over a 162 game season.  So down below, I list the Top 10 lineups along with the most common 2014 lineup in a table sorted by Wins/162 games.  I also list a table showing the frequency of where each player batted in each of the top 50 lineups.  I love the batting order frequency tables as they show you which players have a few dedicated positions in the order they should be hitting in and which players are more versatile in giving you an optimal lineup.  I used 2014 final season stats as the input projections for each hitter because that is for the most part similar to the data that the manager went by.  And I did all the simulations with the opposing team using a right handed starting pitcher.

Before we begin, here is the common Royals lineup that I compared against

Aoki-Infante-Hosmer-Butler-Gordon-Perez-Moustakas-Escobar-Dyson

                                        Top 10 Lineups
LineupWins/162 GB
Aoki-Infante-Moustakas-Perez-Gordon-Escobar-Hosmer-Butler-Dyson0.000
Aoki-Escobar-Moustakas-Perez-Gordon-Infante-Dyson-Butler-Hosmer0.065
Aoki-Escobar-Moustakas-Perez-Gordon-Butler-Dyson-Infante-Hosmer0.111
Aoki-Infante-Moustakas-Perez-Gordon-Escobar-Dyson-Butler-Hosmer0.143
Aoki-Escobar-Moustakas-Perez-Gordon-Butler-Hosmer-Infante-Dyson0.164
Aoki-Escobar-Hosmer-Perez-Gordon-Infante-Moustakas-Butler-Dyson0.166
Aoki-Escobar-Moustakas-Perez-Gordon-Infante-Hosmer-Butler-Dyson0.207
Dyson-Infante-Moustakas-Perez-Gordon-Escobar-Aoki-Butler-Hosmer0.238
Aoki-Escobar-Moustakas-Perez-Hosmer-Butler-Gordon-Infante-Dyson0.308
Moustakas-Escobar-Hosmer-Perez-Gordon-Butler-Aoki-Infante-Dyson0.354
.
.
             Batting Order Frequency Table
1st2nd3rd4th5th6th7th8th9th
Aoki3000090506
Escobar03200011070
Moustakas40260501005
Perez0303905030
Gordon90003001001
Infante014000190170
Hosmer20240601008
Butler010110150230
Dyson50000015030
.
.
Note:  The most common lineup ended up 0.56 wins per 162 games behind the most optimal lineup.  Not too bad.  The simulator liked batting Perez cleanup which the Royals did not do.  The simulator also liked hitting Escobar second instead of Infante (basically switching them).
.

Friday, February 25, 2011

Angels vs Royals, Opening Day Simulation


Now let's look ahead for the Angels. It is March 31st, opening day and the Angels are on the road playing the Kansas City Royals. The opening day starters are likely to be Jered Weaver vs Luke Hochevar. Lineups and depth charts are taken from MLBDepthCharts.com and I know that some players (K.Morales) may not be ready by opening day. I ran the likely lineups through my baseball simulator for 100K games. Below are a detailed look at the results for us baseball starved fans.

PlayerPos PlayerPos
AngelsRoyals
Maicer Izturis3B Melky CabreraCF
Bobby AbreuDH Mike Aviles3B
Torii HunterRF Billy ButlerDH
Kendry Morales1B Kila Kaaihue1B
Vernon WellsLF Alex GordonLF
Howie Kendrick2B Jeff FrancoeurRF
Erick AybarSS Brayan PenaC
Jeff MathisC Chris Getz2B
Peter BourjosCF Alcides EscobarSS


... And now the results!

AwayHome  FavoriteWin ProbOver/Under
LAAKCJered WeaverLuke HochevarLAA59.07%8.55


No surprise as it looks like the Angels will be a solid favorite on the road in the season opener, but of course anything can happen.

Here is the hitters boxscore(s)
NameABHitsH1H2H3HRRBIBBSOwOBABABIP
Maicer Izturis4.5331.3290.7810.4120.0330.1020.4780.3630.7040.3530.329
Bobby Abreu4.2311.2640.7550.3290.0240.1560.5470.5920.9280.3850.352
Torii Hunter4.3431.2460.7750.3030.0070.160.6060.3590.8260.3520.323
Kendry Morales4.2081.2650.7510.3380.0170.1590.6570.3860.6810.3720.328
Vernon Wells4.1821.2020.680.3190.0250.1780.680.3040.6820.3590.308
Howie Kendrick4.1581.3110.8040.3730.0510.0820.5320.2140.70.3620.364
Erick Aybar4.0041.150.7610.2590.0790.0520.4460.2620.6370.3330.331
Jeff Mathis3.8890.9090.5840.2380.0150.0720.4170.2680.8250.2830.28
Peter Bourjos3.8661.0230.6470.2560.0610.060.4140.1850.7260.3070.313
            
Melky Cabrera4.2631.140.6980.3270.0570.0590.3580.3050.7560.3190.314
Mike Aviles4.2371.2440.8310.2970.0210.0950.4350.210.7270.3340.336
Billy Butler4.0491.1770.7160.3320.0040.1260.5050.330.7640.3530.333
Kila Kaaihue3.9630.9990.6780.2090.0140.0980.4290.3590.9170.310.306
Alex Gordon3.8061.0020.6270.2370.0140.1240.4720.4130.9280.3370.319
Jeff Francoeur3.8241.0170.6720.220.0150.110.4370.230.8250.3160.314
Brayan Pena3.6760.9070.650.2230.0050.0280.2880.2680.8220.2830.311
Chris Getz3.6070.9320.5970.2360.0480.0520.3470.2670.6930.3090.308
Alcides Escobar3.5490.9050.6160.1980.0530.0380.3230.1810.6810.2910.306


And the pitchers boxscore
NameIPSOBBHitsHRPCFIP
Jered Weaver6.3965.2741.6526.7380.54599.8643.434
Fernando Rodney0.4810.360.1810.490.037.6913.657
Scott Downs0.4040.2880.1040.4260.0256.2313.353
Kevin Jepsen0.6020.4840.2520.6140.0339.8123.565
Jordan Walden0.2970.2490.1290.310.0284.9014.058
Hisanori Takahashi0.4330.3160.1590.4770.0437.0034.141
Rich Thompson0.2160.1340.0790.2510.0233.4964.47
Bobby Cassevah0.0160.0080.0070.0180.0010.2614.256
        
Luke Hochevar5.94.0971.7557.0140.69694.6484.238
Joakim Soria0.390.4180.0730.3570.0235.9292.372
Blake Wood0.4510.3220.1440.5230.0517.2594.202
Robison Tejeda0.7590.6750.2720.8060.06912.3413.673
Tim Collins0.4530.3210.190.5340.0537.5474.568
Jeremy Jeffress0.9140.6410.3851.0530.0815.1434.203
Jesse Chavez0.3320.2320.1120.4050.0495.4354.749
Kanekoa Texeira0.0050.0030.0020.00600.0873.739