This is Laplace's first attempt to estimate probabilities of events occurring consecutively in a sequence. Its goal is to estimate the probability of an event occurring times in succession given that the event occurred
times in succession.
The law can be found using the following reasoning :
Suppose that we have coins that we label from
to
. Each coin has a different probability of landing on the head. The coin
lands on the head with a probability of
. We assume that the coins can be chosen with an uniform probability. We can then choose a coin and toss it again and again.
So the probability that the first toss are all heads for this particular coin is given by :
We want this to be true in general and not only for a finite number of possible probabilities
. In order to do that, we have to take an infinite number of coins with probabilities describing the possible range of probabilities
. The probability we are looking for becomes :
The properties of integrals give us :
So we can express the solution with this simple formula :
This is a particular case of the Laplace's law of succession in order to give the reader a feeling of the demonstration. The important property of the demonstration that we have to notice is that we used an uniform probability for the coin at the beginning of the demonstration. That mean that a uniform prior is required to apply the formula. In practice we do not know the distribution of the priors. Furthermore, the priors may depend on the context, so we certainly cannot compute them and thus we have to make a choice. It has also be proved (see [34] for instance) that the Laplace's formula is more general and gives the same result with other forms of prior probabilities.
In our case, the formula can be extended and we can compute the probability of a sequence being sampled next given that we observed a sequence of
sequences [34] . An estimation of the probability of the sequence
is
:
This way of estimating the probabilities has been originally used by Ron et al. to train variable length Markov model [51].