# SticiGui Law of Large Numbers Demonstration

The Law of Large Numbers says that in repeated, independent trials with the same probability $p$ of success in each trial, the chance that the percentage of successes differs from the probability $p$ by more than a fixed positive amount, $\epsilon > 0$, converges to zero as the number of trials $n$ goes to infinity, for every positive $\epsilon$.

Note two things:

The difference between the number of successes and the number of trials times the chance of success in each trial (the expected number of successes) tends to grow as the number of trials increases. (In fact, this difference tends to grow like the square-root of the number of trials.)

Although the chance of a large difference between the percentage of successes and the chance of success gets smaller and smaller as $n$ grows, nothing prevents the difference from being large in some sequences of trials. The assumption that this difference always tends to zero, as opposed to this difference having a large probability of being arbitrarily close to zero, is the difference between the Law of Large Numbers, which is a mathematical theorem, and the Empirical Law of Averages, which is an assumption about how the world works that lies at the base of the Frequency Theory of probability.

Identifier:
http://statistics.berkeley.edu/~stark/Java/Html/lln.htm
Rating:
Creator(s):
Phil Stark
Cataloger:
Ivo Dinov
Publisher:
SticiGui
Rights: