Detailed Explanation
When we calculate the mean and standard deviation, we use the sum of all observations and the sum of squares of all observations. If one observation is later found to be wrong, we must adjust these sums. The mean uses \( \bar{x} = \frac{\sum x_i}{n} \), so \( \sum x_i = n \bar{x} \). The standard deviation formula involves \( \sum x_i^2 \), so we can recover \( \sum x_i^2 \) from the known standard deviation. When an observation is omitted, the number of observations reduces by one, and we subtract the wrong value (and its square) from the sums before recomputing.
Formula Used
\[ \bar{x} = \frac{\sum x_i}{n}, \qquad \sigma^2 = \frac{\sum x_i^2}{n} - \left(\bar{x}\right)^2 \]
Solution
- Step 1: Write down what is given. Number of observations \( n = 20 \), incorrect mean \( \bar{x} = 10 \), and incorrect standard deviation \( \sigma = 2 \). The wrong observation is \( 8 \), and it is to be omitted.
- Step 2: Find the incorrect sum of observations. Since \( \bar{x} = \frac{\sum x_i}{n} \), we get \[ \sum x_i = n \bar{x} = 20 \times 10 = 200. \]
- Step 3: Find the incorrect sum of squares using the standard deviation formula. From \( \sigma^2 = \frac{\sum x_i^2}{n} - (\bar{x})^2 \), we get \[ \sum x_i^2 = n\left(\sigma^2 + \bar{x}^2\right) = 20\left(2^2 + 10^2\right). \] So \[ \sum x_i^2 = 20(4 + 100) = 20 \times 104 = 2080. \]
- Step 4: Omit the wrong observation. Subtract the wrong value from both sums. New number of observations is \( n = 19 \). Corrected sum of observations: \[ \sum x_i = 200 - 8 = 192. \] Corrected sum of squares: \[ \sum x_i^2 = 2080 - 8^2 = 2080 - 64 = 2016. \]
- Step 5: Calculate the corrected mean using the new sum and \( n = 19 \). \[ \bar{x} = \frac{192}{19} = 10.10 \text{ (approximately)}. \]
- Step 6: Calculate the corrected variance. \[ \sigma^2 = \frac{\sum x_i^2}{n} - (\bar{x})^2 = \frac{2016}{19} - \left(\frac{192}{19}\right)^2. \] Computing each part: \[ \frac{2016}{19} = 106.105, \qquad \left(\frac{192}{19}\right)^2 = (10.105)^2 = 102.115. \] So \[ \sigma^2 = 106.105 - 102.115 = 3.99. \]
- Step 7: Take the square root to find the corrected standard deviation. \[ \sigma = \sqrt{3.99} \approx 1.997 \approx 2. \]
Final Answer
After omitting the wrong observation, the corrected mean is \( \bar{x} = \frac{192}{19} \approx 10.1 \) and the corrected standard deviation is \( \sigma \approx 2 \).
Common Mistake
A very common error is forgetting to change the number of observations from \( 20 \) to \( 19 \) after omitting the value. Students often subtract \( 8 \) from the sum but still divide by \( 20 \), which gives a wrong mean and variance.