Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manuscript Error: #214

Open
3 tasks
OmriTreidel opened this issue Sep 15, 2023 · 0 comments
Open
3 tasks

Manuscript Error: #214

OmriTreidel opened this issue Sep 15, 2023 · 0 comments
Labels

Comments

@OmriTreidel
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant