Presentation on theme: "A Markov Chain Model of Baseball Used as a project for an undergraduate Stochastic Modeling course Eric Kuennen Department of Mathematics University of."— Presentation transcript:
A Markov Chain Model of Baseball Used as a project for an undergraduate Stochastic Modeling course Eric Kuennen Department of Mathematics University of Wisconsin Oshkosh Presented at: Joint Mathematics Meetings Washington, D.C. January 6, 2009
Markov Chain Model for Baseball View an inning of baseball as a stochastic process with 25 possible states. There are 8 different arrangements of runners on the bases: (bases empty, runner on 1 st, runner on 2 nd, runner on 3 rd, runners on 1 st and 2 nd, runners on 1 st and 3 rd, runners on 2 nd and 3 rd, bases loaded) and three possibilities for the number of outs (0 outs, 1 out, 2 outs), for a total of 24 non-absorbing states. The 25 th state (3 outs) is an absorbing state for the inning. 0,01,02,03,012,013,023,0123,0 0,11,12,13,112,113,123,1123,1 0,21,22,23,212,213,223,2123,2
Transition Probabilities A Markov Chain is a stochastic process in which the next state depends only on the present state. In other words, future states are independent of past states. Let P ij denote the probability the next state is j, given the current state is i. Form the Transition Matrix T = [P ij ]. w = probability of a walk s = probability of a single d = probability of a double t = probability of a triple h = probability of a home run out = probability of an out
Stealing Bases 0, , , , , , , , , , , , , , , , , , , , , , , , How successful does a base-stealer need to be on average in order for it to be worth-while to attempt to steal second base with a runner on first and no outs?
Methods of Analysis Experimental Simulations with Minitab Students write a Minitab macro that uses a random number generator to simulate the step by step evolution of the Markov Chain Large-scale simulations are used to estimate Expected Run Values and perform situational strategy analyses
Two Simulated Innings First Inning 1. Single 2. Out 3. Double 4. Single 5. Out 6. Single 7. Out Second Inning 8. Single 9. Homerun 10. Out 11. Out 12. Single 13. Out
Sacrificing with the game on the line Mean number of runs scored: Probability of scoring at least one run: Mean number of runs scored: Probability of scoring at least one run: In the ninth inning, your team needs one run to win or tie. Suppose the first batter reaches first. Should you bunt?
Reference Sokol, J.S. (2004) “An Intuitive Markov Chain Lesson From Baseball,” Informs Transactions on Education. 5 pp
Please contact me for: Sample Maple Worksheet Sample Minitab Macro Project Assignment Handout