Generating a Markov chain vs. computing the transition matrix https://freakonometrics.hypotheses.org/6803