The standard deviation
The standard deviation is the sum of squared deviations (or errors) of a data set with respect to the mean divided by the number of data.
By far the most common formula for computing variance in a sample is:
- s² = standard deviation
- X = value
- M = mean
- N = sample size
Since samples are usually used to estimate parameters, s² is the most commonly used measure of variance. Calculating the variance is an important part of many statistical applications and analyses. It is the first step in calculating the standard deviation.
if your set is 1, 2, 3, 4, 6, 8 we can compute the standard deviation as follow:
- Sample size N = 6 (frequency)
- The mean : 24/6 = 4
- The sum of (X-M)^2 = 34
- 34/6 = 5.67