The Wayback Machine - https://web.archive.org/web/20250414091947/https://www.geeksforgeeks.org/mathematics-mean-variance-and-standard-deviation/
Open In App

Mean, Variance and Standard Deviation

Last Updated : 28 Dec, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Mean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data’s central tendency, dispersion, and spread, which are crucial for making informed decisions in various engineering fields.

This article explores the definitions, formulas, and applications of mean, variance, and standard deviation in engineering.

Mean-Variance-and-Standard-Deviation-1

Mean, variance, and standard deviation are the cornerstones of statistical analysis.

What is Mean?

The mean, also known as the average, is a measure of the central tendency of a dataset. It is calculated by summing up all the values in the dataset and dividing them by the number of values.

Mean Formula

For a dataset with n values x1, x2, x3, ……., xn the mean μ is given by:

μ = [Tex]\frac{1}{n} \sum_{i=1}^{n}x_i[/Tex]

Mean Example

For the dataset {4,8,6,5,3,7}:

μ=4+8+6+5+3+7 / 6 = 33/6 = 5.5

What is Variance?

Variance measures the dispersion of a dataset, indicating how much the values differ from the mean. It is the average of the squared differences from the mean.

Variance Formula

For a dataset with n values x1, x2, x3, ……., xn the mean σ2 is given by:

σ2 = [Tex]\frac{1}{n} \sum_{i=1}^{n} (x_i – \mu)^2[/Tex]

Variance Example

For the dataset {4,8,6,5,3,7} with mean = 5.5

σ2 = (4 – 5.5)2 + (8 – 5.5)2 + (6−5.5)2 + (5−5.5)2 + (3−5.5)2 + (7- 5.5)2 / 6

σ2 = 17.5/6 = 2.92

Standard Deviation

Standard deviation is the square root of the variance, providing a measure of the spread of the dataset in the same units as the data.

Standard Deviation Formula

For a dataset with n values x1, x2, x3, ……., xn the mean σ is given by:

σ = [Tex]\sqrt σ2[/Tex] = [Tex]\sqrt {\frac{1}{n} \sum_{i=1}^{n} (x_i – \mu)^2}[/Tex]

Standard Deviation Example

For the dataset {4,8,6,5,3,7} , with variance σ2 = 2.92

σ = 1.71

Solved Examples

1. Consider the data set: 4, 8, 6, 5, 3, 9.

Step 1: Calculate the Mean

  • Add up all the numbers: 4 + 8 + 6 + 5 + 3 + 9 = 35.
  • Divide by the number of values (6): 35 / 6 = 5.83.
  • So, the mean is 5.83.

Step 2: Calculate the Variance

Subtract the mean from each number, square the result, and find the average:

  • (4 – 5.83)² + (8 – 5.83)² + (6 – 5.83)² + (5 – 5.83)² + (3 – 5.83)² + (9 – 5.83)²
  • = 3.35 + 4.68 + 0.03 + 0.69 + 8.00 + 10.03 = 26.78.
  • Then, divide by 6: 26.78 / 6 = 4.80.
  • So, the variance is 4.80.

Step 3: Calculate the Standard Deviation

  • Take the square root of the variance: √4.80 = 2.19.
  • So, the standard deviation is 2.19.

2. Consider the dataset: 2, 4, 6, 8, 10.

Step 1: Calculate the Mean

  • Add up all the numbers: 2 + 4 + 6 + 8 + 10 = 30.
  • Divide by the number of values (5): 30 / 5 = 6.
  • So, the mean is 6.

Step 2: Calculate the Variance

  • Subtract the mean from each number, square the result, and find the average:(2−6)2+(4−6)2+(6−6)2+(8−6)2+(10−6)2=(−4)2+(−2)2+02+22+42=16+4+0+4+16=40.
  • Then, divide by the number of values (5): 40 / 5 = 8.
  • So, the variance is 8.

Step 3: Calculate the Standard Deviation

  • Take the square root of the variance: √8 ≈ 2.83.
  • So, the standard deviation is approximately 2.83.

3. Consider the dataset: 3, 7, 7, 19, 24.

Step 1: Calculate the Mean

  • Add up all the numbers: 3 + 7 + 7 + 19 + 24 = 60.
  • Divide by the number of values (5): 60 / 5 = 12.
  • So, the mean is 12.

