We will do a few sensitivities and see how the posterior distribution modifies. Let’s define the variables before we start.
The plots of the distributions are
Imagine you collected four more data, and interestingly they are all the same, 9! You have five data points now, although the average remains the same (9) as the previous case.
Note that the vertical dotted line represents the data (or the average of the data).
The relations used in the calculations of the posteriors are: