You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: