Statistics: Frequency Distributions, Graphs, Central Tendency, Dispersion, Correlation and Regression

The NDA Mathematics syllabus lists the descriptive statistics that the probability chapter does not teach: classification of data, frequency and cumulative frequency distributions, graphical representation, measures of central tendency, variance and standard deviation, and correlation and regression. This chapter teaches them with one running grouped example, and every number in it was recomputed by script.
Overview

1. Frequency distributions and how to draw them

1 min read · 3 parts

Raw data is a list of numbers; a frequency distribution tells you how often each value, or each class interval, occurs. For a continuous variable the classes must not overlap or leave gaps (0 to 10, 10 to 20, and so on); the class width is the upper limit minus the lower limit, and the class mark (mid-value) is their average. A cumulative frequency column keeps a running total: the less-than type adds from the lowest class upward and the more-than type from the highest class downward.

Which graph for which data
GraphUsed forHow it is drawn
Bar chartDiscrete or categorical dataSeparate bars of equal width; height = frequency
HistogramContinuous classesAdjacent rectangles; area proportional to frequency
Frequency polygonShape of a distributionJoin the tops of class marks; close at both ends on the axis
OgiveCumulative frequency; reading the medianPlot cumulative frequency against class limits; the two ogives cross at the median
Pie chartParts of a wholeAngle = (part ÷ total) × 360°

A pie chart example: sales of 120, 90, 60 and 90 units total 360, so the sectors measure 120°, 90°, 60° and 90°, which add to 360°. In a histogram with unequal class widths the height must be the frequency divided by the width (frequency density), otherwise the wide class looks falsely tall.

⚠️ Histogram versus bar chart
A histogram has no gaps between its bars because the classes are continuous; a bar chart has gaps because its categories are separate. If an option shows touching rectangles for continuous classes, that is the histogram.
Bar chart versus histogram
Bar chart
  • Discrete or categorical data
  • Separate bars, with gaps
  • Height = frequency
Histogram
  • Continuous classes
  • Adjacent rectangles, no gaps
  • Area proportional to frequency

Raw data is a list of numbers; a frequency distribution tells you how often each value, or each class interval, occurs. For a continuous variable the classes must not overlap or leave gaps…

2. Mean, median and mode, ungrouped and grouped

2 min read · 2 parts

For ungrouped data the mean is the sum divided by the count, the median is the middle value of the sorted list (average of the middle two when the count is even) and the mode is the most frequent value. For grouped data use the class marks: mean = Σfx ÷ N. The median uses the class in which the cumulative frequency first reaches N/2: median = l + [(N/2 − cf) ÷ f] × h, where l is the lower limit of that class, cf the cumulative frequency before it, f its frequency and h its width. The mode uses the class with the highest frequency: mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h, with f₀ and f₂ the frequencies of the classes before and after.

Worked example: N = 50
ClassFrequency fClass mark xfxCumulative f
0–1055255
10–2081512013
20–30152537528
30–40123542040
40–50104545050

Here Σfx = 1,390, so the mean is 1,390 ÷ 50 = 27.8. N/2 = 25 first falls in the class 20–30 (cumulative 28), so the median is 20 + (25 − 13) ÷ 15 × 10 = 28. The modal class is 20–30 with f₁ = 15, f₀ = 8, f₂ = 12, so the mode is 20 + (15 − 8) ÷ (30 − 8 − 12) × 10 = 27. The empirical relation for a moderately skewed distribution, mode ≈ 3 median − 2 mean, gives 28.4, close to the computed 27. When the mean is above the median the distribution is skewed to the right.

🧠 Step-deviation shortcut
Pick an assumed mean A (here 25) and divide the deviations by the class width h = 10: d = (x − 25) ÷ 10 takes the values −2, −1, 0, 1, 2, and mean = A + h × Σfd ÷ N. It gives 27.8 again with much smaller numbers.

