Alternative formula for variance problem

  • Thread starter Thread starter Biosyn
  • Start date Start date
  • Tags Tags
    Formula Variance
Click For Summary

Homework Help Overview

The discussion revolves around understanding the derivation of a formula for variance in a data set consisting of ten elements. Participants are examining the relationship between different formulations of variance and the implications of the mean in these calculations.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the derivation of the variance formula, questioning how specific terms arise when expanding the squared differences from the mean. There is a focus on the implications of the mean and how it interacts with the terms in the variance calculation.

Discussion Status

Some participants have provided guidance on expanding the variance formula and suggested revisiting the calculations for clarity. There are indications of differing interpretations of the steps involved in deriving the variance, with some participants expressing confusion over specific terms and their contributions to the final formula.

Contextual Notes

There is mention of a photo provided for better understanding, which may contain additional context or visual aids relevant to the problem. Participants also reference potential errors in their calculations, indicating a need for careful review of their work.

Biosyn
Messages
114
Reaction score
0

Homework Statement


Which of the following formulas represents the variance of the data set {x1,x2,x3,...,x10}?
(μ denotes the mean of the data set)

Here is a photo that I took of the problem for better understanding.

http://i.imgur.com/PqEKajx.jpg?1?7734

I understand why the answer I chose is wrong.
What I don't understand is how e) is the answer. I did the calculations by hand with that formula and it is correct.

Would someone please show me how that formula is derived from the variance formula we usually see:
v2.GIF

Homework Equations



Formula for variance

The Attempt at a Solution

 
Physics news on Phys.org
Biosyn said:

Homework Statement


Which of the following formulas represents the variance of the data set {x1,x2,x3,...,x10}?
(μ denotes the mean of the data set)

Here is a photo that I took of the problem for better understanding.

http://i.imgur.com/PqEKajx.jpg?1?7734

I understand why the answer I chose is wrong.
What I don't understand is how e) is the answer. I did the calculations by hand with that formula and it is correct.

Would someone please show me how that formula is derived from the variance formula we usually see:
v2.GIF


Homework Equations



Formula for variance

The Attempt at a Solution

attachment.php?attachmentid=55218&stc=1&d=1359614696.gif


In your case this becomes
[itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i-\mu)^2}{10}[/itex]​
Expand the square.

[itex]\displaystyle (x_i-\mu)^2=x_i^2-2x_i\mu+\mu^2[/itex]

Now, take the sum of each term. Then recall how you calculate μ .
 

Attachments

  • v2.GIF
    v2.GIF
    647 bytes · Views: 890
SammyS said:
attachment.php?attachmentid=55218&stc=1&d=1359614696.gif


In your case this becomes
[itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i-\mu)^2}{10}[/itex]​
Expand the square.

[itex]\displaystyle (x_i-\mu)^2=x_i^2-2x_i\mu+\mu^2[/itex]

Now, take the sum of each term. Then recall how you calculate μ .
I get [itex]\frac{{x_1 + x_2 + x_3...+x_10} + { 2x_1μ + 2x_2μ...+2x_10μ} + 10μ^2}{10}[/itex]

I can see where [itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i)^2}{10}[/itex] comes from and that 10μ^2 cancels out.

What about the [itex]{2x_1\mu + 2x_2μ...+2x__10\mu}[/itex] ?p.s. Sorry, having a hard time with Latex. I hope you understand what I mean! :O
 
Last edited:
Biosyn said:
I get [itex]\frac{{x_1 + x_2 + x_3...+x_10} + { 2x_1μ + 2x_2μ...+2x_10μ} + 10μ^2}{10}[/itex]

I can see where [itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i)^2}{10}[/itex] comes from and that 10μ^2 cancels out.

What about the [itex]{2x_1\mu + 2x_2\mu...+2x_10\mu}[/itex] ?

Divide that by N, i.e. 10 .

That's [itex]\displaystyle \ \ 2\mu\frac{\sum_{i=1}^{10}x_i}{10}[/itex]
 
SammyS said:
Divide that by N, i.e. 10 .

That's [itex]\displaystyle \ \ 2\mu\frac{\sum_{i=1}^{10}x_i}{10}[/itex]


Oh, stupid me. >.>
Thanks for your help!

I understand now:
http://i.imgur.com/NpdcN86.jpg
 
Biosyn said:
I get [itex]\frac{{x_1 + x_2 + x_3...+x_10} + { 2x_1μ + 2x_2μ...+2x_10μ} + 10μ^2}{10}[/itex]

I can see where [itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i)^2}{10}[/itex] comes from and that 10μ^2 cancels out.

What about the [itex]{2x_1\mu + 2x_2μ...+2x__10\mu}[/itex] ?


p.s. Sorry, having a hard time with Latex. I hope you understand what I mean! :O

You should not get [itex]\frac{{x_1 + x_2 + x_3...+x_10} + { 2x_1μ + 2x_2μ...+2x_10μ} + 10μ^2}{10}[/itex], which is wrong. You should not get [itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i)^2}{10}[/itex] because that is also wrong unless μ = 0. Start over, and proceed carefully!
 
Ray Vickson said:
You should not get [itex]\frac{{x_1 + x_2 + x_3...+x_10} + { 2x_1μ + 2x_2μ...+2x_10μ} + 10μ^2}{10}[/itex], which is wrong. You should not get [itex]\displaystyle \sigma^2=\frac{\sum_{i=1}^{10}(x_i)^2}{10}[/itex] because that is also wrong unless μ = 0. Start over, and proceed carefully!

Sorry, I was a bit lazy typing out my work. But in the post before this I solved it!
http://i.imgur.com/NpdcN86.jpg
Thanks anyways. :P
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K