En 30 segundos
Grant Sanderson explains why an event with probability p carries −log₂(p) bits of self-information, using successive reductions of equally likely possibilities.
- 1Halving possibilitiesHalving equally likely possibilities yields one bit.
- 2ProbabilityAn event of probability p has self-information −log₂(p) bits.
- 3The logarithmEntropy averages self-information across possible events.
Conclusiones
- Halving equally likely possibilities yields one bit.
- An event of probability p has self-information −log₂(p) bits.
- Entropy averages self-information across possible events.
Lee el texto editado por capítulos
Information in bits
From halving possibilities to a logarithmic formula.
I introduce the bit as a unit for the information associated with an observed event. This short comes from a longer lesson that applies information theory to Wordle.
If an observation reduces equally likely possibilities by a factor of two, it provides one bit of information. Reducing them by a factor of four gives two bits, and by a factor of eight gives three.
For an event with probability p, the number of bits I satisfies p = 2^(−I). Equivalently, 2^I = 1/p.
Taking the base-two logarithm gives I = log₂(1/p) = −log₂(p). Less probable events carry more self-information under this definition.
This is the self-information of one observed event. Entropy is the expected self-information over a probability distribution, a related but distinct quantity.
Más de este canal
40:44EN
51:55EN
0:55EN
33:51EN
2:25EN
1:02EN