Example 1:
Consider a random variable uniformly distributed over 32 = (2)5 outcomes.

- to represent the outcome message! Example 2:
Consider a horse race with eight horses - i.e. 8 = (2)3 - taking part. Suppose that the probabilities of each horse winning are given by
![]()
![]()
![]()
![]()
Therefore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The entropy of a random variable is a lower bound on the number of bits required to represent the random variable and on the average number of questions needed to identify the variable in a game of "twenty questions."
Last updated
February 8, 2004