Header and Body 3

Technical Description

This program runs using MATLAB™. The simulator generates probabilities of given outcomes of certain plays during the course of a baseball game based off true MLB statistics. It then generates random occurrences of each play, thereby simulating what would happen in a real game. The simulator first checks if there was a hit recorded on a play, then either moves the runners up or records an out. After the simulator logs three outs in a given inning, it resets the bases and continues to simulate. The simulator performs this nine times to represent nine innings, then resets the count to zero and begins to simulate a new game. After many games, the predictions will converge to their true expected value at a rate of the square root of the number of games simulated.