For ungrouped data the mean is the sum divided by the count, the median is the middle value of the sorted list (average of the middle two when the count is even) and the mode is the most…

3. Measures of dispersion

1 min read · 1 part

An average hides how spread out the data is, and dispersion measures that. The range is the largest minus the smallest value. The mean deviation is the average of the absolute deviations from the mean (or median). The variance σ² is the average of the squared deviations, σ² = Σ(x − x̄)² ÷ n, and the standard deviation σ is its square root. For 2, 4, 6, 8, 10 the mean is 6, the deviations are −4, −2, 0, 2, 4, the mean deviation is 12 ÷ 5 = 2.4, the variance is 40 ÷ 5 = 8 and σ = √8 ≈ 2.83. The coefficient of variation = (σ ÷ mean) × 100% compares the spread of two series that have different units or averages: the smaller CV is the more consistent series.

What happens when every value is changed
Change to every valueMeanStandard deviationVariance
Add a constant bRises by bUnchangedUnchanged
Multiply by aMultiplied by aMultiplied by |a|Multiplied by a²
Both: y = ax + ba·mean + b|a|·σa²·σ²

If a series has variance 9 and every value is multiplied by 2 and then 5 is added, the new variance is 4 × 9 = 36 and the new SD is 6. Adding 5 changes only the position of the data, not its spread. The mean, median and mode all move with an added constant, but only the range, SD and variance are unaffected by it.

An average hides how spread out the data is, and dispersion measures that. The range is the largest minus the smallest value. The mean deviation is the average of the absolute deviations…

4. Correlation and regression

2 min read · 3 parts

Correlation measures the strength and direction of a linear relation between two variables. Karl Pearson's coefficient r = Σ(x − x̄)(y − ȳ) ÷ √[Σ(x − x̄)² Σ(y − ȳ)²] lies between −1 and +1: +1 is perfect positive, −1 perfect negative and 0 no linear relation. It does not change if both variables are shifted or scaled by positive constants, and it does not prove cause. For ranks, Spearman's coefficient is ρ = 1 − 6Σd² ÷ [n(n² − 1)], where d is the difference of ranks: with n = 5 and Σd² = 4, ρ = 1 − 24 ÷ 120 = 0.8.

Regression predicts one variable from the other. The line of y on x is y − ȳ = b_yx (x − x̄) with b_yx = r σ_y ÷ σ_x, and the line of x on y is x − x̄ = b_xy (y − ȳ) with b_xy = r σ_x ÷ σ_y. Both lines pass through the point of means (x̄, ȳ), and r² = b_yx × b_xy, so r has the same sign as both coefficients. Suppose r = 0.8, σ_x = 4, σ_y = 5, x̄ = 10 and ȳ = 20: then b_yx = 0.8 × 5 ÷ 4 = 1, b_xy = 0.8 × 4 ÷ 5 = 0.64, their product 0.64 = r², and the line y − 20 = 1 × (x − 10) predicts y = 25 when x = 15.

⚠️ Two regression lines, not one
The line of y on x is not the line of x on y rewritten; they have different slopes unless r = ±1, when they coincide. Use the line whose dependent variable is the one you want to predict, and remember that the two coefficients are never both greater than 1 in size (their product r² is at most 1).

Correlation measures the strength and direction of a linear relation between two variables. Karl Pearson's coefficient r = Σ(x − x̄)(y − ȳ) ÷ √[Σ(x − x̄)² Σ(y − ȳ)²] lies between −1 and +1…

Five Recipes That Settle Most Statistics Questions

