Markov Chains
0.000 to 1.000 to 2.000 to 3.000Specify joint dist. \(\{X_{t}\}\) by specifying sequence of conditional probabilities \[ \mathbb{P}(X_{t+1} = s \vert X_{t} = s_{t}, X_{t-1} = s_{t-1}, X_{t-2} = s_{t-2}, \ldots, X_{1} = s_{1}) \]
Specifying how to generate next value based on all previous values
If \(\{X_{t}\}\) satisfies Markov property, we say it is a Markov chain
Markov chains on state space \(\mathcal{S} = \{1, 2, \ldots, S\}\) are determined by transition probability matrix \[ \boldsymbol{\mathbf{P}} = \begin{pmatrix} p_{1,1} & \cdots & p_{1,S} \\ \vdots & ~ & \vdots \\ p_{S,1} & \cdots & p_{S,S} \end{pmatrix} \]
\(p_{s, s'} = \mathbb{P}(X_{t+1} = s' \vert X_{t} = s)\): prob. of moving from \(s\) to \(s'\)
1: move to 2 w.p. 60% and remain at 1 w.p. 40%2: move to 1 w.p. 50% and remain at 2 w.p. 50%3, it remains there.1, how long until chain reaches state 3?\(O_{t}\) and \(B_{t}\): number of outs and runners at the start of at-bat \(t\)
\(O^{\star}_{t}\) and \(B^{\star}_{t}\): numbers of outs and runners at the end of at-bat \(t\)
Runs Scored during at-bat \(t\): \[ (O_{t} + B_{t} + 1) - (O_{t}^{\star} + B_{t}^{\star}). \]
Re-run simulation & keep running total of runs scored in each at-bat
1.000, chances of being at 2.100 in exactly 2 at-bats?\[ \boldsymbol{\mathbf{P}}^{n} = \boldsymbol{\mathbf{P}} ~ \overbrace{\times \cdots \times}^{n \textrm{ times}} ~ \boldsymbol{\mathbf{P}} \]
1.000, expect about 2.8 more at-bats before end of half-inning