Q: Standard deviation Formula A: The standard deviation measures how spread out values are from the mean. --- Standard Deviation Formula Population Standard Deviation σ Used when you have all values in a population: $$sigma = sqrtfracsumi=1^Nxi - mu^2N$$ Where: - $xi$ = each individual value - $mu$ = population mean - $N$ = total number of values in the population --- Sample Standard Deviation s Used when you have a sample subset of a population: $$s = sqrtfracsumi=1^Nxi - barx^2n - 1$$ Where: - $xi$ = each individual value - $barx$ = sample mean - $n$ = number of values in the sample - $n - 1$ = Bessel's correction reduces bias in estimating population variance --- Step-by-Step Calculation 1. Find the mean - add all values, divide by count 2. Subtract the mean from each value - these are the deviations 3. Square each deviation - eliminates negatives 4. Sum the squared deviations 5. Divide by N population or n-1 sample 6. Take the square root - this converts variance back to original units --- Quick Example Data: 2, 4, 4, 4, 5, 5, 7, 9 Step Value ------------- Mean $barx$ 2+4+4+4+5+5+7+9 / 8 = 5 Squared deviations 9, 1, 1, 1, 0, 0, 4, 16 Sum of squares 32 Variance sample 32 / 7 = 4.57 Std Dev sample √4.57 = 2.14 --- Key Notes - SD = 0 means all values are identical - A small SD means values cluster tightly around the mean - A large SD means values are widely spread - Standard deviation is the square root of variance - Always use sample SD n-1 when working with a sample drawn from a larger population