Understanding Summation: S_X and S^2_X

  • Thread starter Thread starter Ted123
  • Start date Start date
  • Tags Tags
    Summation
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 4K views
Ted123
Messages
428
Reaction score
0
Does

[itex]\displaystyle S^2_X = \sum^n_{i=1} (X_i - \overline{X})^2[/itex]

mean

[itex]\displaystyle S_X = \sum^n_{i=1} (X_i - \overline{X})[/itex] (X is a random variable here)

and is this true of summations in general?

i.e. does [itex]\sqrt{\sum X_i^2} = \sum X_i[/itex] ?

I thought it'd be [itex]\sqrt{\left( \sum X_i\right) ^2} = \sum X_i[/itex] ?
 
Physics news on Phys.org
NO, this is NOT true at all. It is NOT true that [tex](a+b)^2=a^2+b^2[/tex], which is basically what you're claiming...
 
Try a simple case with numbers. Does sqrt(a2+b2) = a + b? Put some numbers in and see what you think.
 
So this is just a special case where [itex]S_X[/itex] is defined to be the sample standard deviation and [itex]S_X^2[/itex] is the sample variance?
 
[itex]\displaystyle S_X = \sqrt{\sum^n_{i=1} (X_i - \overline{X})^2}\neq \sum^n_{i=1} (X_i - \overline{X})[/itex]
 
And I also have the feeling that you have to divide by n-1...

So

[tex]S_X^2=\frac{1}{n-1}\sum_{i=1}^n{(X_i-\overline{X})^2}[/tex]
 
You can do this:
[tex]\sum (X_i- \overline{X})^2= \sum (X_i^2- 2\overline{X}X_i+ \overline{X}^2)[/tex]
[tex]\sum X_i^2- 2\overline{X}\sum X_i+ \sum \overline X[/tex]

Now, here,
[tex]\overline{X}= \frac{1}{n}\sum X_i[/tex]
and, of course, since [itex]\overline{X}[/itex] is a constant,
[tex]\sum \overline{X}= \overline{X}\sum 1= n\overline{X}[/tex]

so
[tex]\sum (X_i- \overline{X})^2= \sum X_i^2- 2n \overline{X}^2+ n\overline{X}^2[/tex]
[tex]= \sum X_i^2- n\overline{X}^2[/tex]