Sampling & Confidence
Take a random variable
Make
See how close they are to
The observed average of the results will approach the true expectation as the number of trial observations increases.
So, we're doing
They all have the same expectation
Taking the average of those values:
Is this average value close to
The answer that the Weak Law of Large Numbers gives to that question is
Another way of saying it is:
So, as the number of trials increases, the probability that the average differs from the expectation more than delta goes to
As the number of trials increases, the difference between the observed average and the theoretical average gets smaller.
For a clear example to understand the concept of the Law of Large Numbers, The Organic Chemistry Tutor's video is really great.
Let
Their average
So, the probability that their average differs from the mean by more than a given tolerance delta is:
It is the Pairwise Independent Sampling Theorem.
Confidence levels refer to the results of estimation procedures for real-world quantities.
So, when some facts are told to have high confidence level, the important thing to remember is that behind this claim, a random experiment lies.
95% confidence level is most common, and as mentioned in the course video, this xkcd comic illustrates the topic: