Optimization of Batting Order Frank R. Zheng. A Quick Introduction to Baseball  Two teams alternate batting and fielding.  Batting team tries to score.

Slides:



Advertisements
Similar presentations
IHSA Rule Change Flex Player
Advertisements

Batting Out of Order.
Take Part. Get Set For Life. National Federation of State High School Associations DP/FLEX RULE.
2013 NFHS SOFTBALL DP/FLEX.
DP/Flex Rule POE 2014.
2013 NFHS SOFTBALL DP/FLEX.
Baseball Rules Questions
Umpire Rules Test (cont.) 29. runner on 2 nd attempts to steal 3 rd. The batter swings and nicks the pitch that is caught by the catcher, then steps backward.
Umpire Test questions One out, runners at 2 nd and 3 rd. Batter hits a grounder to 3 rd baseman, who gets R3 in a rundown between home and 3 rd.
Baserunning Awards. B1 hits a slow roller to F5 who makes no play. The batter –runner feints an attempt to go to second and F5’s subsequent throw goes.
Freshman Physical Education Curriculum
Baseball: The Game of Statistics By: Jenna Hannoosh and Katie Higgins.
The Basics of Baseball for middle school physical education class’s
Baseball Statistics By Krishna Hajari Faraz Hyder William Walker.
Markov Chains in Baseball
 1791 was the first mention of baseball because it was banned from being played with 80 yards of town hall in the state of Massachusetts.  Believed.
 Baseball Hall of Fame Video Conference Information.
CSE 219 COMPUTER SCIENCE III PROJECT INTRODUCTION: A FANTASY BASEBALL DRAFT KIT.
Baseball is a bat and ball sport played between two teams of nine players each. The goal is to score runs by hitting a thrown ball with a bat and touching.
Baseball Rules.
SCOREKEEPING CLINIC Presented by: Anita Arnold 2/19/2015.
NAA Girls Softball Division 2 Rules April Code of Behavior The league provides a foundation for girls to build their athletic abilities and play.
Bristol Softball Association Scoring the game Bristol Softball Association Benedict Bermange.
Scorekeeping Basics Step by Step. Disclaimer This training is intended to help volunteers feel prepared to handle the Official Scorebooks with minimal.
Western Piedmont Baseball Rule 7 Batting. Rule 7 Batting Player becomes batter when he steps into a batter's box. Improper batter when out of order. Can.
Slow Pitch Softball Origin: Slow Pitch softball was created by George Hancock in 1887 in Chicago, IL. Equipment: Glove Bat 12” Ball ( 11” ball also used)
OFFICIAL DBPB SCORECARD – FRONT SIDE. Basic Steps – Filling in the official card 1)Obtain a copy of each teams line-up cards from each coach at least.
2010 SOFTBALL NFHS DP/FLEX RULE. The DP/FLEX RULE DP rule replaces DH rule. But…..
6.07 BATTING OUT OF TURN. (a) A batter shall be called out, on appeal, when he fails to bat in his proper turn, and another batter completes a time at.
 Started in Chicago in the late 19 th century  Equipment consisted of an old boxing glove made in a ball with shoe strings wrap around it  1889 George.
