What is the correct answer for sample variance and IQR respecticaly?
Sample variance is s² = Σ(xi - x̄)²/(n - 1), and the interquartile range is IQR = Q3 - Q1, the third quartile minus the first quartile.
Dividing by n - 1 rather than n is Bessel's correction; it makes s² an unbiased estimator of the population variance because one degree of freedom is used up in estimating the mean.
Population variance divides the sum of squared deviations by N: σ² = Σ(xi - μ)²/N.
The squares are essential: the plain sum of deviations from the mean, Σ(xi - x̄), always equals zero, so a formula without the square cannot measure spread.
Dividing by n + 1 gives neither the unbiased sample variance nor the population variance.
The IQR measures the spread of the middle 50 percent of observations and is resistant to outliers, unlike the range.
Adding the quartiles, Q3 + Q1, gives no measure of dispersion; half of Q3 - Q1 is the quartile deviation, also called the semi-interquartile range.
In a box plot, values more than 1.5 times the IQR below Q1 or above Q3 are treated as outliers.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →