Class 11 PCM . Mathematics . Mathematics . Statistics

Chapter 13: Statistics    

Ch 13

Mathematics

Class 11 PCM

Lecture 1

Introduction & Measures Of Dispersion

Reference video · Lecture 1Introduction & Measures Of Dispersion

Central Tendency and Dispersion

Find and compare central values

  1. Add the observations and divide by their count to calculate the mean.
    $$\bar{x}=\frac{\sum x_i}{n}$$
  2. Arrange the observations and identify the middle position or pair to calculate the median.
    $$\frac{n+1}{2};\quad \frac{n}{2},\;\frac{n}{2}+1$$
  3. Assess dispersion separately; equal mean and median do not imply equal spread.
    $$\bar{x}_A=\bar{x}_B,\quad \widetilde{x}_A=\widetilde{x}_B\not\Rightarrow D_A=D_B$$
Worked example

Compare the last-ten-match scores of Batsmen A and B using mean, median and range.

  1. For Batsman A, the ten scores add to \(530\), so the mean is \(53\).
    $$\frac{30+91+0+64+42+80+30+5+117+71}{10}=\frac{530}{10}=53$$
  2. The fifth and sixth arranged scores for A are \(42\) and \(64\), giving median \(53\).
    $$\frac{42+64}{2}=53$$
  3. For Batsman B, the scores also add to \(530\); the fifth and sixth arranged scores are both \(53\).
    $$\frac{530}{10}=53;\quad \frac{53+53}{2}=53$$
  4. Despite equal means and medians, their ranges differ substantially.
    $$R_A=117-0=117;\quad R_B=60-46=14$$
Answer: Both have mean \(53\) and median \(53\). Batsman A's range is \(117\) and Batsman B's is \(14\), so A's scores are more spread out.

Range

Worked example

Find and compare the ranges of the two batsmen's scores.

  1. For Batsman A, the maximum is \(117\) and the minimum is \(0\).
    $$R_A=117-0=117$$
  2. For Batsman B, the maximum is \(60\) and the minimum is \(46\).
    $$R_B=60-46=14$$
  3. A's scores have the larger range and are therefore more spread out by this measure.
    $$117>14$$
Answer: Batsman A: \(117\); Batsman B: \(14\). A has the larger range.
⚠ Common mistake

Do not treat range as a complete description of spread: it uses only the two extreme observations and ignores the positions of all the others.

Mean Deviation

Sum of deviations from the mean

The signed deviations from the arithmetic mean always sum to zero; therefore their ordinary average is also zero.

$$\sum_{i=1}^{n}(x_i-\bar{x})=0$$
Worked example

Find the mean deviation about the mean for \(2,4,6\).

  1. For the data \(2,4,6\), the mean is \(4\); their signed deviations from \(4\) sum to zero.
    $$\bar{x}=\frac{2+4+6}{3}=4;\quad (2-4)+(4-4)+(6-4)=0$$
  2. Take absolute values of the deviations to measure distances from the mean.
    $$|2-4|+|4-4|+|6-4|=2+0+2=4$$
  3. Divide the sum of absolute deviations by the number of observations.
    $$\operatorname{MD}(4)=\frac{4}{3}$$
Answer: The mean is \(4\), and the mean deviation about the mean is \(\frac{4}{3}\).
⚠ Common mistake

Do not average signed deviations to measure dispersion: deviations from the mean sum to zero. Use absolute deviations in mean deviation.

Practice

Find the range of \(3,7,9,12,15\).

Hint: Subtract the smallest observation from the largest.
Key step: Identify \(x_{\max}=15\) and \(x_{\min}=3\).
Solution: \(R=15-3=12\).
Practice

Find the mean deviation about the mean for \(1,3,5,7\).

Hint: Find the mean, then average the absolute deviations.
Key step: The mean is \(4\); the absolute deviations are \(3,1,1,3\).
Solution: \(\bar{x}=4\) and \(\operatorname{MD}(4)=\frac{3+1+1+3}{4}=2\).

Quick recap

  • Measures of central tendency show the centre; measures of dispersion describe the spread.
  • The main dispersion measures are range, quartile deviation, mean deviation and standard deviation; quartile deviation is excluded here.
  • Range equals the maximum observation minus the minimum observation.
  • Range gives only a rough picture because it uses only the two extreme values.
  • Mean deviation about \(a\) is \(\frac{1}{n}\sum_{i=1}^{n}|x_i-a|\).
  • Signed deviations from the mean sum to zero, so mean deviation uses absolute deviations.
Lecture 2

Mean Deviation For Ungrouped Data

Reference video · Lecture 2Mean Deviation For Ungrouped Data
Definition

