Open
Description
Description
Error in solution for Exercise 1M21 or the exercise itself. One can find logical contradiction by looking at Y =10 and theta=0.2. Since the number of customers the made a purchase is Y=10, the number of customers n cannot be smaller than Y. However, when one examines the posterior distribution, all the mass is below n=10.
I believe that the error in the code is in the way that the observations are encoded ys = [0, np.ones(5), np.ones(10)]
instead of [0, 5, 10]
. It basically set k to 1 multiple times.
Reference
N/A as I don't have a hard copy
Author Section
Do not close until
- Added to Errata
- Fixed in Open Access
- Fixed in latex source