Deriving probability distribution from entropy: part 3
This is another follow-up article from this part 2.
Previously we used 3 constraints to derive Poisson Distribution from Maximum Entropy Principle, but I intentionally omitted what happens
if we only used 2 constraints. This article will talk about it.
(Negative) Exponential Distribution
In the previous article, we stated 3 constraints to derive Poisson Distribution.
This time, we will only use two of them:
It must satisfy the normalization axiom (total probability for all k is 1)
It must have an average value (mean)
Summarizing our Lagrangian constraints:
C1C2=λ0(1−k∑p(k))=λ1(μ−k∑kp(k))
Our full entropy function is as follows (I omit the k input notation for brevity).
Before we continue, let us notice that these two constraints were just basic constraints.
There are no inherent assumptions about what the distribution should look like from a particular datasets.
We will begin adding assumptions as we go along.
First, notice that previously we are dealing with discrete distribution. However, currently there’s nothing to prevent us
from assuming that these two constraints can’t be applied to a continuous distribution?
So let’s just replace k as x and use integrals instead of sum.
Just like in the first article, because it’s a continuous distribution, we can take derivative of H(x,p) by x, and then
do stationary action principle. Our Lagrangian then becomes:
L(x,p)=−pln(p)−λ0p−λ1xp
The partial derivative of the Lagrangian over p, must be 0
Step (4) to (5), we replace e−1−λ0=A, because it was a constant.
To apply back constraint 1, we need to define the integral boundary.
Remember that this is going to be a probability distribution. We can’t use lower bound x=−∞,
because the integral result will be unbounded (it will be pretty big), so we won’t have normalizing factor.
The next reasonable thing to do, is to integrate it from 0 to ∞.
Some properties of Negative Exponential Distribution
Although we only used basic constraints for these, the probability distribution is also related Poisson distribution
and has similar form. Negative Exponential Distribution (NED), is mainly used to describe Poisson process as well.
In comparison, Poisson distribution (PD) is used to describe how many decay events in a fixed time interval.
Meanwhile, NED is used to describe the time interval between each decay events.
In fact, NED can be derived from PD.
Deriving Negative Exponential Distribution from Poisson Distribution
Our Poisson distribution for fixed time interval is this:
p(k,r)=e−rk!rk(PD)
The above formula is under assumptions that r is the average total events in a fixed time interval.
Previously, we use whatever time units as the unitary value 1.
If we want to introduce the time parameter t, then Poisson distribution will take the form:
p(k,r)=e−rtk!(rt)k(PD)
Notice that rt=λ, which is the average total events (without the time unit).
Another way to think about it, is that λ will have unit called “count”, while r
is a “rate”, and it will have unit called “count per time”. It’s just that in our previous article,
we define the time unit to be 1, so r and λ has the same numerical value.
In NED, the average has unit “time per count”, which means the average time interval for each event.
So, if we declare this parameter as μ, then μ=r1.
The interesting insight was that, if we set k=0, we will have p(0,μ), where it means that
this is the probability of “nothing” happened in the chosen interval t=T.
This means, if we want to calculate the probability of the next event, we subtract it from 1.
But this means, p(t≥T) is “probability of the next event happening” and it is a cumulative probability.
To avoid confusion, we rename the function as cp.
To get the probability density from the cumulative probability, we just take derivative with respect to the variable.
In this case, it was t.