Mean deviation — The mean deviation about a value is the average of the absolute differences between each observation and that value.

Key ideas

  • Reference value: Mean deviation can be calculated about the mean or the median; denote the chosen value by \(a\).
  • Absolute deviations: Use \(|x_i-a|\) so that negative and positive deviations do not cancel.
  • Ungrouped data: Each observation is used individually, and the absolute deviations are divided by the number of observations.
  • Median: Arrange the data in ascending order first; for odd \(n\), the median is the observation in position \(\frac{n+1}{2}\).
Mean deviation about a value
$$\mathrm{M.D.}(a)=\frac{1}{n}\sum_{i=1}^{n}|x_i-a|$$

Use \(a=\bar{x}\) for mean deviation about the mean, or \(a=M\) for mean deviation about the median.

Mean and median
$$\mathrm{M.D.}(\bar{x})=\frac{1}{n}\sum_{i=1}^{n}|x_i-\bar{x}|,\qquad \mathrm{M.D.}(M)=\frac{1}{n}\sum_{i=1}^{n}|x_i-M|$$

The mean is \(\bar{x}\); the median is \(M\).

Finding mean deviation

  1. Find the chosen centre, either the mean or the median.
    $$a=\bar{x}\ \text{or}\ a=M$$
  2. Subtract the centre from each observation.
    $$x_i-a$$
  3. Take the absolute value of every deviation.
    $$|x_i-a|$$
  4. Add the absolute deviations and divide by the number of observations.
    $$\mathrm{M.D.}(a)=\frac{\sum_{i=1}^{n}|x_i-a|}{n}$$
Worked example

Find the mean deviation about the mean for \(6,7,10,12,13,4,8,12\).

  1. Find the mean of the observations \(6,7,10,12,13,4,8,12\).
    $$\bar{x}=\frac{6+7+10+12+13+4+8+12}{8}=\frac{72}{8}=9$$
  2. Find each deviation from the mean.
    $$x_i-\bar{x}=-3,-2,1,3,4,-5,-1,3$$
  3. Take the absolute values and add them.
    $$|x_i-\bar{x}|=3,2,1,3,4,5,1,3;\qquad \sum_{i=1}^{8}|x_i-\bar{x}|=22$$
  4. Divide the total absolute deviation by the number of observations.
    $$\mathrm{M.D.}(\bar{x})=\frac{22}{8}=2.75$$
Answer: The mean deviation about the mean is \(2.75\).
⚠ Common mistake

Do not average the signed deviations: take absolute values first, or positive and negative deviations may cancel.

Practice

Find the mean deviation about the mean for \(12,3,18,17,4,9,17,19,20,15,8,17,2,3,16,11,3,1,0,5\).

Hint: Find the mean first, then sum all absolute deviations.
Key step: \(\bar{x}=10\) and \(\sum |x_i-\bar{x}|=124\).
Solution: \(\mathrm{M.D.}(\bar{x})=\frac{124}{20}=6.2\).
Practice

Find the mean deviation about the median for \(3,9,5,3,12,10,18,4,7,19,21\).

Hint: Sort the observations and identify the sixth observation as the median.
Key step: \(M=9\) and \(\sum |x_i-M|=58\).
Solution: \(\mathrm{M.D.}(M)=\frac{58}{11}\approx5.27\).

Quick recap

  • Mean deviation is the average of the absolute deviations from a chosen centre.
  • Choose the mean or median as the centre before calculating.
  • Use absolute deviations so all contributions are non-negative.
  • For ungrouped data, divide the sum of absolute deviations by \(n\).
  • For an odd number of observations, sort the data to locate the median.
Lecture 3

Mean Deviation For Grouped Data

Reference video · Lecture 3Mean Deviation For Grouped Data

Discrete Frequency Distributions

Definition

Discrete frequency distribution — A distribution listing distinct values \(x_i\) with their corresponding frequencies \(f_i\).

Key ideas

  • Total frequency: \(N=\sum f_i\).
  • Weighted data: Each distinct value contributes according to its frequency.
  • Absolute deviation: Use the non-negative distance from the chosen central value.

Mean Deviation About the Mean: Discrete Data

Definition

Mean deviation about the mean — The frequency-weighted average of the absolute deviations of observations from their mean.

Mean and Mean Deviation About the Mean
$$\bar{x}=\frac{\sum f_i x_i}{N},\qquad \mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N},\qquad N=\sum f_i$$

Find the weighted mean first, then calculate deviations from it.

