back to Bayesian Confidence

Alternative Bayesian priors

The uniform prior is simple, but does not reflect the information that you and the class put into your initial estimates of the number of lizards in the box. Ideally, we would like to incorporate that information, which we can do by adjusting the prior probability distribution that we use. How we do this is a bit subjective, however, and you will have to think about how much weight you want to put on the class guesses. There is no “correct” answer, aside from the fact that the sum of the prior probabilities for each population size you include in the distribution must equal 1.

Use the your drawing of your prior beliefs about the number of lizards in the box to construct a prior distribution that is not so flat as the one we have used to this point.
a. What kind of functions can you use to draw this prior in R? Ask! b. Plot this new prior distribution, and the posterior that it results in. Compare this to the prior and posterior distributions from one of the uniform priors that you used before.
c. Are you happier with this new distribution? What are the benefits of this “more subjective” prior over the flat prior? What are its disadvantages? Is it really more subjective?

One more capture

After your second “capture”, you marked the group of lizards you “caught” and returned them to the box. I will now give you one more chance to catch lizards. Each group will choose 60 more lizards (per group). Record the numbers of lizards of each color, marked and unmarked.

What is the best way to integrate this new information into your estimate of the population size?
a. How many total individuals were marked when you went out to trap the third time? Assume no loss of markings.
b. Calculate population size estimates and Bayesian credible intervals using the data from the third capture, using a uniform (flat) distribution for your prior probabilities.
c. Is the uniform distribution an appropriate prior distribution to use for the data from the third trip? What might be a better choice (besides the class estimate)?
d. Use the alternative prior that you identified in the previous part to calculate a new posterior distribution for population size using the data from the third trip. Calculate an estimate of the population size and credible intervals based on this posterior distribution. How does this estimate compare to your previous calculations?
e. Plot the three posterior distributions (the two from part b and the one from part d) in a single chart. Which one provides the best information about the size of lizard population?

Further thoughts

The following additional questions are things that you might want to include in your final report. These are not required, but definitely worth at least thinking about, whether or not you include them in your final report.