Home » General » What is Variance? Its Definition, Kinds, and Solved Examples

What is Variance? Its Definition, Kinds, and Solved Examples


By Samara Davis September 12, 2022

The variance is frequently used in statistics to measure the typical distance of all the given observations from the mean. The variance is usually used to measure various kinds of statistics and hypothesis testing. 

It is a general technique to find the closeness and farness of the data values from the average value. In this post, we will learn the basics of variance such as the definition, formulas, and solved examples. 

What is the Variance?

In statistics, the variance is generally used to measure how far a set of observations is spread out from the expected value. It is also defined as the measure of dispersion. The set of observations is of two types; one is the sample data set while the other is the population data set. 

The set of population data values is the set of the whole set of observations, while the sample set of data values is the set of some of the observations from the whole.

Kinds of Variance

The variance is of two kinds:

  • Sample variance 
  • Population variance 

Let’s briefly describe the kinds of variance. 

Population Variance

The population variance is the first type of variance that deals with the whole set of observations. It is denoted by “σ2”.  

It is usually used to measure the dispersion of the data values from the mean. After finding the square of deviations of population data values, divide it by the total number of observations to measure the output of the population variance.

Following is a general formula of the population variance. 

Population variance = σ2 = ∑ (xi – μ)2/N

  •  σ2 = Denotes the population variance
  •  N = Total number of observations in a given data set.
  • xi = Data values. 
  • μ = population mean
  • (xi – μ)2 = statistical sum of squares 

Sample Variance

The sample variance is the other type of variance that deals with the set of some of the observations from the whole. It is denoted by “s2”.  

It is usually used to measure the dispersion of the data values from the mean. After finding the square of deviations of sample data values, divide it by the total number of observations minus one to measure the output of the population variance.

Following is a general formula of the sample variance. 

Sample variance = s2 = ∑ (xi – x̅)2/N – 1

  • s2 = Denotes the sample variance
  •  N = Total number of observations in a given data set.
  • xi = Data values. 
  • = population mean 
  • (xi)2 = statistical sum of squares 

How to Calculate Problems of the Variance?

The problems of the variance can be calculated easily by using the formulas of population and sample variances. Following are a few solved examples of the variance to learn how to calculate the problems of the variance. 

For Sample Variance 

Example I: 

Evaluate the variance of the given sample data, 

11, 15, 16, 20, 33, 37, 40, 44, 59, 65, 70, 82

Solution 

Step 1: Take the given set of sample data values and find the sample mean.

Sample data = 11, 15, 16, 20, 33, 37, 40, 44, 59, 65, 70, 82

Sum of sample data = ∑x = 11 + 15 + 16 + 20 + 33 + 37 + 40 + 44 + 59 + 65 + 70 + 82

Sum of sample data = ∑x = 492

Total number of observation = n = 12

Sample mean of data set = x̅ = ∑x/n = 492/12 = 246/6

Sample mean of data set = x̅ = ∑x/n = 41

Step 2: Now find the difference between the sample values from the sample mean. 

x1 – x̅ = 11 – 41 = -30

x2 – x̅ = 15 – 41 = -26

x3 – x̅ = 16 – 41 = -25

x4 – x̅ = 20 – 41 = -21

x5 – x̅ = 33 – 41 = -8

x6 – x̅ = 37 – 41 = -4

x7 – x̅ = 40 – 41 = -1

x8 – x̅ = 44 – 41 = 3

x9 – x̅ = 59 – 41 = 18

x10 – x̅ = 65 – 41 = 24

x11 – x̅ = 70 – 41 = 29

x12 – x̅ = 82 – 41 = 41

Step 3: To make the positive deviations, calculate the square of differences of data values from the expected value. 

(x1 – x̅)2 = (-30)2 = 900

(x2 – x̅)2 = (-26)2 = 676

(x3 – x̅)2 = (-25)2 = 625

(x4 – x̅)2 = (-21)2 = 441

(x5 – x̅)2 = (-8)2 = 64

(x6 – x̅)2 = (-4)2 = 16

(x7 – x̅)2 = (-1)2 = 1

(x8 – x̅)2 = (3)2 = 9

(x9 – x̅)2 = (18)2 = 324

(x10 – x̅)2 = (24)2 = 576

(x11 – x̅)2 = (29)2 = 841

(x12 – x̅)2 = (41)2 = 1681

Step 4: Now find the sum of squared deviations.

∑ (xi – x̅)2 = 900 + 676 + 625 + 441 + 64 + 16 + 1 + 9 + 324 + 576 + 841 + 1681

∑ (xi – x̅)2 = 6154

Step 5: Now divide the statistical sum of squares by N – 1.

∑ (xi – x̅)2 / N – 1 = 6154 / 12 – 1

∑ (xi – x̅)2 / N – 1 = 6154 / 11

∑ (xi – x̅)2 / N – 1 = 559.46

A variance calculator can be used to find the result of the above problem to ease up the calculations. 

For Population Variance

Example II: 