Finding Mean Deviation About the Mean

  1. Calculate the total frequency and the weighted mean.
    $$\bar{x}=\frac{\sum f_i x_i}{N}$$
  2. Find each absolute deviation and multiply it by its frequency.
    $$f_i|x_i-\bar{x}|$$
  3. Add the weighted deviations and divide by the total frequency.
    $$\mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N}$$
Worked example

Find the mean deviation about the mean for the given discrete frequency distribution.

  1. For values \(2,5,6,8,10,12\) with frequencies \(2,8,10,7,8,5\), calculate the totals.
    $$N=40,\qquad \sum f_i x_i=300$$
  2. Find the weighted mean.
    $$\bar{x}=\frac{300}{40}=7.5$$
  3. The frequency-weighted absolute deviations sum to \(92\).
    $$\sum f_i|x_i-\bar{x}|=92$$
  4. Divide by the total frequency to obtain the mean deviation.
    $$\mathrm{M.D.}(\bar{x})=\frac{92}{40}=2.3$$
Answer: \(\mathrm{M.D.}(\bar{x})=2.3\).

Mean Deviation About the Median: Discrete Data

Definition

Median of a discrete frequency distribution — The middle observation in the ordered data, or the average of the two middle observations when the total frequency is even.

Locating the median

  • Cumulative frequency: Add frequencies successively to locate the central observation(s).
  • Odd \(N\): The median is the observation at position \(\frac{N+1}{2}\).
  • Even \(N\): Average the observations at positions \(\frac{N}{2}\) and \(\frac{N}{2}+1\).
Mean Deviation About the Median
$$\mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$

Here \(M\) denotes the median.

Finding Mean Deviation About the Median

  1. Arrange values in ascending order and calculate cumulative frequencies.
  2. Use the central observation(s) to identify the median.
    $$M$$
  3. Calculate and sum the frequency-weighted absolute deviations, then divide by \(N\).
    $$\mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$
Worked example

Find the mean deviation about the median for the given discrete frequency distribution.

  1. For values \(3,6,9,12,13,15,21,22\) with frequencies \(3,4,5,2,4,5,4,3\), find the total frequency and middle observations.
    $$N=30,\qquad x_{(15)}=13,\qquad x_{(16)}=13$$
  2. Both middle observations are \(13\), so the median is \(13\).
    $$M=\frac{13+13}{2}=13$$
  3. The weighted absolute deviations sum to \(149\).
    $$\sum f_i|x_i-M|=149$$
  4. Divide by the total frequency.
    $$\mathrm{M.D.}(M)=\frac{149}{30}\approx4.97$$
Answer: \(M=13\) and \(\mathrm{M.D.}(M)\approx4.97\).

Continuous Frequency Distributions

Definition

Continuous frequency distribution — A distribution that groups data into adjoining class intervals and gives the frequency in each interval.

Grouped-data representation

  • Class midpoint: Represent each interval by its midpoint \(x_i\) in calculations.
  • Frequency: Use the class frequency \(f_i\) as the weight for its midpoint.
  • Example: Marks intervals \(0\)–\(10\), \(10\)–\(20\), \(20\)–\(30\), \(30\)–\(40\), \(40\)–\(50\), \(50\)–\(60\) can have frequencies \(12,18,27,20,17,6\).

Mean Deviation About the Mean: Continuous Data

Key procedure

  • Midpoints: Use each class midpoint \(x_i\) as its representative observation.
  • Mean: Find the weighted average of the midpoints.
  • Mean deviation: Average the frequency-weighted absolute distances from the mean.
Grouped Mean and Mean Deviation
$$\bar{x}=\frac{\sum f_i x_i}{N},\qquad \mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N},\qquad N=\sum f_i$$

Use class midpoints as \(x_i\); the formulas are otherwise the same as for discrete data.

Using Class Midpoints

  1. Find each class midpoint, then calculate \(N\) and the weighted sum.
    $$x_i=\frac{\text{lower limit}+\text{upper limit}}{2}$$
  2. Calculate the weighted mean.
    $$\bar{x}=\frac{\sum f_i x_i}{N}$$
  3. Weight each absolute deviation by its frequency, then divide the total by \(N\).
    $$\mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N}$$
Worked example

Find the mean deviation about the mean for the grouped marks data.

  1. For classes \(10\)–\(20\), \(20\)–\(30\), \(30\)–\(40\), \(40\)–\(50\), \(50\)–\(60\), \(60\)–\(70\), \(70\)–\(80\) with frequencies \(2,3,8,14,8,3,2\), calculate the midpoints and totals.
    $$x_i=15,25,35,45,55,65,75,\qquad N=40,\qquad \sum f_i x_i=1800$$
  2. Find the mean.
    $$\bar{x}=\frac{1800}{40}=45$$
  3. The weighted absolute deviations from the mean sum to \(400\).
    $$\sum f_i|x_i-\bar{x}|=400$$
  4. Divide by the total frequency.
    $$\mathrm{M.D.}(\bar{x})=\frac{400}{40}=10$$
