Consider $x_i \sim N(\mu,\sigma)$ I am interested in distribution of the the following statistic (arises from likelyhood ratio test): $$ \frac{ \sum_{n=1}^{n} (x_i - \overline{x})^2 }{ \sum_{n=1}^{n} (x_i - \mu)^2 } $$
where $\overline{x}$ is the sample mean
After observing distribution of this statistic with simulation for couple of N I noticed that it looks awfully like $Beta(\frac{1}{2}+\frac{n-2}{2},\frac{1}{2})$
Here are how empirical and beta CDF look like when plotted against each other for n=2,3 and 10:
Is my guess correct?


