Shannon Entropy
Average surprise, in bits. Largest when everything is equally likely and zero when the outcome is certain.
Entropy measures uncertainty, in bits: the average number of yes/no questions needed to determine the outcome.
Entropy is a statement about the shape above. Push p to either extreme and the mass concentrates, so there is little left to be surprised by; hold it near a half and the distribution is as spread as it can be, which is exactly where entropy peaks.
The extremes
A fair coin has bit. Maximum uncertainty for two outcomes, and exactly one question needed.
A coin landing heads with probability 0.9 has bits. Less uncertain, so less information conveyed by learning the result.
A certain outcome has . Nothing to learn.
The rest of this lesson is for subscribers
Unlock every lesson in Advanced Topics in Probability and Statistics, and every other premium course.
Subscribe to continueTest your knowledge
Keep reading Advanced Topics in Probability and Statistics
35 lessons in this course, and every other premium course, on one subscription.
- Every lesson in every course, with the worked examples and interactive simulators
- Graded questions on every lesson, with explanations for the wrong answers as well as the right one
- The trainers, timed assessments and brainteaser library that go with them