Two Sample Project Example 5/6/2013 Ms. Browne made this up Saber metrics: TX Rangers vs. SF Giants.
Lets see how much you really know about the rules of baseball?
M & W Softball. BRING YOUR ID! No alcohol! Teams 10 players on the field Teams have the choice to bat 11 –If you start with 11, must end with 11 Team.
Baseball A Homemade PowerPoint Game By Jim Norton University of Georgia Play the game Game Directions Story Credits Copyright Notice Game Preparation.
Baseball Challenge! Team Sports Final Exam Practice.
Baseball Taylor Brown. Baseball A baseball game is played by two teams who alternate between offense and defense. There are nine players on each side.
Baseball & Softball.
What do you want to know about Softball Stats? 1.Lineup Changes/Substitutions 2.Stolen Base vs. Defensive Indifference 3.More Detail the Better 4.Spring.
How to Keep Score.  If the hitter grounds out to shortstop, for example, write in "6-3," which shows the shortstop threw him out at first base.  If.
Baseball Objects Baseball Actions Fantasy Baseball.
Sabermetrics- Advanced Statistics in the MLB. More On Base Percentage (OBP) measures the most important thing a batter can do at the plate: not make.
Case 2: Assessing the Value of Alex Rodriguez Teresa Sonka Gail Bernstein.
Mike Herrmann Audience: 6 th Grade Students  Major league baseball is composed of two leagues  National League present  American League –
Frank Davis 7/25/2002Demand Forecasting in a Supply Chain1.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Understanding Randomness.
Scheduling the Optimal Baseball Line-up Stefanie Molin Christian Morales Sarah Daniels.
Rensselaer Polytechnic Institute Lally School of Management & Technology MGMT 6070 Statistical Methods for Reliability Engineering Term Project Presentation.
STATE MEETING 2013 SOFTBALL. National Federation of State High School Associations.
Baseball. Rules Each team has 9 players plus substitutes. The only ways you can be out is by being caught, tagged, struck out or out on a base. The.
Softball Review Answer the following questions. The slide after each question gives you the correct answer - check yourself!
By: Amanda Badertscher Steven Rahn.  The class will be split up into two teams.  Only one person from each team can answer.  Each team will make a.
A baseball/softball game is played by two teams who alternate between offense and defense. There are nine players on each side. The goal is to score more.
 Softball- is a bat-and- ball sport played between two teams of 10 to 14 players.  softballs are larger than baseballs, and the pitches are thrown.
PCLL Scorekeeper Presentation Scorekeeper’s Clinic 101.
Baseball A national sport A presentation By Colin Cardinal.
Scorekeeping Guide BASIC BATTING STATISTICS At Bats (AB) = Plate appearances minus [ BB + HBP + SB + SF + CI ] Hits = 1B + 2B + 3B + HR Batting Avg. =
Homepage Bat-and-Ball Games Ball-over-Net Games WELCOME!
1 Softball Freshman Physical Education Curriculum.
Baseball-Softball Scorekeeping 101
팀워크가 중요한 스포츠 박세호 정성호 박수진 정선진.
Baseball Overview Group Name: oneM2M TP30 Source: ATIS
The Basics of Baseball for middle school physical education class’s
The Math of Baseball Will Cranford 11/1/2018.
Umpire Training Questions
Umpire Training Questions
Science Fair – Baseball
2010 SOFTBALL NFHS DP/FLEX RULE.
Probability in Baseball
Field of Dreamers - Official Scoring Guide
Presentation transcript:

Optimization of Batting Order Frank R. Zheng

A Quick Introduction to Baseball  Two teams alternate batting and fielding.  Batting team tries to score runs.  Runners must advance through first, second and third base in order to reach home  Runners are advanced by players getting hits, drawing walks, stealing bases, or errors by the opposing team’s defense  The team with the most runs at the end of the game wins

Batting Order  Before each game, the team’s coach must submit the batting order of the team  The batting order dictates the order in which players step up to the plate  Substitutions such as pitch hitters or pitch runners are allowed, but are relatively rare  The optimal batting order maximizes the expected run production

Batting Order Optimization as a Scheduling Problem  Finding the optimal batting order for a team can be thought of as a single-machine scheduling problem  Each batter is modeled as a job, and the batting order is a set of 9 such jobs  The objective function is to maximize the run production of the lineup  This is a complicated function that requires simulation to analyze

Approach to Optimize Batting Order  Each baseball team has a roster of ~15 batters, of which only 9 compose the batting order  Brute forcing all the possible lineups is somewhat impractical – need to calculate 15!/6! combinations (over 1.8 billion unique lineups)  Solution is to combine a qualitative “conventional wisdom” approach with a data-driven quantitative methodology

Batting Order Conventional Wisdom  Over the many decades baseball has been played, coaches have dedicated much thought to finding the best lineup  Traditional lineups follow this general order   1-2 – batters who get on base on a lot  3-5 – batters who get a lot of extra base hits  6-8 – weak batters  9 – pitcher/weak batter/batter who gets on base a lot  Key is to have players with a high realization value (lots of runs batted in) follow those with a high potential value (getting on base a lot)  i.e., get runners on base so your power hitters can drive them home

Underlying Causes of Run Production  There is a limited set of events that have the potential to score runs  We refer to these as “Run-Producing Events” or RPEs  RPEs include   Singles (1B)  Doubles (2B)  Triples (3B)  Home Runs (HR)  Bases on Balls/Batter Hitter by Pitch (BB+HBP)  Errors (ERR)

