I am asked to construct 95 percent confidence interval of the variance, sigma squared using this:
I know the expression given above is standard normal with mean, 0 and variance 1. Note I have I have calculated E|z| (the expectation of a standard normal) to be sqrt(2/pi) and Var|z| to be 1-2/pi. Note Y1...Yn is a sample from N(0,sigma squared).
NOTE:
, meaning is a pivot for variance, distribution does not depend on variance.
PROBLEM: The problem I'm having in constructing the confidence interval is isolating sigma squared (variance) from the expression given at the top to get an interval for variance. Please provide help, suggestions. Thank you
You have $$ \dfrac{\frac{\sum_{j=1}^n|Y_j|}{\sigma}-n\sqrt{\frac{2}{\pi}}}{\sqrt{n\left(1-\frac2\pi\right)}}\sim N(0,1). $$ Put this fraction between critical values $\pm 1{.}96$ for standard normal distribution and solve with respect to $\sigma$ the inequality: $$ -1{.}96\leq \dfrac{\frac{\sum_{j=1}^n|Y_j|}{\sigma}-n\sqrt{\frac{2}{\pi}}}{\sqrt{n\left(1-\frac2\pi\right)}}\leq 1{.}96. $$ For $n$ sufficently large this inequality leads to two-sided inequality for $\sigma$. Then square all parts.