How To Calculate Standard Deviation
Standard deviation is a measure of the spread of a dataset, defined as the square root of its variance. To calculate the standard deviation of a dataset, you can use the following steps:
-
Calculate the mean (average) of the dataset.
-
For each data point, calculate the difference between the value and the mean (subtract the mean from each data point).
-
Square each difference (multiply each difference by itself).
-
Add all the squared differences together.
-
Divide the sum of the squared differences by the number of data points in the dataset (this is the variance).
-
Take the square root of the variance. This is the standard deviation of the dataset.
It is also possible to use software or calculator to do this calculation, such as excel or calculator that have the function of standard deviation.
Example: Consider a dataset {1, 2, 3, 4, 5}.
- Mean = (1+2+3+4+5)/5 = 15/5 = 3
- Difference = {-2,-1,0,1,2}
- Square of difference = {4,1,0,1,4}
- Sum of square of difference = 4+1+0+1+4 = 10
- Variance = 10/5 = 2
- Standard deviation = sqrt(2) = 1.41421356237