2

Find the posterior distribution when

$$x|\sigma\sim \mathcal N(0,\sigma^2),\:\:\: 1/\sigma^2\sim \mathsf{Gamma}(1,2)$$

I'm stuck in this exercise, I know that $$\pi(x|\sigma)\approx f(x|\sigma)\pi(\sigma)\cdot\frac{1}{m(x)}$$

Maybe I am thinking wrong, but I would not have to find a prior of $\sigma$?

amoeba
  • 93,463
  • 28
  • 275
  • 317

1 Answers1

1

In effect, you know the prior on $\sigma^2$: It's inverse gamma. After expressing the posterior as the product of normal likelihood and inverse-gamma prior, one can manipulate the posterior until it's recognizable as another inverse gamma. (Left as an exercise, but confirmed in Michael I. Jordan - The Conjugate Prior for the Normal Distribution)

Royi
  • 966
  • 8
  • 20
Sean Easter
  • 8,359
  • 2
  • 29
  • 58