This is my first post to this great website :) It seems like an excellent place to learn. I have a question however that is bothering me as I cannot figure it out through my textbook.
The sample variance $$ S^2 = \frac{1}{n-1}\sum\limits_{i=1}^{n}\left(X_i - \bar{X}\right)^2 $$ Of course, we need to assume that $X_i$ is normal but here is where I am very confused. The next step in my notes shows this:
$$X_i - \bar{X} = \sigma [(X_i - \mu) / \sigma - (\bar{X} - \mu) / \sigma]$$
Where did $\sigma$ come from? And can anyone help me with the proof of this? It appears that the distribution of the sample variance is that of a Chi-Squared R.V. with $n-1$ DoF. Thanks so much!
The statement you've got is true for every $\sigma$ that isn't zero, since you multiplied by $\sigma/\sigma=1$ and that doesn't change the value. $\sigma$ is probably going to end up representing some sort of standard-deviation-like object, but for now it doesn't really matter.
To be a bit clearer, you can simplify the right-hand side into the left-hand side by combining the fractions (which cancels the $\mu$) and then multiplying the $\sigma$ through (which also cancels).