Skip to content

Manuscript Error: #214

Description

@OmriTreidel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions