If the variance of the data
: 0, 1, 5, 6, 10, 12, 17
: 3, 2, 3, 2, 6, 3, 3
is then the value of is ______ {where denotes the greatest integer funciton}
Solution
Core idea. With frequencies, both the total and the sum of squares are weighted.
Concept refresher. For a frequency distribution with total frequency ,
Picture the situation. Each value occurs as many times as its frequency says. The mean is the weighted total divided by the total frequency. The variance is the weighted mean of the squares of the values less the square of the mean. It comes out as a fraction, and its greatest integer part is asked.
Approach. Compute the mean and the weighted sum of squares, form the variance, and take its integer part.
Step 1: The mean
The frequencies add to and the weighted total is , so the mean is 8.
Step 2: The sum of squares
Multiplying each squared value by its frequency, the weighted sum of squares is
So , about 29.09, and .
Answer. 29
Sanity check. Since and , the value lies just above 29.
Common wrong answers
- 30: Rounding 29.09 up gives 30; the greatest integer function takes the integer just below.
Key takeaway
The trap. The greatest integer function rounds down.
How toppers think. They keep the variance as a fraction until the final step.
Remember.
More on Variance & Standard Deviation
- A set of four observations has mean 1 and variance 13. Another set of six observations has mean 2 and…
- Let the mean and the variance of seven observations 2, 4, α, 8, β, 12, 14, α < β, be 8 and 16 respectively…
- A data consists of 20 observations x₁, x₂, …, x₂₀. If Σi=1²⁰(xi + 5)² = 2500 and Σi=1²⁰(xi - 5)² = 100, then…
- All 93 on Variance & Standard Deviation ›