Transition Matrix

This matrix describes the nodes and step probabilities in the Markov chain. It is a column stochastic transition matrix where each column sums to a value of one.


Gambler's Vector

This table describes the gambler's starting money. A "1" is present in the vector, shown as a column here, at the position correlated with the value of the gambler's starting money. The position of the "1" changes with the "Starting Balance" slider input. The vector length changes with the "Upper Limit" slider input.


Earnings Probability Vector

The vector resulting from the product of the Transformation matrix and the Gambler's Vector.

Interpretation: The vector contains the probabilities of having each associated amount of money left over. A high probability of having 0 dollars suggests a losing strategy. A high probability of having the maximum number dollars suggests a winning strategy. Try adjusting the starting value while leaving the other slider inputs stable to learn the effect of starting value on final earnings probabilities.