Physics Wallah

Variance Formula, Sample Variance, Population Variance

Variance Formula: The variance formula measures the average of the squared differences between each data point and the mean, indicating the data's spread or variability within a set.
authorImageManoj Kumar31 Oct, 2023
Share

Share

Variance Formula

Variance Formula: Prior to discussing the variance formula, it's essential to revisit the concept of variance. Variance (σ2) represents the squared deviation of values (Xi) of a random variable (X) from its mean (μ). This formula enables the quantification of the extent of this distribution from the random variable's mean. It's crucial to note that the variance formula differs for a population and a sample. Below, we'll explore the variance formulas for both cases.

What is the Variance Formula?

Distinct variance formulas exist for ungrouped and grouped data. The specific variance formulas for each are detailed below.

For ungrouped data, variance can be written as:

Population Variance for population of size N = Σ ( X i − ¯ X ) / 2 N

Sample Variance for sample of size N = Σ ( X i − ¯ X ) 2 / N − 1

For grouped data, variance can be written as:

Population Variance, for population of size N = Σ f ( M i − ¯ X ) 2 / N

Sample Variance, for sample of size N = Σ f ( M i − ¯ X ) 2 / N − 1

where,

¯ X is the mean

M i is the mid-point of the ith interval.

Note: For ungrouped data, ¯ X = Σ x i N

For grouped data, ¯ X = Σ M i f Σ f

Variance Formula Solved Example

Example 1: Determine the variance of the given data set using the variance formula: 24, 53, 53, 36, 21, 84, 64, 34, 77, 54

Solution:

Population Size (N) = 10

x i (x i - x̄) (x i - x̄) 2
24 -26 676
53 3 9
36 -14 196
21 -29 841
84 34 1156
64 14 196
34 -16 256
77 27 729
54 4 16
μ x = Σ x i /10 = 500 /10 = 50 units σ x = Σ ( x i − ¯ x ) 2 /10 = 4084 / 10 = 408.4 units 2

The calculated variance for the provided data is 408.4 square units.

Example 2: Determine the mean and variance of the following dataset.

Class 10-20 20-30 30-40 40-50 50-60 60-70 70-80 80-90 90-100
Frequency(f) 2 3 6 8 5 3 6 1 4

Solution:

Assigning d = (M i - Midpoint)/10, this division by 10 aids in simplification. (where h = 10)

Class f Midpoint of ith class interval (M i ) M i f d d 2 d 2 f df
10-20 2 15 30 -4 16 32 -8
20-30 3 25 75 -3 9 27 -9
30-40 6 35 210 -2 4 24 -12
40-50 8 45 360 -1 1 8 -8
50-60 5 55 275 0 0 0 0
60-70 3 65 195 1 1 3 3
70-80 6 75 450 2 4 24 12
80-90 1 85 85 3 9 9 3
90-100 4 95 380 4 16 64 16
Σ f = 38 Midpoint = 55 ΣM i f=2060 Σ d 2 f = 191 Σ d f = -3

Mean = Σ M i f / Σ f = 2060 38 = 54.21 units

Using the variance formula, Variance =

[ Σ f d 2 − ( Σ ( f d ) 2 / n ) ]* h 2 / n =

[191 − ( ( − 3 ) 2 / 38 ) ] ) *10 2 / 38 =

( 191 − 0.2368)*100 / 38

The calculated mean for this data is 54.21 units, and the variance of this dataset equals 502 square units.

Understanding the variance formula is pivotal in statistical analysis, serving as a measure of dispersion within a dataset. Variance, denoted by σ^2, showcases the extent of deviation of individual data points from the dataset's mean, crucial for comprehending data distribution.

The variance formula differs for both ungrouped and grouped data, tailored for population and sample scenarios. For ungrouped data, the population and sample variances use distinct formulas. Similarly, for grouped data, separate formulas cater to population and sample calculations, with consideration for midpoints and frequencies within intervals.

Explore Now Online Course of Class 9 Neev Fastrack 2024 and Class 10 Udaan Fastrack 2024 to enhance your Maths knowledge. and build a strong foundation.

Related Links
Pyramid Formula Pythagorean Triples Formula
Quadratic Interpolation Formula Regular Square Pyramid Formula

Variance Formula FAQs

What does variance represent?

Variance quantifies the extent to which data points deviate from the mean. Higher variance indicates more significant variability or spread within the dataset.

How does the formula differ for grouped data?

For grouped data, the variance formula incorporates frequencies and class intervals. It differs for population and sample calculations, using weighted deviations from the mean within the intervals.

Why is understanding variance important?

Understanding variance is crucial as it provides insights into the dispersion of data. It helps in making comparisons, understanding data distributions, and drawing conclusions about the dataset's consistency.

How is the variance formula used in real-life scenarios?

Variance is used in various fields like finance, science, and social sciences for risk assessment, quality control, analyzing experimental results, and making predictions based on data variability.
Join 15 Million students on the app today!
Point IconLive & recorded classes available at ease
Point IconDashboard for progress tracking
Point IconMillions of practice questions at your fingertips
Download ButtonDownload Button
Banner Image
Banner Image
Free Learning Resources
Know about Physics Wallah
Physics Wallah is an Indian edtech platform that provides accessible & comprehensive learning experiences to students from Class 6th to postgraduate level. We also provide extensive NCERT solutions, sample paper, NEET, JEE Mains, BITSAT previous year papers & more such resources to students. Physics Wallah also caters to over 3.5 million registered students and over 78 lakh+ Youtube subscribers with 4.8 rating on its app.
We Stand Out because
We provide students with intensive courses with India’s qualified & experienced faculties & mentors. PW strives to make the learning experience comprehensive and accessible for students of all sections of society. We believe in empowering every single student who couldn't dream of a good career in engineering and medical field earlier.
Our Key Focus Areas
Physics Wallah's main focus is to make the learning experience as economical as possible for all students. With our affordable courses like Lakshya, Udaan and Arjuna and many others, we have been able to provide a platform for lakhs of aspirants. From providing Chemistry, Maths, Physics formula to giving e-books of eminent authors like RD Sharma, RS Aggarwal and Lakhmir Singh, PW focuses on every single student's need for preparation.
What Makes Us Different
Physics Wallah strives to develop a comprehensive pedagogical structure for students, where they get a state-of-the-art learning experience with study material and resources. Apart from catering students preparing for JEE Mains and NEET, PW also provides study material for each state board like Uttar Pradesh, Bihar, and others

Copyright © 2025 Physicswallah Limited All rights reserved.