Answer: \(\mathrm{M.D.}(\bar{x})=10\).

Shortcut: Step-Deviation Method

Definition

Step deviation — A scaled deviation from an assumed mean, used to simplify calculations of the grouped mean.

Key ideas

  • Assumed mean: Choose a convenient value \(a\), usually near the centre of the data.
  • Scale factor: Choose a common factor \(h\) of the deviations, when available.
  • Step deviations: Set \(d_i=\frac{x_i-a}{h}\); this shifts and rescales the values.
  • Use: Step deviation simplifies finding the mean; calculate mean deviation using the original midpoints.
Mean by Step Deviation
$$d_i=\frac{x_i-a}{h},\qquad \bar{x}=a+h\frac{\sum f_i d_i}{N}$$

After finding the mean this way, use the usual formula for mean deviation.

Worked example

Find the mean and mean deviation for the grouped data by step deviation.

  1. For the previous grouped data, choose the assumed mean \(a=45\) and scale factor \(h=10\).
    $$d_i=\frac{x_i-45}{10}$$
  2. The step deviations are \(-3,-2,-1,0,1,2,3\); their weighted sum is zero.
    $$\sum f_i d_i=0$$
  3. Apply the step-deviation formula to find the mean.
    $$\bar{x}=45+10\left(\frac{0}{40}\right)=45$$
  4. Use the original midpoints to calculate mean deviation; the weighted distances total \(400\).
    $$\mathrm{M.D.}(\bar{x})=\frac{400}{40}=10$$
Answer: \(\bar{x}=45\) and \(\mathrm{M.D.}(\bar{x})=10\).

Mean Deviation About the Median: Continuous Data

Definition

Median class — The class interval whose cumulative frequency first reaches or exceeds half the total frequency.

Grouped Median and Mean Deviation
$$M=l+\frac{\frac{N}{2}-C}{f}h,\qquad \mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$

Here \(l\) is the median-class lower limit, \(C\) the cumulative frequency before it, \(f\) its frequency, and \(h\) its width.

Finding Mean Deviation About the Grouped Median

  1. Calculate cumulative frequencies and identify the median class containing the \(\frac{N}{2}\)th observation.
  2. Apply the grouped median formula.
    $$M=l+\frac{\frac{N}{2}-C}{f}h$$
  3. Find each midpoint's absolute deviation from the median, weight by frequency, and divide the sum by \(N\).
    $$\mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$
Worked example

Find the mean deviation about the median for the grouped data.

  1. For classes \(0\)–\(10\), \(10\)–\(20\), \(20\)–\(30\), \(30\)–\(40\), \(40\)–\(50\), \(50\)–\(60\) with frequencies \(6,7,15,16,4,2\), the total frequency is \(50\).
    $$N=50,\qquad \frac{N}{2}=25$$
  2. The \(25\)th observation falls in the class \(20\)–\(30\); thus \(l=20\), \(C=13\), \(f=15\), and \(h=10\).
    $$M=20+\frac{25-13}{15}\times10=28$$
  3. Using midpoints \(5,15,25,35,45,55\), the weighted absolute deviations sum to \(508\).
    $$\sum f_i|x_i-M|=508$$
  4. Divide by the total frequency.
    $$\mathrm{M.D.}(M)=\frac{508}{50}=10.16$$
Answer: \(M=28\) and \(\mathrm{M.D.}(M)=10.16\).

Limitations of Mean Deviation

Limitations

  • Unrepresentative median: With very high variability, the median may not represent the series well, making mean deviation about it unreliable.
  • About the mean: The sum of absolute deviations about the mean is generally not smaller than that about the median, so mean deviation about the mean may be unsatisfactory.
  • Absolute values: Using absolute deviations prevents mean deviation from being treated easily by further algebraic methods.
  • Alternative: Standard deviation is another measure of dispersion.
Practice

For values \(1,3,5\) with frequencies \(2,3,1\), find the mean deviation about the mean.

Hint: Find the weighted mean before taking absolute deviations.
Key step: \(N=6\), \(\bar{x}=\frac{16}{6}=\frac{8}{3}\), and \(\sum f_i|x_i-\bar{x}|=\frac{20}{3}\).
Solution: \(\mathrm{M.D.}(\bar{x})=\frac{20/3}{6}=\frac{10}{9}\).
Practice