Step 2: Calculate the Variance

  • Subtract the mean from each number, square the result, and find the average:(3−12)2+(7−12)2+(7−12)2+(19−12)2+(24−12)2=(−9)2+(−5)2+(−5)2+72+122=81+25+25+49+144=324.
  • Then, divide by the number of values (5): 324 / 5 = 64.8.
  • So, the variance is 64.8.

Step 3: Calculate the Standard Deviation

  • Take the square root of the variance: √64.8 ≈ 8.05.
  • So, the standard deviation is approximately 8.05.

4. Consider the dataset: 5, 10, 15, 20, 25.

Step 1: Calculate the Mean

  • Add up all the numbers: 5 + 10 + 15 + 20 + 25 = 75.
  • Divide by the number of values (5): 75 / 5 = 15.
  • So, the mean is 15.

Step 2: Calculate the Variance

  • Subtract the mean from each number, square the result, and find the average:(5−15)2+(10−15)2+(15−15)2+(20−15)2+(25−15)2=(−10)2+(−5)2+02+52+102=100+25+0+25+100=250.
  • Then, divide by the number of values (5): 250 / 5 = 50.
  • So, the variance is 50.

Step 3: Calculate the Standard Deviation

  • Take the square root of the variance: √50 ≈ 7.07.
  • So, the standard deviation is approximately 7.07.

5. Consider the dataset: 11, 13, 15, 17, 19.

Step 1: Calculate the Mean

  • Add up all the numbers: 11 + 13 + 15 + 17 + 19 = 75.
  • Divide by the number of values (5): 75 / 5 = 15.
  • So, the mean is 15.

Step 2: Calculate the Variance

  • Subtract the mean from each number, square the result, and find the average:(11−15)2+(13−15)2+(15−15)2+(17−15)2+(19−15)2=(−4)2+(−2)2+02+22+42=16+4+0+4+16=40.
  • Then, divide by the number of values (5): 40 / 5 = 8.
  • So, the variance is 8.

Step 3: Calculate the Standard Deviation

  • Take the square root of the variance: √8 ≈ 2.83.
  • So, the standard deviation is approximately 2.83.

Unsolved Problems

  1. Find the mean, variance, and standard deviation for the dataset: 10, 15, 20, 25, 30.
  2. Calculate the mean, variance, and standard deviation for: 5, 10, 15, 20, 25.
  3. Determine the mean, variance, and standard deviation for: 4, 6, 8, 10, 12, 14.
  4. Find the mean, variance, and standard deviation for the dataset: 1, 4, 9, 16, 25.
  5. Calculate the mean, variance, and standard deviation for: 3, 6, 9, 12, 15.
  6. Determine the mean, variance, and standard deviation for: 8, 16, 24, 32, 40.
  7. Find the mean, variance, and standard deviation for the dataset: 2, 4, 6, 8, 10, 12.
  8. Calculate the mean, variance, and standard deviation for: 11, 22, 33, 44, 55.
  9. Determine the mean, variance, and standard deviation for: 7, 14, 21, 28, 35.
  10. Find the mean, variance, and standard deviation for the dataset: 13, 26, 39, 52, 65.

Related Articles:

Below questions have been asked in previous year GATE exams 
https://www.geeksforgeeks.org/gate-gate-cs-2012-question-64/ 

Applications in Engineering

1. Quality Control

In manufacturing and quality control, these measures help monitor and maintain product quality by analyzing variations in production processes.

2. Signal Processing

In signal processing, mean, variance, and standard deviation are used to analyze noise and signal strength, helping to improve the accuracy of signal transmission and reception.

3. Reliability Engineering

In reliability engineering, these measures are used to predict the lifespan and failure rates of components and systems, aiding in the design of more reliable products.

4. Financial Engineering

In financial engineering, mean, variance, and standard deviation are used to analyze investment risks and returns, helping to make better investment decisions.

5. Civil Engineering

In civil engineering, these statistical measures are used to analyze data from material tests, environmental studies, and structural performance, ensuring safety and compliance with standards.

Summary

Mean, variance, and standard deviation are key statistical measures that provide insights into the central tendency, dispersion, and spread of a dataset. These concepts are crucial in various fields, including engineering, finance, and data analysis, helping to understand and interpret data effectively.



Next Article

Similar Reads