I have a formula that calculates the weighted average of two sets of data (F6:H6 and I6:K6) with weights defined in F3:H3 and I3:K3 respectively:
I am looking for a way to simplify my standard deviation calculation. Right now I can enter all data point calculations manually into a STDEV.P() or I can manually calculate the weighted standard deviation using:
This returns 3.72015
My ask: Is there a way to simplify my standard deviation formula? OR ... am I doing this completely wrong?
My weighted average for the dataset returns 7.8222. If I'm wrong there, then I have bigger problems.
My manually calculated STDEV.P returns 3.72015
Sorry for not being able to upload a minisheet.
Excel Formula:
=SUMPRODUCT(F6:H6,$F$3:$H$3)*SUMPRODUCT(I6:K6,$I$3:$K$3)/(SUM($F$3:$H$3)*SUM($I$3:$K$3))
I am looking for a way to simplify my standard deviation calculation. Right now I can enter all data point calculations manually into a STDEV.P() or I can manually calculate the weighted standard deviation using:
Excel Formula:
=SQRT((SUM((F6*I6-$S$37)^2, (F6*J6-$S$37)^2*$G$3, (F6*K6-$S$37)^2, (G6*I6-$S$37)^2*$G$3, (G6*J6-$S$37)^2*$G$3*$J$3, (G6*K6-$S$37)^2*$G$3, (H6*I6-$S$37)^2, (H6*J6-$S$37)^2*$J$3, (H6*K6-$S$37)^2))/(SUM($F$3:$H$3)*SUM($I$3:$K$3)))
My ask: Is there a way to simplify my standard deviation formula? OR ... am I doing this completely wrong?
ROW/COL | F | G | H | I | J | K |
3 | 1 | 4 | 1 | 1 | 4 | 1 |
6 | 1 | 4 | 10 | .5 | .75 | .9 |
My weighted average for the dataset returns 7.8222. If I'm wrong there, then I have bigger problems.
My manually calculated STDEV.P returns 3.72015
Excel Formula:
=STDEV.P(F6*I6, F6*J6, F6*J6,F6*J6,F6*J6,F6*K6, G6*I6, G6*I6,G6*I6,G6*I6, G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6,G6*J6, G6*K6,G6*K6,G6*K6,G6*K6, H6*I6, H6*J6,H6*J6,H6*J6,H6*J6, H6*K6)
Sorry for not being able to upload a minisheet.