Where the average sits
The topic Inequalities and concentration bounded how far an average can stray from its mean. For the sample mean, Chebyshev's inequality gave
and Hoeffding's inequality gave a far smaller bound for bounded variables. Each bound is about one fixed . What is still missing is the limit: what happens to the average itself as the data keep coming. That is the law of large numbers.
The setup for the whole topic: are i.i.d. with mean and, where needed, variance . The sample mean is
Two facts from earlier topics say where it sits and how widely it spreads. By linearity, . Variances of independent variables add (Joint distributions and independence), and the factor comes out of a variance squared, so
The centre stays put while the variance shrinks like , and the standard deviation like .
The running example is a classifier that errs on each test example independently with probability . Let if example is misclassified and otherwise. Then is the error rate measured on a test set of size , with and .