Outdated code in Julia Finite Markov Chains example


#1

Author: stephe...@gmail.com

Reading through the “Finite Markov Chains” lecture for Julia, I came across the following outdated/deprecated code in one of the examples:

Under “Using QuantEcon’s Routines / Adding state values”, the example uses simulate_values(mc, 4),which does not exist in QuantEcon 0.5.1. It should use simulate(mc, 4) instead. The immediately following example uses simulate(mc, 4) to return the indices; this should be simulate_indices(mc, 4) instead.

Minor issue, but I thought I’d point it out.

Stephen


#2

Thanks Stephen!

That’s greatly appreciated. I’ve just fixed it in the source files. It usually takes a day or so before the change propagates.

Please let me know if you find any other bugs or have suggestions for improvement.

Thanks again,

John.