Basics of Probability and Statistics Week 1 Challenge
The reason for using (n-1) in the denominator in the sample variance formula is to account for the fact that the sample mean (x̄) is also estimated from the same sample. This correction factor, known as Bessel's correction, helps to provide an unbiased estimate of the population variance. Without this correction, the sample variance tends to underestimate the true population variance.