# Thread:

1. ## Proving question

Hi,

given that: $S^2=\frac{1}{n-1}\sum_{i=1}^{n}(X_i-\overline X)^2$.

I want to show that $E[S^2]=\sigma^2$

However, when i reached: $\frac{n}{n-1}(\frac{1}{n}\sum_{i=1}^{n}E[X_i^2]-E[\overline X^2])$, i was puzzled on finding $E[\overline X^2]$?

Since $E[\overline X^2]=Var(\overline X) + [E(\overline X)]^2$ which variance should I use, s.r.s or i.i.d?

or maybe is there any better way to prove it?

2. $\frac{(n-1)S^{2}}{\sigma^{2}}$ is $\chi^{2}_{n-1}$ (chi-square distriubtion with (n-1) degrees of freedom)

If you want to try and prove that statement, use the fact that $S^{2}$ and $\bar{X}$ are independent.

So $E(S^{2}) = E\Big(\frac{\sigma^{2}}{n-1} \ \frac{(n-1)S^{2}}{\sigma^{2}} \Big) = \frac{\sigma^{2}}{n-1} E\Big(\frac{(n-1)S^{2}}{\sigma^{2}} \Big) = \frac{\sigma^{2}}{n-1} (n-1) = \sigma^{2}$

since the expected value of a chi-square distribution with k degrees of freedom is k

3. Hi tks for the reply.

In addition to this, I've read book stating that the best estimator is $(1-\frac{1}{N})s^2$ as compared to this answer showing that $E[s^2]=\sigma ^2$.

Any explaination for this?

4. Here's a much better proof that doesn't involve knowing anything about the chi-square distribution:

$\sum^{n}_{i=1} (X_{i} -\overline{X})^{2} = \sum^{n}_{i=1} X_{i}^{2} -n\overline{X}^{2}$

so $E\Big(\sum^{n}_{i=1} (X_{i} -\overline{X})^{2}\Big) = E\Big(\sum^{n}_{i=1} X_{i}^{2}\Big) - E(n\overline{X}^{2}) = \sum^{n}_{i=1} E(X_{i}^{2}) - nE(\overline{X}^{2})$

$= \sum^{n}_{i=1}(\sigma^{2}+ \mu^{2})-n \Big(\frac{\sigma^{2}}{n}+ \mu^{2}\Big) = n(\sigma^{2}+ \mu^{2})- \sigma^{2}- n\mu^{2} = (n-1)\sigma^{2}$

then $E(S^{2}) = E\Big(\frac{1}{n-1} \sum^{n}_{i=1} (X_{i} -\overline{X})^{2}\Big) = \frac{1}{n-1} E\Big(\sum^{n}_{i=1} (X_{i} -\overline{X})^{2}\Big) =$ $\frac{1}{n-1}(n-1)\sigma^{2} = \sigma^{2}$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 17, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9597795009613037, "perplexity_flag": "middle"}