Shannon information
The Shannon information or surprisal of a discrete random variable
where
- If
thenπ π ( π₯ ) = 1 , i.e. a certain event is perfectly unsurprising.πΌ π ( π₯ ) = 0 - If
thenπ π ( π₯ 1 ) < π π ( π₯ 2 ) , i.e. the more unlikely an event the more surprising.πΌ π ( π₯ 1 ) > πΌ π ( π₯ 2 ) - If two independent events are measured, the total Shannon information gained is the sum of the Shannon information of the individual events.
Proof