Lably
Skip to content

Maximum entropy probability distribution

  • 10 min read
  • 3 chapters

Related on Lably

Through Statistics, Probability distribution and Random variable

Definition of entropy and differential entropy

If X is a continuous random variable with probability density p(x), then the differential entropy of X is defined as

H(X)=−∫−∞∞p(x)log⁡p(x)dx.

If X is a discrete random variable with distribution given by

Pr⁡{X=xk}=pk for k=1,2,…

then the entropy of X is defined as

H(X)=−∑k≥1pklog⁡pk.

The seemingly divergent term p(x)log⁡p(x) is replaced by zero, whenever p(x)=0.

This is a special case of more general forms described in the articles Entropy (information theory), Principle of maximum entropy, and differential entropy. In connection with maximum entropy distributions, this is the only one needed, because maximizing H(X) will also maximize the more general forms.

The base of the logarithm is not important, as long as the same one is used consistently: Change of base merely results in a rescaling of the entropy. Information theorists may prefer to use base 2 in order to express the entropy in bits; mathematicians and physicists often prefer the natural logarithm, resulting in a unit of "nat"s for the entropy.

However, the chosen measure dx is crucial, even though the typical use of the Lebesgue measure is often defended as a "natural" choice: Which measure is chosen determines the entropy and the consequent maximum entropy distribution.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Statistics and probability