Use the Minitab macro NormDP.mac to find the posterior distribution of the mean when we have
Question:
Use the Minitab macro NormDP.mac to find the posterior distribution of the mean µ when we have a random sample of observations from a normal (µ, σ2), where σ2 is known, and we have a discrete prior for µ.
Suppose we have a random sample of n = 10 observations from a normal
(µ, σ2) distribution where it is known σ2 = 4. The random sample of observations are:3.07 7.51 5.95 6.83 8.80 4.19 7.44 7.06 9.67 6.89 We only allow that there are 12 possible values for µ, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, and 9.5. If we don’t favor any possible value over another, so we give all possible values of µ probability equal to 1 12 . The prior distribution is:
Use NormDP.mac to find the posterior distribution g(µ|y1,...,y10). Details for invoking NormDP.mac are in Appendix 3.
Step by Step Answer: