Closed lmbanunes closed 8 months ago
Thanks for reporting this Leonardo! Looks like something may have changed with array coercion since I wrote that tutorial.
The issue is that simulation.beta
is technically a column vector, so simulation.beta[1]
selects a vector (of one element) rather than a single number. You can replace this with simulation.beta[1, 0]
to overcome it.
Thanks for solving the issue Jeff!
Hi Jeff,
I was trying to run the simulation.ipynb (unchanged) from the tutorial and when running the following cell:
I got the error message below:
Do you have any tips on how to overcome this?
Thank a lot for your time, Leonardo