Solve the variance problem below - statistics

4 replies · 2K views · last reply
chwala
Gold Member
Messages
2,854
Reaction score
436
Homework Statement
see attached
Relevant Equations
variance
The question is below:

Printed exam question 1: ages x years of 150 cars summarised by sum x = 645 and sum x squared = 8287.5; find sum of (x minus x-bar) squared, where x-bar is the mean of x. Marks [4].


below is my own working;
Handwritten statistics working: n = 150, sum of x = 645, sum of x squared = 8287.5, finding sum of (x - mean) squared; mean = 645/150 = 4.3; variance = 36.76; sum = 36.76 x 150 = 5514.
the mark scheme for the question is below here;
Marking scheme table for a statistics question: x̄ = 4.3, sd = square root of (8287.5/150 - 4.3²) = square root of 36.76 = 6.063, Σ(x - x̄)² = 150 × 6.063² = 5514 (5510), with marks B1, M1, M1, A1 [4].


i am seeking for any other approach that may be there...am now trying to refresh on stats...bingo!
 
chwala said:
Homework Statement:: see attached
Relevant Equations:: variance

The question is below:

View attachment 291394

below is my own working;
View attachment 291395the mark scheme for the question is below here;
View attachment 291396

i am seeking for any other approach that may be there...am now trying to refresh on stats...bingo!
Here's a quicker way:
##\sum (x - \bar x)^2 = \sum x^2 - N \cdot \bar x^2##

Proof:
##\sum (x - \bar x)^2 = \sum(x^2 - 2x\cdot \bar x + \bar x^2) ##
##= \sum x^2 - 2\cdot \bar x \sum x + \sum \bar x^2 = \sum x^2 - 2\bar x \cdot N \cdot \bar x + N \bar x^2 = \sum x^2 - N \cdot \bar x^2##
All summations are from n = 1 to N.
In the proof above, I'm using the fact that ##\sum x = N \bar x##
 
Last edited:
Is the proof missing something...I will counter check it later...
 
I just had a look at your proof...thanks Mark...I wasn't certain on the last part of your equation involving the mean. Its now clear to me from my study (shown below). Bingo!

Derivation showing sum of (x_i - mu)^2 equals sum of x_i^2 minus N mu^2, expanding the square, pulling out constants, and using sum x_i = N mu.
 
Last edited:
chwala said:
I just had a look at your proof...thanks Mark...I wasn't certain on the last part of your equation involving the mean. Its now clear to me from my study. Bingo!
Yes, that's it. I've edited my post to change 'n' to 'N', which I hope makes it clearer.