Dear All,
I am trying to run the code for simulating from a Markov Chain in Julia (http://quant-econ.net/jl/finite_markov.html). I get the following error message when executing the draw(d,5) command
:
ERROR: PyError (:PyObject_Call) <type 'exceptions.TypeError'>
TypeError('draw() takes no arguments (2 given)',)
[inlined code] from /Users/garlappi/.julia/v0.4/PyCall/src/exception.jl:81
in pycall at /Users/garlappi/.julia/v0.4/PyCall/src/PyCall.jl:344
in draw at /Users/garlappi/.julia/v0.4/PyPlot/src/PyPlot.jl:460
QuantEcon is installed. Any idea?
Thank you for the great tutorial!
Best,
Lorenzo