WOLFRAM|DEMONSTRATIONS PROJECT

Run Expectancy Matrix in Baseball

​
singles
0.1
doubles
0.05
triples
0.01
home runs
0.03
bases on balls
0
taking an extra base
0
Interactively change probabilities for singles, doubles, triples, home runs, bases on balls, and taking an extra base to generate a run expectancy matrix, which is the expected number of runs for a given base position and a given number of outs.