Standard deviation of weighted data

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 9K views
MadmanMurray
Messages
76
Reaction score
0

Homework Statement


The resistances of 50 resistors are measured and the results recorded are as follows:

Resistance x Frequency
1.) 5 x 17,
2.) 5.5 x 12,
3.) 6 x 10,
4.) 6.5 x 6,
5.) 7 x 5)


Calculate standard deviation of the measurements



Homework Equations





The Attempt at a Solution


Added up the frequences and got n = 50

Multiplied the resistance by its weight or frequency and got the following:
1.) 86
2.) 66
3.) 60
4.) 39
5.) 35


then I added the values up and divided the result by the sum of the frequencies (n) to get the mean (cant do an x bar so I'll denote it as M)
M = 5.7

If I follow the standard deviation formula and add up all results of (x - m)2 I get a really low number so if I then divide that really low number by n which is 50 I get something like 0.0049.

What am I doing wrong? Is the x of the formula resistance x frequency in this case since its weighted data I am dealing with?
 
Physics news on Phys.org
Hmm I can only comment on your procedure in calculating the standard deviation. I think what you have is the variance. The standard deviation is the square root of that quantity you calculated. But like you said, the data that you're dealing with might require a different calculation.
 
Yes I know that the standard deviation is the variance squared but what I'm asking is how I get the variance with weighted data. I know I have to use the formula variance = f(x - M)2/n but what does that mean? Do I subtract M from x then square the result then multiply by f or what?
 
Well first of all, the standard deviation is the square root of the variance. I'm not sure what f is in your formula even though I suspect that it is a function, not a variable. The formula for sample variance is the [sum of (x - M)^2 over all x] / [n-1]. The standard deviation is the square root of this quantity.

Like I said, this is just the very basic sample variance formula.