For classes \(0\)–\(10\), \(10\)–\(20\), \(20\)–\(30\) with frequencies \(2,5,3\), find the mean deviation about the mean.

Hint: Use midpoints \(5,15,25\).
Key step: \(N=10\), \(\bar{x}=16\), and \(\sum f_i|x_i-16|=54\).
Solution: \(\mathrm{M.D.}(\bar{x})=\frac{54}{10}=5.4\).
Practice

For classes \(0\)–\(10\), \(10\)–\(20\), \(20\)–\(30\) with frequencies \(2,5,3\), find the mean deviation about the median.

Hint: The median class is \(10\)–\(20\); use the grouped median formula.
Key step: \(M=10+\frac{5-2}{5}\times10=16\), and \(\sum f_i|x_i-M|=54\).
Solution: \(\mathrm{M.D.}(M)=\frac{54}{10}=5.4\).

Quick recap

  • For discrete data, use distinct values \(x_i\) and frequencies \(f_i\); for continuous data, use class midpoints.
  • Mean deviation about the mean is \(\frac{\sum f_i|x_i-\bar{x}|}{N}\).
  • For discrete data, cumulative frequencies locate the middle observation(s) used to find the median.
  • For continuous data, use \(M=l+\frac{\frac{N}{2}-C}{f}h\) to find the grouped median.
  • Mean deviation about the median is \(\frac{\sum f_i|x_i-M|}{N}\).
  • Step deviation simplifies calculating the mean; use original midpoints for mean-deviation distances.
  • Absolute values limit further algebraic treatment of mean deviation; standard deviation is an alternative.
Lecture 4

Variance And Standard Deviation

Reference video · Lecture 4Variance And Standard Deviation

Squared Deviations and Variance

Definition

Variance — Variance is the mean of the squared deviations of observations from their arithmetic mean; it measures their dispersion.

Properties of squared deviations

Squaring deviations makes them non-negative, so positive and negative deviations cannot cancel. The sum of squared deviations alone depends on the number of observations; averaging the squares gives a more suitable comparison of dispersion. Variance is zero exactly when all observations equal the mean.

Why use the mean of squared deviations?
Data setNumber of observationsMeanSum of squared deviationsMean of squared deviations
A: \(5,15,25,35,45,55\)\(6\)\(30\)\(1750\)\(1750/6\approx291.67\)
B: integers from \(15\) to \(45\)\(31\)\(30\)\(2480\)\(2480/31=80\)
Sum of the first n squares
$$\sum_{k=1}^{n}k^2=\frac{n(n+1)(2n+1)}{6}$$

Useful for calculating the sum of squared deviations in set B.

Comparing the sets

  • Set B: Its squared-deviation total is \(2\sum_{k=1}^{15}k^2=2\left(\frac{15\cdot16\cdot31}{6}\right)=2480\).
  • Conclusion: Set A has the greater dispersion: its mean squared deviation is about \(291.67\), compared with \(80\) for set B.
Dot plots compare sets A and B on number lines; both have mean 30.
Dot plots compare sets A and B on number lines; both have mean \(30\).
Variance of ungrouped data
$$\sigma^2=\frac{1}{n}\sum_{i=1}^{n}(x_i-\bar{x})^2$$

Use when all \(n\) observations are listed individually.

Calculate variance from ungrouped data

  1. Find the mean of the observations.
    $$\bar{x}=\frac{\sum_{i=1}^{n}x_i}{n}$$
  2. Calculate each deviation from the mean and square it.
    $$(x_i-\bar{x})^2$$
  3. Add the squared deviations and divide by the number of observations.
    $$\sigma^2=\frac{\sum_{i=1}^{n}(x_i-\bar{x})^2}{n}$$

Standard Deviation

Definition

Standard deviation — Standard deviation is the positive square root of variance and is a measure of dispersion expressed in the original units of the data.

Relationship between variance and standard deviation

Variance is measured in squared data units, while standard deviation has the same units as the observations.

$$\sigma=\sqrt{\sigma^2}=\sqrt{\frac{1}{n}\sum_{i=1}^{n}(x_i-\bar{x})^2}$$
Worked example

Find the variance and standard deviation of \(6,8,10,12,14,16,18,20,22,24\).

  1. Find the variance and standard deviation of \(6,8,10,12,14,16,18,20,22,24\).
  2. Find the mean.
    $$\bar{x}=\frac{6+8+10+12+14+16+18+20+22+24}{10}=15$$
  3. Calculate and add the squared deviations from the mean.
    $$\sum_{i=1}^{10}(x_i-15)^2=81+49+25+9+1+1+9+25+49+81=330$$
  4. Divide by the number of observations to find variance.
    $$\sigma^2=\frac{330}{10}=33$$
  5. Take the positive square root to find standard deviation.
    $$\sigma=\sqrt{33}\approx5.74$$
