Information Theory Basic
Shannon Information
Claude Shannon: A mathematical Theory of Communication(1948)
Consder a discrete random variable X, Shannon information content for outcome
For continuous random variable X, we use natural log, which is
Desiderata in measuring information
- Deterministic outcomes() contain no information
- Information content increases with decreasing probability.
Let’s take a look at the derivative of the Shannon information:
Thus
- Information content is additive for independent R.V.s
Shannon entropy
Shannon entropy measure the average information content. Shannon entropy is maximized when the probability distribution is uniform, where it has largest uncertainty in every possible outcomes.
Joint entropy: multivatiate generalization of Shannon entropy
Entropy of the conditional distribution:
Conditional entropy
How much randomness X has once you factor out the knowledge of Y
Properties of conditional entropy
- Joint entropy of and decomposes into the conditional entropy of X given Y and the marginal entropy of Y
- The conditional entropy of given is zero if is completely determined by in a deterministic way
- The conditional entropy of given is equal to the marginal entropy of X if there is no connection between and
Relative entropy: Kullback-Leibler divergence
A useful measure of difference between two distributions. Take P and Q to be the PMFs of two distributions