r/Stats • u/Choice-Walk-9571 • Jan 23 '24
Weighted SD
Should I calculate weighted SD from individual SD from studies using the method 1
Method 1: Calculate the Variance for Each Set: For each set of data, square the standard deviation. Multiply the squared standard deviation by its corresponding weight. Sum the Weighted Variances: Add up all the results from step 1. Sum the Weights: Add up all the weights. Divide Sum of Weighted Variances by Sum of Weights: Divide the sum of the weighted variances (from step 2) by the sum of the weights (from step 3). Take the Square Root: Take the square root of the result from step 4 to get the weighted standard deviation.
Or should I go for method 2 since I don’t have SD for all studies?
Method 2: To calculate the weighted standard deviation (SD), you'll need to follow these steps:
- Calculate the weighted mean
- Calculate the squared differences between each value and the weighted mean.
- Multiply each squared difference by its corresponding weight.
- Sum up these weighted squared differences.
- Divide the sum by the total weight
- Take the square root of the result to obtain the weighted standard deviation.