Answer: \(\sigma^2=33\) and \(\sigma=\sqrt{33}\approx5.74\).

Discrete Frequency Distributions

Definition

Discrete frequency distribution — A discrete frequency distribution lists each distinct value \(x_i\) together with its frequency \(f_i\).

Frequency-weighted dispersion

Each squared deviation contributes once for every occurrence of its value. The total number of observations is \(N=\sum_{i=1}^{n}f_i\).

$$\bar{x}=\frac{\sum_{i=1}^{n}f_ix_i}{N},\qquad \sigma^2=\frac{1}{N}\sum_{i=1}^{n}f_i(x_i-\bar{x})^2,\qquad \sigma=\sqrt{\sigma^2}$$

Calculate variance from a discrete frequency distribution

  1. Find the total frequency and the weighted mean.
    $$N=\sum f_i,\qquad \bar{x}=\frac{\sum f_ix_i}{N}$$
  2. For each value, find its squared deviation and multiply by its frequency.
    $$f_i(x_i-\bar{x})^2$$
  3. Add the weighted squared deviations and divide by the total frequency; then take the positive square root for standard deviation.
    $$\sigma^2=\frac{\sum f_i(x_i-\bar{x})^2}{N},\qquad \sigma=\sqrt{\sigma^2}$$
Practice

For the observations \(2,4,6\), find the variance and standard deviation.

Hint: First find the mean, then use the squared deviations.
Key step: \(\bar{x}=4\) and \(\sum(x_i-\bar{x})^2=8\).
Solution: \(\sigma^2=\frac{8}{3}\) and \(\sigma=\sqrt{\frac{8}{3}}\approx1.63\).
Practice

For \(x_i:4,8,11,17,20,24,32\) and \(f_i:3,5,9,5,4,3,1\), find the variance and standard deviation.

Hint: Compute \(N\) and the weighted mean first, then total the frequency-weighted squared deviations.
Key step: \(N=30\), \(\bar{x}=14\), and \(\sum f_i(x_i-\bar{x})^2=1374\).
Solution: \(\sigma^2=\frac{1374}{30}=45.8\) and \(\sigma=\sqrt{45.8}\approx6.77\).
⚠ Common mistake

Do not divide by \(n\) or \(N\) before finding the sum of squared deviations; for a frequency distribution, include each value's frequency in both the weighted mean and the variance calculation.

Quick recap

  • Squaring deviations prevents positive and negative deviations from cancelling.
  • The sum of squared deviations depends on the number of observations; variance averages those squares.
  • For ungrouped data, \(\sigma^2=\frac{1}{n}\sum(x_i-\bar{x})^2\).
  • Use \(\sum_{k=1}^{n}k^2=\frac{n(n+1)(2n+1)}{6}\) to calculate sums of consecutive squares.
  • Standard deviation is the positive square root of variance and uses the original data units.
  • For a discrete frequency distribution, use \(N=\sum f_i\) and weight each squared deviation by \(f_i\); variance is zero only when every observation equals the mean.
Lecture 5

Standard Deviation Of A Continuous Frequency Distribution

Reference video · Lecture 5Standard Deviation Of A Continuous Frequency Distribution

Midpoints and the Direct Method

Variance and standard deviation

For grouped data, variance is the frequency-weighted mean of squared deviations from the mean; standard deviation is its positive square root.

$$\sigma^2=\frac{1}{N}\sum_{i=1}^{n}f_i(x_i-\bar{x})^2,\qquad \sigma=\sqrt{\frac{1}{N}\sum_{i=1}^{n}f_i(x_i-\bar{x})^2}$$
Equivalent formula using sums
$$\sigma^2=\frac{\sum f_i x_i^2}{N}-\left(\frac{\sum f_i x_i}{N}\right)^2=\frac{N\sum f_i x_i^2-(\sum f_i x_i)^2}{N^2},\qquad \sigma=\frac{1}{N}\sqrt{N\sum f_i x_i^2-(\sum f_i x_i)^2}$$

Use this form when the totals \(\sum f_i x_i\) and \(\sum f_i x_i^2\) are easier to calculate.

Direct method

  1. Find every class midpoint and calculate the total frequency.
    $$x_i=\frac{a_i+b_i}{2},\qquad N=\sum f_i$$
  2. Calculate the mean of the distribution.
    $$\bar{x}=\frac{\sum f_i x_i}{N}$$
  3. Find the weighted sum of squared deviations, then calculate variance and standard deviation.
    $$\sigma^2=\frac{\sum f_i(x_i-\bar{x})^2}{N},\qquad \sigma=\sqrt{\sigma^2}$$
