BDA3 Chapter 3 Exercise 10

Here’s my solution to exercise 10, chapter 3, of Gelman’s Bayesian Data Analysis (BDA), 3rd edition. There are solutions to some of the exercises on the book’s webpage.

For j=1,2, let

yjμjσ2jNormal(μj,σ2j)p(μj,logσ2j)1.

We show that

s21σ22s22σ21F(n11,n21).

Equation 3.5 in the book shows that σ2jyInvChi2(nj1,s2j). It follows that σ2j(nj1)s2j\dinvChi(nj1). Thus, (nj1)s2jσ2jChi2(nj1). The result follows from the fact that the ratio of two χ2 random variables (divided by the ratio of their degrees of freedom) has an F-distribution.