L
Lee Harris
If I have a list of items, where each item has a name, a number (frequency)
and an average value, I can work out the STDEV easily on Column C on the
average values
however, how can I work out a weighted stdev such that the averages appear
in the ratio given by their frequency
in other words
if I have
Apple, 8, 1
Banana, 3, 2
Pear, 1, 5
STDEV(C:C) = STDEV (1,2,5) = 2.08
when what I actually want is for the value for apple to be counted 8 times,
for banana 3 times and pear 1 times
so I want
STDEV(1,1,1,1,1,1,1,1,2,2,5) = 1.16
Is there any way I can do this?
I'm doing the same with average, but whereas it's easy to do a weighted
average by just summing the frequencies and the values, I don't know how to
do this with stdev
and an average value, I can work out the STDEV easily on Column C on the
average values
however, how can I work out a weighted stdev such that the averages appear
in the ratio given by their frequency
in other words
if I have
Apple, 8, 1
Banana, 3, 2
Pear, 1, 5
STDEV(C:C) = STDEV (1,2,5) = 2.08
when what I actually want is for the value for apple to be counted 8 times,
for banana 3 times and pear 1 times
so I want
STDEV(1,1,1,1,1,1,1,1,2,2,5) = 1.16
Is there any way I can do this?
I'm doing the same with average, but whereas it's easy to do a weighted
average by just summing the frequencies and the values, I don't know how to
do this with stdev