Evaluate the variance of the given population data, 

10, 25, 36, 40, 43, 44, 47, 50, 56

Solution 

Step 1: Take the given set of population data values and find the population means.

Population data = 10, 25, 36, 40, 43, 44, 47, 50, 56

Sum of population values = ∑x = 10 + 25 + 36 + 40 + 43 + 44 + 47 + 50 + 56

Sum of population values = ∑x = 351

Total number of observation = n = 9

Mean of population data set = μ = ∑x/n = 351/9 = 117/3

Mean of population data set = μ = ∑x/n = 39

Step 2: Now find the difference between the population values from the population mean. 

x1 – μ = 10 – 39 = -29

x2 – μ = 25 – 39 = -14

x3 – μ = 36 – 39 = -3

x4 – μ = 40 – 39 = 1

x5 – μ = 43 – 39 = 4

x6 – μ = 44 – 39 = 5

x7 – μ = 47 – 39 = 8

x8 – μ = 50 – 39 = 11

x9 – μ = 56 – 39 = 17

Step 3: To make the positive deviations, calculate the square of differences of data values from the expected value.  

 (x1 – μ)2 = (-29)2 = 841

(x2 – μ)2 = (-14)2 = 196

(x3 – μ)2 = (-3)2 = 9

(x4 – μ)2 = (1)2 = 1

(x5 – μ)2 = (4)2 = 16

(x6 – μ)2 = (5)2 = 25

(x7 – μ)2 = (8)2 = 64

(x8 – μ)2 = (11)2 = 121

(x9 – μ)2 = (17)2 = 289

Step 4: Now find the sum of squared deviations.

∑ (xi – μ)2 = 841 + 196 + 9 + 1 + 16 + 25 + 64 + 121 + 289

∑ (xi – μ)2 = 1562

Step 5: Now divide the above summation value by N.

∑ (xi – μ)2 / N = 1562 / 9

∑ (xi – μ)2 / N = 173.56

You can verify the above result by using a variance calculator.

Conclusion

In this article, we have learned how to calculate the problems of the variance along with solved examples. The content of this post must help you in understanding the variance more accurately.




Share :

Related Posts

April 9, 2026
Rumored $697 Direct Deposit Payment: What’s Real, What’s Not

There’s an alleged government policy that will send every one of us the flat sum of $697 into our respective bank accounts. We take apart all versions of this rumour, determine its origin, and give you everything you need to…


By Khushboo Chhibber
luxury private flight
April 30, 2024
The Cost of Luxury Private Flight Services You Should Be Aware Of

Private flights offer unique convenience, luxury, and flexibility for both business and leisure travelers, saving time and providing tailored comfort. However, these benefits come at a cost. It’s essential to be aware of various expenses associated with private flying. While…


By Mackenzie Laidlaw
freelance gigs
December 25, 2023
From Classroom to Client: Applying Your Major to Freelance Gigs

Have you ever found yourself looking for an essayservice promo code during a study session and thought, “How can I use what I’m learning here?” Well, guess what? The stuff you’re grinding over in your college courses can set you…


By Mackenzie Laidlaw
renovation before selling
December 14, 2023
Renovation Realities: Deciding What To Fix Before You Sell

When the time comes to put your home on the market, it’s natural to consider what renovations might increase its value and allure prospective buyers.  It is tempting to overhaul the entire house in the hopes of achieving a higher…


By Mackenzie Laidlaw
tax fraud lawyer
December 13, 2023
Uncovering the Truth: How a Tax Fraud Lawyer Can Use Evidence to Build Your…

Do you have problems with your tax reporting and find out that you are under investigation? In such a case, it’s time to get a tax fraud lawyer. This is what you need to know. Ever wonder how a tax…


By Mackenzie Laidlaw
influential leaders
December 12, 2023
Influential Leaders, Motivated Teams: The Recognition Equation

Do you have what it takes to lead a motivated team? For most successful businesses, the answer is a resounding yes because handling many workers takes time and effort. A great captain uses effective communication and acknowledgment of their dedication…


By Mackenzie Laidlaw
benefits of pdf tools
November 29, 2023
How Online Tools for PDF Will Benefit Your Document Needs

Often, a student or a professional may find themselves stressed about handling their documents properly. From getting enough space on a desktop to editing and sharing the files with ease is always a complex process. However, with portable document formats,…


By Joseph Williams
effortless document collaboration
November 29, 2023
6 Tips for Effortless Document Collaboration

Collaboration is the name of the game in the modern workplace.  No matter if you’re working on a school project, a team assignment at your job, or simply sharing important documents with friends and family, it’s important to simplify your…


By Mackenzie Laidlaw
netflix
November 25, 2023
A Beginner’s Guide to Buying Netflix Shares

The video streaming business is one of the fastest-growing markets with millions and billions of global subscribers. Leading the platform is Netflix with the highest profit margins because of various social and networking adaptable strategies.  Investing in the biggest brand…


By Mackenzie Laidlaw