Mean, Variance and Standard Deviation
Last Updated :
20 Aug, 2024
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.

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.
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.
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.
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 Example 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.
Practice Problems
Q1. Find the mean, variance, and standard deviation for this data set: 12, 15, 10, 10, 14, 8.
Q2. For the numbers 7, 9, 5, 13, 11, 12, calculate the mean, variance, and standard deviation.
Q3. A studentâs quiz scores are 20, 25, 22, 18, and 30. What are the mean, variance, and standard deviation of these scores?
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.
Mean, Variance and Standard Deviation – FAQs
What is the Difference Between Standard Deviation and Variance?
Standard deviation and variance both measure the spread of data points in a dataset relative to the mean. The key difference is that variance measures the average of the squared deviations from the mean, while standard deviation is the square root of the variance, providing a measure of spread in the same units as the data.
How Do You Calculate Mean, Variance, and Standard Deviation?
- Mean: Add all the numbers together and divide by the count of numbers.
- Variance: Calculate the mean, subtract the mean from each number, square the result, sum these squared results, and divide by the count of numbers minus one.
- Standard Deviation: Take the square root of the variance.
Why Are Mean, Variance, and Standard Deviation Important?
These statistical measures are crucial for understanding the distribution of data. The mean provides a central value, while variance and standard deviation give insights into the data’s variability or spread, indicating the consistency or volatility of the dataset.
Can Variance and Standard Deviation Be Negative?
No, variance and standard deviation cannot be negative. Variance is calculated as the average of the squared differences from the Mean, resulting in a non-negative value. Since standard deviation is the square root of variance, it also cannot be negative.
How Does Outliers Affect Mean, Variance, and Standard Deviation?
Outliers can significantly affect the mean by pulling it towards the outlier value, thus not accurately reflecting the dataset’s central tendency. Variance and standard deviation are also affected as they will increase, indicating a higher spread of data due to the outlier(s).
Please Login to comment...