Skip to content
Exercises · Q6

Q.Define the following terms: Median, Standard Deviation and variance.

Punjab PsebTextbookSubjective· 3mImportance★★★★★
49% · 26/53 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Median, standard deviation, and variance are measures of central tendency and dispersion that summarize different aspects of a dataset's distribution.

These three statistical measures help us understand data in complementary ways. The median tells us where the center of the data lies when arranged in order, while variance and standard deviation quantify how spread out the values are around the mean. Together, they give a complete picture of a dataset's shape and variability.

Median

The median is the middle value in a dataset when all observations are arranged in ascending (or descending) order. It divides the dataset into two equal halves: 50% of the values lie below the median, and 50% lie above it.

For a dataset with nn observations:

  • If nn is odd, the median is the value at position n+12\frac{n+1}{2}.
  • If nn is even, the median is the average of the values at positions n2\frac{n}{2} and n2+1\frac{n}{2} + 1.

Example: For the dataset [3, 7, 9, 15, 21], the median is 99 (the middle value). For [3, 7, 9, 15], the median is 7+92=8\frac{7+9}{2} = 8.

The median is particularly useful when dealing with skewed distributions or outliers, because unlike the mean, it is not affected by extreme values. If a dataset contains a few very large or very small numbers, the median remains a robust measure of central tendency.

Variance

Variance measures how far each value in a dataset is from the mean, on average. It quantifies the spread or dispersion of the data. A small variance indicates that the data points are clustered closely around the mean, while a large variance indicates they are spread out.

Variance(σ2)=∑i=1n(xi−xˉ)2n\text{Variance} (\sigma^2) = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n}

where xix_i represents each data value, xˉ\bar{x} is the mean of the dataset, and nn is the number of observations.

For a sample (rather than the entire population), we divide by n−1n-1 instead of nn to get an unbiased estimate:

s2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1}

Example: For the dataset [2, 4, 6, 8, 10], the mean is xˉ=6\bar{x} = 6. The variance is:

σ2=(2−6)2+(4−6)2+(6−6)2+(8−6)2+(10−6)25=16+4+0+4+165=405=8\sigma^2 = \frac{(2-6)^2 + (4-6)^2 + (6-6)^2 + (8-6)^2 + (10-6)^2}{5} = \frac{16 + 4 + 0 + 4 + 16}{5} = \frac{40}{5} = 8

Watch out

Variance is expressed in squared units of the original data. If your data is in centimeters, the variance is in square centimeters. This makes direct interpretation difficult, which is why we often use standard deviation instead.

Standard Deviation …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.