aloctavodia / BAP3

Figures and code examples from Bayesian Analysis with Python (third edition)
http://bap.com.ar/
142 stars 41 forks source link

Typo? Page 82/ Code Block 2.27: Normal -> Gamma #27

Open kenjioman opened 3 months ago

kenjioman commented 3 months ago

The likelihood used to be a Normal (code block 2.26), but now is inexplicably a Gamma (text was only talking about showing off pymc's coordinates/ dimensions specification of models vs using shape). This is also this way in cell 36 of Chapter 2's code notebook.

aloctavodia commented 2 months ago

You are right, there is a missing paragraph here. This should have been explained as a two step process. First I showed a normal to connect to the previous model and show that we "just" add shapes/dimensions and second I wanted to change the likelihood to a Gamma.