Worked example

Find the mean, variance and standard deviation of the given continuous frequency distribution.

  1. For classes \(30\)–\(40\) through \(90\)–\(100\) with frequencies \(3,7,12,15,8,3,2\), the midpoints are \(35,45,55,65,75,85,95\).
    $$N=50,\qquad \sum f_i x_i=3100$$
  2. Calculate the mean.
    $$\bar{x}=\frac{3100}{50}=62$$
  3. The weighted sum of squared deviations is \(10050\).
    $$\sum f_i(x_i-62)^2=10050$$
  4. Calculate variance and standard deviation.
    $$\sigma^2=\frac{10050}{50}=201,\qquad \sigma=\sqrt{201}\approx14.18$$
Answer: \(\bar{x}=62\), \(\sigma^2=201\), and \(\sigma\approx14.18\).

Discrete-data check for the equivalent formula

  • Data: For \(x_i=3,8,13,18,23\) and \(f_i=7,10,15,10,6\), the totals are \(N=48\), \(\sum f_i x_i=614\), and \(\sum f_i x_i^2=9652\).
  • Calculation: \(\sigma=\frac{1}{48}\sqrt{48(9652)-614^2}=\frac{293.77}{48}\approx6.12\).
  • Result: The standard deviation is approximately \(6.12\).

Shortcut (Step-Deviation) Method

Shortcut formulas
$$\bar{x}=A+h\frac{\sum f_i y_i}{N},\qquad \sigma^2=\frac{h^2}{N^2}\left[N\sum f_i y_i^2-(\sum f_i y_i)^2\right],\qquad \sigma=\frac{h}{N}\sqrt{N\sum f_i y_i^2-(\sum f_i y_i)^2}$$

Use coded values \(y_i\) and their frequencies to calculate the mean, variance and standard deviation.

Step-deviation procedure

  1. Choose an assumed mean \(A\) and class width \(h\); calculate the coded value for each midpoint.
    $$y_i=\frac{x_i-A}{h}$$
  2. Calculate the required frequency totals.
    $$N=\sum f_i,\qquad \sum f_i y_i,\qquad \sum f_i y_i^2$$
  3. Substitute the totals into the shortcut formulas.
    $$\bar{x}=A+h\frac{\sum f_i y_i}{N},\qquad \sigma^2=\frac{h^2}{N^2}\left[N\sum f_i y_i^2-(\sum f_i y_i)^2\right]$$
  4. Take the positive square root of the variance to obtain standard deviation.
    $$\sigma=\sqrt{\sigma^2}$$

Shortcut calculation for the grouped distribution

  • Coding: For the same classes, choose \(A=65\) and \(h=10\); the coded values are \(-3,-2,-1,0,1,2,3\).
  • Totals: \(N=50\), \(\sum f_i y_i=-15\), and \(\sum f_i y_i^2=105\).
  • Mean: \(\bar{x}=65+10\left(\frac{-15}{50}\right)=62\).
  • Variance and standard deviation: \(\sigma^2=\frac{10^2}{50^2}[50(105)-(-15)^2]=201\), so \(\sigma=\sqrt{201}\approx14.18\).

Effect of Changing Observations

Translation and scaling properties

Adding a constant to every observation leaves variance unchanged; multiplying every observation by \(k\) multiplies variance by \(k^2\) and standard deviation by \(|k|\).

$$\operatorname{Var}(x_i+a)=\operatorname{Var}(x_i),\qquad \operatorname{Var}(kx_i)=k^2\operatorname{Var}(x_i)$$
⚠ Common mistake

Do not multiply standard deviation by \(k^2\): multiplying observations by \(k\) multiplies standard deviation by \(|k|\), while variance is multiplied by \(k^2\).

Practice

A data set has variance \(5\). Find the variance and standard deviation after every observation is multiplied by \(2\).

Hint: Use the scaling rule for variance and standard deviation.
Key step: \(\sigma_y^2=2^2\sigma_x^2\).
Solution: New variance \(=4(5)=20\); new standard deviation \(=\sqrt{20}=2\sqrt{5}\approx4.47\).
Practice

The mean of five observations is \(4.4\), and their variance is \(8.24\). Three observations are \(1,2,6\). Find the other two observations.

