Statistics - Standard Deviation (SD|s|<math>\sigma</math> |RMS width)


The standard deviation is the average deviation from the mean in a distribution.

If you have a mean of 95% and a standard deviation of 2% in a normal distribution, 68% of the data are between 93% and 97%.

A larger sample should not affect the mean, but would reduce the standard deviation.

Only 3 units in 1000 will fall outside the area of 3 standard deviations either side of the centre line.

Standard deviation is also called:


Standard Deviation is not biased by sample size.


The standard deviation is a standardized variance (ie the square root of the variance to brings the units back to the unit of the distribution because the variance is squared in order to get rid of a zero sum).

<MATH> \begin{array}{rrl} \text{Standard Deviation (SD)} & = & \sqrt{\href{variance}{Variance}} \\ & = & \sqrt{\frac{\displaystyle \href{Deviation Score}{\text{Sum of Squared (SS)}}}{\displaystyle \href{sample_size}{N}}} \\ & = & \sqrt{\frac{\displaystyle \sum_{i=1}^{\href{sample_size}{N}}{(\href{Residual}{\text{Residual}})^2}}{\displaystyle \href{sample_size}{N}}} \\ & = & \sqrt{\frac{\displaystyle \sum_{i=1}^{\href{sample_size}{N}}{(\href{raw_score}{X}_i- \href{mean}{\bar{X}})^2}}{\displaystyle \href{sample_size}{N}}} \\ \end{array} </MATH>



import math

def std_deviation(variance):
    return math.sqrt(variance)

Powered by ComboStrap