Description
Description
Problem 1M21 asks us to estimate the number of customer "n" visiting a store, given the number of purchases made at the store, "Y", and the purchasing rate theta.
Both my solution and the solution provide the book (https://bayesiancomputationbook.com/solutions/chp_01.html#m21), give the following graph:
https://bayesiancomputationbook.com/_images/chp_01_71_1.png
However, if you look careful (for any case with Y>0), the HDI lower bound should be Y. for example at case Y=5, theta=0.2 the HDI lower bound is lower than Y. Unless I am missing something, this does not make sense. Because for Y=5 for example, we know that at least 5 customers made purchases and thus visited the store, so that n>=5.
Maybe the problem is with the choice of like-likelihood (instead of Binomial should be something like discrete Pareto, or constrained it so that it is 0 for values<Y)?
Does this makes sense, or am I missing something obvious?
Thanks.
Reference
Author Section
Do not close until
- Added to Errata
- Fixed in Open Access
- Fixed in latex source