Mathematics — Probability · markov-chains-introduction
Problem
Write a program to simulate the outcomes of a Markov chain after n steps, given the initial starting state and the transition matrix P as data (see Example 11.12). Keep this program for use in later problems.