Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Standard deviation | Variance and Standard Deviation
Learning Statistics with Python
course content

Contenido del Curso

Learning Statistics with Python

Learning Statistics with Python

1. Basic Concepts
2. Mean, Median and Mode with Python
3. Variance and Standard Deviation
4. Covariance vs Correlation
5. Confidence Interval
6. Statistical Testing

bookStandard deviation

The next term is standard deviation. This value is similar to variance because standard deviation is the square root of variance. Therefore, the formulas will differ for the population and sample.

Definition

Standard deviation is a measure of how data is spread out in relation to the mean.

68–95–99.7 rule

If the population follows a Normal Distribution, we have the empirical 68-95-99.7 rule. According to this rule:

  • Approximately 68% of the data falls within 1 standard deviation (σ) from the mean;
  • About 95% of the data falls within 2σ of the mean;
  • Nearly 99.7% of the data falls within 3σ of the mean.

When dealing with samples, the percentages might not be precisely accurate, but you can expect them to be quite close to the values in the rule, especially with larger sample sizes.

Example

To illustrate this, let's examine a sample of kitten weights measured in grams:

Take a look at the illustration. In this scenario, we are working with the following data:

  • Mean value = 100 grams;
  • Standard deviation (represented by the sigma symbol in the picture) = 20 grams.

As mentioned earlier, one standard deviation above and below the mean encompasses 68% of the values. In this instance, those values range from mean - standard deviation = 100 - 20 = 80 to mean + standard deviation = 100 + 20 = 120.

question-icon

You are dealing with a normal data distribution with a mean value of 1500 and a standard deviation of 100. Now, let's associate the percentage of data with the corresponding numerical range.

68%
95%

99.7%

Click or drag`n`drop items and fill in the blanks

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 4
We're sorry to hear that something went wrong. What happened?
some-alt