AllenDowney / ThinkBayes2

Text and code for the forthcoming second edition of Think Bayes, by Allen Downey.
http://allendowney.github.io/ThinkBayes2/
MIT License
1.8k stars 1.49k forks source link

Chapter 8 missing cells in zip file #46

Closed discdiver closed 1 year ago

discdiver commented 3 years ago

Thank you for this great resource!

The Colab notebook for chapter 8 has cells to create the france and croatia goal data. The downloaded notebook zip files do not.

AllenDowney commented 3 years ago

Thanks for letting me know. I will fix this when I can, but let me make sure I understand so I know how urgent it is: do you mean that there is code missing that you need, or just that the empty cells are not there, so you have to make them yourself?

discdiver commented 3 years ago

The code is missing.

The markdown file says:

"In the example, France scored 4 goals, so I'll make a copy of the prior and update it with the data."

The next cell is missing. In the Colab notebook it has:

france = prior.copy()
update_poisson(france, 4)

Same goes for Croatia.

AllenDowney commented 1 year ago

Sorry for my very slow reply. This should be fixed now, but please reopen this issue if not. Thanks!