Standard deviation

Part of a
convergent series on
Mathematics

1+1=11

* Gödel's incompleteness theorems
* Pseudomathematics
* Chaos theory
* Information theory
* Risk
* Mathematical fallacies
* No Free Lunch Theorems
* Statistics
* Philosophy of mathematics
* Conservapedian mathematics
* Paraconsistent logic
* Gottfried Wilhelm Leibniz

v \- t \- e

y = sin ⁡ ( x ) d y d x = ? {\displaystyle \pagecolor {Yellow}{\begin{aligned}y&=\sin(x)\\\\{\frac {dy}{dx}}&=?\end{aligned}}} | This article/section deals with mathematical concepts appropriate for a student in late high school or early university.

|

Standard deviation is a measure in statistics for how much a set of values varies. If the data is normally distributed, it allows for us to find how likely it is for a specific value to be obtained by doing a Z-test.

## Contents

* 1 Standard deviation
* 2 To put this in more rookie terms
* 2.1 Let's give it a shot
* 2.2 Using your brand new standard deviation
* 3 References

## Standard deviation[edit]

One standard deviation is between 0 and 1

The standard deviation of a set of values is a measure of how widely the values differ from each other. Specifically, standard deviation follows the equation:

σ ( x ) = ∑ ( x − x ¯ ) 2 n − 1 {\displaystyle \sigma (x)={\sqrt {\sum (x-{\bar {x}})^{2} \over n-1}}}

This is the square root of the variance, which is:

V a r ( x ) = ∑ ( x − x ¯ ) 2 n − 1 {\displaystyle Var(x)={\sum (x-{\bar {x}})^{2} \over n-1}}

Where:

* x ¯ {\displaystyle {\bar {x}}} is the arithmetic mean of all values of x
* ∑ {\displaystyle \sum } is the summation function
* n {\displaystyle n} is the number of  x {\displaystyle x} values

If the values are normally distributed, then they follow the Empirical rule, which states that:

* 68% of the values will fall within 1 σ {\displaystyle \sigma } of the mean.
* 95% of all values will fall within 2 σ {\displaystyle \sigma } of the mean.
* 99.7% of all values will fall within 3 σ {\displaystyle \sigma } of the mean.

## To put this in more rookie terms[edit]

Not everyone understands what a Σ means. For those of us unfortunate enough to be in this position, please refer to this section.

The formula for standard deviation when every value in the population studied is known is as follows:

( first value − average ) 2 + ( second value − average ) 2 + ⋯ + ( final value − average ) 2 number of values in the set {\displaystyle {\sqrt {\frac {({\text{first value}}-{\text{average}})^{2}+({\text{second value}}-{\text{average}})^{2}+\dots +({\text{final value}}-{\text{average}})^{2}}{\text{number of values in the set}}}}}

If we do not have knowledge about the whole population, but rather of a sample within the population, the sample standard deviation (an estimate of the true standard deviation) is:

( first value − average ) 2 + ( second value − average ) 2 + ⋯ + ( final value − average ) 2 number of values in the set − 1 {\displaystyle {\sqrt {\frac {({\text{first value}}-{\text{average}})^{2}+({\text{second value}}-{\text{average}})^{2}+\dots +({\text{final value}}-{\text{average}})^{2}}{{\text{number of values in the set}}-1}}}}

### Let's give it a shot[edit]

1. Suppose you have a data set including only the 6 values: 1, 4 , 7, 12, 17, 19.
2. To derive the standard deviation, you must first determine the average, or arithmetic mean, of all our values. So we calculate:

1 + 4 + 7 + 12 + 17 + 19 6 = 10 {\displaystyle {\tfrac {1+4+7+12+17+19}{6}}=10}
3. In this case, we know every single value, so we use the first formula:

( 1 − 10 ) 2 + ( 4 − 10 ) 2 + ( 7 − 10 ) 2 + ( 12 − 10 ) 2 + ( 17 − 10 ) 2 + ( 19 − 10 ) 2 6 = ( − 9 ) 2 + ( − 6 ) 2 + ( − 3 ) 2 + 2 2 + 7 2 + 9 2 6 = 81 + 36 + 9 + 4 + 49 + 81 6 = 260 6 = 6.582805886 {\displaystyle {\begin{aligned}{\sqrt {\tfrac {(1-10)^{2}+(4-10)^{2}+(7-10)^{2}+(12-10)^{2}+(17-10)^{2}+(19-10)^{2}}{6}}}&={\sqrt {\tfrac {(-9)^{2}+(-6)^{2}+(-3)^{2}+2^{2}+7^{2}+9^{2}}{6}}}\\\&={\sqrt {\tfrac {81+36+9+4+49+81}{6}}}\\\&={\sqrt {\tfrac {260}{6}}}\\\&=6.582805886\end{aligned}}}

So, the standard deviation of our data set is 6.582805886.

This value, 6.582805886, can be considered to be 1 standard deviation. If we double the number, we get 13.165611772, or 2 standard deviations.

If the distribution of the values is "normal", then they follow the Empirical rule, which states that:

* 68% of the values will fall within 1 standard deviation of the mean.
* 95% of all values will fall within 2 standard deviations of the mean.
* 99.7% of all values will fall within 3 standard deviations of the mean.

In this case, only 50% (4, 7, 12) of the values fall within 1 standard deviation of the mean, although 100% of the values fall within two standard deviations of mean.

### Using your brand new standard deviation[edit]

OK, now that you've calculated this crazy thing, what next? Use it! Build a 95% confidence interval:

1. Start with the average up above, 10. Not only is it the the average of the data, but it's also the best guess of the average of the population you sampled to get the data.
2. Take that standard deviation and divide it by the square root of the sample size minus 1. So, that's the square root of 5 (which is 6-1) or 2.236067977. That's the standard error.

S E ( x ) = 6.582805886 2.236067977 = 2.919436675 {\displaystyle {SE(x)={6.582805886 \over 2.236067977}=2.919436675}}
3. Multiply by 2 to get 5.838873350. [1]
4. Now, subtract that number from the average and, separately, add it. These two new numbers form an approximate 95% confidence interval (4.161126650, 15.83887335) for the population average.

Roughly speaking, this confidence interval means you have a relatively high level of confidence[2] that the true population mean falls somewhere between 4.161 and 15.839.

## References[edit]

1. ↑ Actually it's 1.96, but '2' is so easy.
2. ↑ Specifically, you are X% confident that the true mean of the population falls within your confidence interval. So, when constructing an 80% confidence interval, you'll come out with an interval of which you can be 80% confident that the true mean of the population falls between.

Mathematics Articles on RationalWiki

- Hypatia of Alexandria - Sophie Germain - Rene Descartes - Fibonacci sequence - Gödel's incompleteness theorems - Golden Ratio - Pyramid - Fermat's last theorem - Information - Metric system - Statistics - Conservapedian mathematics - Phli (fun) - Zero - Mathematics \-

v \- t \- e