# Question: let n be the unknown number of customers that visit...

###### Question details

Let n be the unknown number of customers that visit a store on the day of a sale. The number of customers that make a purchase is Y | n ~ Binomial(n, theta) where theta is the known probability of making a purchase given the customer visited the store. The prior is n ~ Poisson(5). Assuming theta is known and n is the known parameter, plot the posterior distribution of n for all combinations of Y=0,5,10 and theta=0.2,0.5 and comment on the effect of Y and theta on the posterior.