Let $X_{1}, X_{2}, \ldots, X_{n}$ be a random sample from $N\left(\mu, \sigma^{2}\right)$, where both parameters $\mu$ and $\sigma^{2}$ are unknown. A confidence interval for $\sigma^{2}$ can be found as follows. We know that $(n-1) S^{2} / \sigma^{2}$ is a random variable with a $\chi^{2}(n-1)$ distribution. Thus we can find constants $a$ and $b$ so that $P\left((n-1) S^{2} / \sigma^{2}<b\right)=0.975$ and $P(a<$ $\left.(n-1) S^{2} / \sigma^{2}<b\right)=0.95 .$ In $\mathrm{R}, \mathrm{b}=$ qchisq $(0.975, \mathrm{n}-1)$, while $\mathrm{a}=$ qchisq $(0.025, \mathrm{n}-1)$
(a) Show that this second probability statement can be written as
$$
P\left((n-1) S^{2} / b<\sigma^{2}<(n-1) S^{2} / a\right)=0.95
$$
(b) If $n=9$ and $s^{2}=7.93$, find a $95 \%$ confidence interval for $\sigma^{2}$.
(c) If $\mu$ is known, how would you modify the preceding procedure for finding a confidence interval for $\sigma^{2} ?$