1 min read · 2 parts
Recipes with a number to check each
SituationRecipeCheck
Mean, median and mode of a moderately skewed distributionMode ≈ 3 × Median − 2 × MeanFor median 24 and mean 25: mode ≈ 72 − 50 = 22
Two groups combinedCombined mean = (n₁m₁ + n₂m₂) / (n₁ + n₂); never average the two means directly20 with mean 60 and 30 with mean 70: (1200 + 2100) / 50 = 66
Comparing the consistency of two series with different units or sizesCoefficient of variation = (standard deviation / mean) × 100; the smaller one is more consistentMean 50 and standard deviation 10 give 20 percent
Variance of a short listVariance = mean of squared deviations from the mean; or mean of squares minus square of mean2, 4, 6, 8, 10: mean 6, squared deviations 16, 4, 0, 4, 16, variance 8
Two regression linesThe lines meet at (mean of x, mean of y); r² = b_yx × b_xy, and r takes the sign of the coefficientsb_yx = 0.9 and b_xy = 0.4 give r = √0.36 = 0.6
⚠️ Three traps that cost marks every year
First, the sum of deviations from the arithmetic mean is always zero, so it can never measure spread; the sum of squared deviations is what is used. Second, the regression lines are not interchangeable: the line of y on x minimises vertical errors and has slope b_yx, the line of x on y has slope b_xy, and the two coincide only when r is plus or minus one. Third, the standard deviation of a series is unchanged when a constant is added to every value, but is multiplied by the constant when every value is multiplied by it.

Key takeaways

  • Pie-chart angle = (part ÷ total) × 360°; a histogram has touching rectangles for continuous classes and a bar chart separate bars for categories.
  • Grouped mean = Σfx ÷ N; median = l + [(N/2 − cf) ÷ f] × h; mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h; mode ≈ 3 median − 2 mean.
  • Variance is the mean squared deviation and SD its root; adding a constant leaves SD unchanged, multiplying by a multiplies SD by |a| and variance by a².
  • Pearson r lies between −1 and +1 and ignores origin and positive scale; Spearman ρ = 1 − 6Σd² ÷ [n(n² − 1)].
  • Regression lines pass through (x̄, ȳ), b_yx = r σ_y ÷ σ_x, b_xy = r σ_x ÷ σ_y and r² = b_yx × b_xy.
  • Mode ≈ 3 Median − 2 Mean for a moderately skewed distribution; combined mean uses n₁m₁ + n₂m₂ over n₁ + n₂, never a plain average of means.
  • Regression lines meet at the two means; r² = b_yx b_xy. Adding a constant leaves the standard deviation unchanged; multiplying scales it.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. The central angle of the sector for a part of 90 units in a pie chart of total 360 units is:

    1. 90°
    2. 45°
    3. 180°
    4. 30°
    Show answer

    Answer: A — 90°

    The angle is (part ÷ total) × 360° = (90 ÷ 360) × 360° = 90°, which happens to equal the part because the total is 360. With a total of 720 the same 90 units would take only 45°, so always divide by the total first.
  2. The median of 3, 9, 4, 10, 7, 12 is:

    1. 8
    2. 7
    3. 8.5
    4. 9
    Show answer

    Answer: A — 8

    Sort the numbers: 3, 4, 7, 9, 10, 12. With six values the median is the average of the third and fourth, (7 + 9) ÷ 2 = 8. Taking 7 or 9 alone ignores that the count is even.
  3. For a grouped distribution of N = 50 the median class is 20–30 with cumulative frequency 13 before it and class frequency 15. The median is:

    1. 28
    2. 25
    3. 27
    4. 30
    Show answer

    Answer: A — 28

    Median = l + [(N/2 − cf) ÷ f] × h = 20 + [(25 − 13) ÷ 15] × 10 = 20 + 8 = 28. The midpoint 25 of the class is tempting but ignores where the 25th item actually falls within it.