Batting Performance  Does the model fully capture differences among player batting characteristics?  How to distinguish between ‘table setters’ vs. ‘sluggers/cleanup hitters’? Regression Value OUT1BBB+HBP2B3BHRERR

Realization Value vs. Potential Value  Realization Value is the expected number of runs each RPE actually scores  Potential Value is the effect each RPE has on the team’s chances to score additional runs in the same inning  Differentiating between these two metrics allows us to quantitatively determine which players create the potential for scoring runs and which ones are good at bringing those players to home plate OUT1BBB+HBP2B3BHRERR Realization Value Potential Value Total Value

Differentiating Players  By comparing each individual’s realization value and potential value to the team’s overall averages, we can group players into one of four categories   (R+, P+) Strong Hitters – players who bat in a lot of runs but also create the potential for more runs  (R+, P-) Run Producers – players who bat in a lot of runs  (R-, P+) Table Setters – players who create a lot of potential for more runs  (R-, P-) Weak Hitters – the team’s worst players  This gives us the quantitative data we need to apply the conventional wisdom discussed earlier

Overview of Heuristic  Now we have the tools we need to combine the holistic conventional wisdom with quantitative data  We adapted this heuristic from the work of Sokol  After determining which players fall into which set, we attempt to follow the conventional wisdom of placing batters with high realization values after a group of batters with high potential values  We want to build up potential value and then release it with realization value  The optimal order of the four sets is   (R-, P+)  (R+, P+)  (R+, P-)  (R-, P-)

Heuristic Steps  Select the two batters with the highest P in the (R-, P+) set and assign them to the top two slots in the batting order, by order of increasing P  Place all batters in the (R+, P+) group in the next slots, ordered by decreasing P  Fill as many remaining slots as possible with batters from the (R+, P-) group, ordered by decreasing P  If there are any remaining slots, fill them with batters in the (R-, P-) group, ordered by increasing P  For each player left in the (R-, P+) group, replace a (R-, P-) player if possible, ordering the new (R-, P+) players by increasing P

Application to 2011 New York Yankees  In order to see the effects of our heuristic, we applied it to the 2011 New York Yankees  First, we placed each player into the appropriate category (R+, P-) Run Producers (R-, P-) Weak Hitters (R-, P+) Table Setters (R+, P+) Strong Hitters

Simulation  In order to determine the value of our objective function (the expected number of runs scored per game) we need to simulate a game of baseball using the designated lineup  Our simulation follows the structure of a normal game of baseball  At each point in time, the next batter steps up to the plate and either generates a RPE or gets out, depending on that player’s distribution  RPEs advance runners according to the rules of baseball or by probabilistic outcomes determined using data from the 2011 season  The number of outs and runs is recorded for each of 16,200 games

Results of Analysis Standard Lineup  This lineup generated an average of 5.68 runs, and is expected to have a 61.3% chance of winning a 5-game series against the Detroit Tigers Heuristic Lineup  This lineup generated an average of 5.84 runs, with a 64.7% chance of winning a 5-game series against the Detroit Tigers Batting OrderPlayerSet 1Derek JeterR-, P+ 2Curtis GrandersonR+, P- 3Robinson CanoR+, P- 4Alex RodriguezR+, P+ 5Mark TeixeiraR+, P- 6Nick SwisherR-, P+ 7Jorge PosadaR-, P- 8Russel MartinR-, P- 9Brett GardnerR-, P+ Batting OrderPlayerSet 1Brett GardnerR-, P+ 2Derek JeterR-, P+ 3Alex RodriguezR+, P+ 4Robinson CanoR+, P- 5Curtis GrandersonR+, P- 6Andruw JonesR+, P- 7Mark TeixeiraR+, P- 8Russel MartinR-, P- 9Nick SwisherR-, P+

Conclusions and Other Applications  The heuristic was only able to generate a lineup with a 3% increase in the amount of expected runs  Since statistical analysis in baseball is a known quantity, it may be the case that the NYY have already studied this problem in great detail  Even if the gains in expected run production were minimal, there are other applications for our methodology   Potential trades or acquisitions of new players can be evaluated by what effect they would have on the team’s expected run production  Can apply a game-theoretic approach to maximize your expected win rate by adjusting the distribution of your team’s run production to maximize the potential of winning a game against a specific team