Hint: Use the mean to find \(x+y\), then use the variance to find \(x^2+y^2\).
Key step: \(x+y=13\) and \(x^2+y^2=97\), so \((x-y)^2=25\).
Solution: From the mean, \(x+y=22-9=13\). From the variance, \(\sum (x_i-4.4)^2=5(8.24)=41.2\), giving \(x^2+y^2=97\). Then \(2xy=13^2-97=72\), so \((x-y)^2=97-72=25\). Thus the remaining observations are \(4\) and \(9\).
Practice

For \(100\) observations, an incorrect mean of \(40\) and standard deviation of \(5.1\) were obtained because \(50\) was recorded instead of \(40\). Find the correct mean and standard deviation.

Hint: Correct both \(\sum x_i\) and \(\sum x_i^2\) before recalculating.
Key step: \(\sum x_i=4000-50+40=3990\); correct \(\sum x_i^2=162601-50^2+40^2=161701\).
Solution: Correct mean \(=3990/100=39.9\). The incorrect sum of squares is \(100(5.1^2+40^2)=162601\). Hence the corrected sum of squares is \(162601-2500+1600=161701\). Correct variance \(=161701/100-(39.9)^2=25\), so the correct standard deviation is \(5\).

Quick recap

  • Represent every continuous class by its midpoint and retain its frequency.
  • Compute \(N=\sum f_i\) and \(\bar{x}=\frac{\sum f_i x_i}{N}\).
  • Use \(\sigma^2=\frac{\sum f_i(x_i-\bar{x})^2}{N}\) and \(\sigma=\sqrt{\sigma^2}\).
  • The equivalent raw-sum formula uses \(\sum f_i x_i\) and \(\sum f_i x_i^2\).
  • Step-deviation uses \(y_i=\frac{x_i-A}{h}\) to simplify calculations; then \(\bar{x}=A+h\frac{\sum f_i y_i}{N}\).
  • Adding a constant does not change variance; scaling observations by \(k\) scales variance by \(k^2\) and standard deviation by \(|k|\).

Formula sheet

Mean deviation about a value
$$\mathrm{M.D.}(a)=\frac{1}{n}\sum_{i=1}^{n}|x_i-a|$$
Mean and median
$$\mathrm{M.D.}(\bar{x})=\frac{1}{n}\sum_{i=1}^{n}|x_i-\bar{x}|,\qquad \mathrm{M.D.}(M)=\frac{1}{n}\sum_{i=1}^{n}|x_i-M|$$
Mean and Mean Deviation About the Mean
$$\bar{x}=\frac{\sum f_i x_i}{N},\qquad \mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N},\qquad N=\sum f_i$$
Mean Deviation About the Median
$$\mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$
Grouped Mean and Mean Deviation
$$\bar{x}=\frac{\sum f_i x_i}{N},\qquad \mathrm{M.D.}(\bar{x})=\frac{\sum f_i|x_i-\bar{x}|}{N},\qquad N=\sum f_i$$
Mean by Step Deviation
$$d_i=\frac{x_i-a}{h},\qquad \bar{x}=a+h\frac{\sum f_i d_i}{N}$$
Grouped Median and Mean Deviation
$$M=l+\frac{\frac{N}{2}-C}{f}h,\qquad \mathrm{M.D.}(M)=\frac{\sum f_i|x_i-M|}{N}$$
Sum of the first n squares
$$\sum_{k=1}^{n}k^2=\frac{n(n+1)(2n+1)}{6}$$
Variance of ungrouped data
$$\sigma^2=\frac{1}{n}\sum_{i=1}^{n}(x_i-\bar{x})^2$$
Equivalent formula using sums
$$\sigma^2=\frac{\sum f_i x_i^2}{N}-\left(\frac{\sum f_i x_i}{N}\right)^2=\frac{N\sum f_i x_i^2-(\sum f_i x_i)^2}{N^2},\qquad \sigma=\frac{1}{N}\sqrt{N\sum f_i x_i^2-(\sum f_i x_i)^2}$$
Shortcut formulas
$$\bar{x}=A+h\frac{\sum f_i y_i}{N},\qquad \sigma^2=\frac{h^2}{N^2}\left[N\sum f_i y_i^2-(\sum f_i y_i)^2\right],\qquad \sigma=\frac{h}{N}\sqrt{N\sum f_i y_i^2-(\sum f_i y_i)^2}$$

Mathematics — ALL CHAPTERS

1

Sets

2

Relations And Functions

3

Trigonometric Functions

4

Complex Numbers And Quadratic Equations

5

Linear  Inequalities

6

Permutations And Combinations

7

Binomial Theorem

8

Sequences And Series

9

Straight Lines

10

Conic Sections

11

Introduction To Three Dimensional Geometry

12

Limits And Derivatives

13

Statistics    

14

Probability