Show the other 21 questions
  1. For a modal class 20–30 with f₁ = 15, f₀ = 8 and f₂ = 12, the mode is:

    1. 27
    2. 25
    3. 28
    4. 23
    Show answer

    Answer: A — 27

    Mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h = 20 + [(15 − 8) ÷ (30 − 8 − 12)] × 10 = 20 + 7 = 27. The class mark 25 is the crude estimate, and 23 swaps the neighbouring frequencies in the numerator.
  2. A series has variance 9. Every value is multiplied by 2 and then 5 is added. The standard deviation of the new series is:

    1. 6
    2. 11
    3. 36
    4. 18
    Show answer

    Answer: A — 6

    The original SD is 3. Multiplying by 2 doubles it to 6, and adding 5 only shifts the data, so the SD stays 6. The value 36 is the new variance and 11 wrongly adds the constant to the SD.
  3. Ten observations have a mean of 12. One of them, 18, was misread as 9. The corrected mean is:

    1. 12.9
    2. 12.0
    3. 11.1
    4. 13.5
    Show answer

    Answer: A — 12.9

    The wrong total is 10 × 12 = 120. The correction adds 18 − 9 = 9 to it, giving 129, so the mean is 12.9. Subtracting the difference gives 11.1, the wrong direction.
  4. For five paired ranks the sum of squared rank differences is Σd² = 4. Spearman's rank correlation coefficient is:

    1. 0.8
    2. 0.2
    3. 0.96
    4. 0.4
    Show answer

    Answer: A — 0.8

    ρ = 1 − 6Σd² ÷ [n(n² − 1)] = 1 − 24 ÷ (5 × 24) = 1 − 0.2 = 0.8. The value 0.2 is only the subtracted fraction, and forgetting to subtract it from 1 is the common slip.
  5. For two variables r = 0.8, σ_x = 4 and σ_y = 5. The regression coefficient of y on x and of x on y are, respectively:

    1. 1 and 0.64
    2. 0.64 and 1
    3. 0.8 and 0.8
    4. 1.25 and 0.5
    Show answer

    Answer: A — 1 and 0.64

    b_yx = r σ_y ÷ σ_x = 0.8 × 5 ÷ 4 = 1 and b_xy = r σ_x ÷ σ_y = 0.8 × 4 ÷ 5 = 0.64, and their product 0.64 = r². Swapping the two (0.64 and 1) is the standard trap, because the standard deviation in the numerator belongs to the dependent variable.
  6. For a moderately skewed distribution the median is 24 and the mean is 25. The approximate mode is:

    1. 22
    2. 26
    3. 24.5
    4. 27
    Show answer

    Answer: A — 22

    Mode ≈ 3 × Median − 2 × Mean = 72 − 50 = 22. The empirical relation holds only for moderately skewed distributions.
  7. A class of 20 students has a mean mark of 60 and another class of 30 students has a mean of 70. The mean of all 50 students is:

    1. 66
    2. 65
    3. 67
    4. 68
    Show answer

    Answer: A — 66

    Combined mean = (20 × 60 + 30 × 70) / 50 = 3300 / 50 = 66. The trap is to average 60 and 70 to get 65, ignoring the different class sizes.
  8. Series A has mean 50 and standard deviation 10. Its coefficient of variation is:

    1. 20 percent
    2. 5 percent
    3. 40 percent
    4. 500 percent
    Show answer

    Answer: A — 20 percent

    Coefficient of variation = (10 / 50) × 100 = 20 percent. The smaller the coefficient, the more consistent the series.
  9. The variance of the numbers 2, 4, 6, 8, 10 is:

    1. 8
    2. 6
    3. 10
    4. 40
    Show answer

    Answer: A — 8

    The mean is 6 and the squared deviations are 16, 4, 0, 4 and 16, which total 40. Dividing by 5 gives 8. The value 40 is the sum, not the variance.
  10. The two regression coefficients of a bivariate distribution are b_yx = 0.9 and b_xy = 0.4. The coefficient of correlation is:

    1. 0.6
    2. 0.65
    3. 0.36
    4. 1.3
    Show answer

    Answer: A — 0.6

    r² = b_yx × b_xy = 0.36, so r = 0.6, taking the positive sign because both coefficients are positive. The value 0.65 comes from averaging the coefficients, which is wrong.
  11. The regression lines of a distribution are 3x + 2y = 26 and 6x + y = 31. The means of x and y are respectively:

    1. 4 and 7
    2. 7 and 4
    3. 5 and 5.5
    4. 3 and 8.5
    Show answer

    Answer: A — 4 and 7

    The lines intersect at the point of means. From the second line y = 31 − 6x; substituting in the first gives 3x + 62 − 12x = 26, so x = 4 and y = 7. Check: 3(4) + 2(7) = 26.
  12. The standard deviation of the first five natural numbers 1, 2, 3, 4, 5 is:

    1. √2
    2. 2
    3. √3
    4. 1
    Show answer

    Answer: A — √2

    The mean is 3 and the squared deviations are 4, 1, 0, 1, 4, which total 10; the variance is 2 and the standard deviation √2. Reporting 2 confuses variance with standard deviation.
  13. The algebraic sum of the deviations of a set of values from their arithmetic mean is:

    1. Zero
    2. Always positive
    3. Equal to the variance
    4. Equal to the number of values
    Show answer

    Answer: A — Zero

    Positive and negative deviations cancel exactly about the mean, which is why spread is measured with squared or absolute deviations instead.
  14. The first quartile of a distribution is 12 and the third quartile is 20. The quartile deviation (semi-interquartile range) is:

    1. 4
    2. 8
    3. 16
    4. 32
    Show answer

    Answer: A — 4

    Quartile deviation = (Q3 − Q1) / 2 = (20 − 12) / 2 = 4. The value 8 is the interquartile range itself.
  15. The arithmetic mean of 4, 8, 12, 16 and 20 is:

    1. 10
    2. 14
    3. 60
    4. 12
    Show answer

    Answer: D — 12

    The sum 60 divided by 5 is 12. The 60 is the tempting sum.
  16. The mode of 2, 3, 3, 5, 5, 5, 7 is:

    1. 5
    2. 3
    3. 4
    4. 7
    Show answer

    Answer: A — 5

    Five occurs most often, three times. The 4 is the tempting mean of the data.
  17. The variance of the data 2, 4, 6, 8 (population variance) is:

    1. 20
    2. 5
    3. 2.5
    4. 4
    Show answer

    Answer: B — 5

    The mean is 5 and the squared deviations are 9, 1, 1, 9, summing to 20, so 20 ÷ 4 = 5. The 20 is the tempting unsummed total.
  18. For a grouped distribution of N = 60, the median class is 30–40, the cumulative frequency before it is 24 and its frequency is 12. The median is:

    1. 36
    2. 34
    3. 35
    4. 30
    Show answer

    Answer: C — 35

    Median = 30 + (30 − 24)/12 × 10 = 35. The 30 is the tempting lower limit of the class.
  19. A series has mean 50 and standard deviation 5. Its coefficient of variation is:

    1. 1%
    2. 25%
    3. 0.1%
    4. 10%
    Show answer

    Answer: D — 10%

    CV = (σ / mean) × 100 = 10%. The 0.1% is the tempting error of forgetting to multiply by 100.
  20. For two variables r = 0.6, σₓ = 5 and σᵧ = 10. The regression coefficient of x on y is:

    1. 0.3
    2. 1.2
    3. 0.6
    4. 3
    Show answer

    Answer: A — 0.3

    b_xy = r σₓ/σᵧ = 0.6 × 5/10 = 0.3. The 1.2 is the tempting b_yx, the coefficient of y on x.
  21. The mean of 20 numbers is 15. If one number, 30, is replaced by 10, the new mean is:

    1. 13
    2. 14
    3. 16
    4. 15
    Show answer

    Answer: B — 14

    The total falls from 300 to 280, so the mean is 14. The 13 is the tempting error of subtracting 20 from the mean.