Typical Sets
A typical set is an exponentially smaller subset of the space of all -length sequences (where ), which captures most of the probability mass of the source as grows large. Formally, the -typical set is the set of -length sequences , such that each sequence has a uniform probability of approximately :
where .As grows large, sequences in the (much smaller) typical set contain virtually all the probability mass of . Mathematically, this means that . This property of typical sets is known as asymptotic equipartition, and is the LLN-equivalent analogue in information theory. Mathematically,
meaning that the per-symbol self-information of a sequence converges to the entropy.
Properties
Examples
Biased Coin Flips
You flip coins with probability of coming up heads.
What is the size of the sample space? or . For 100 coins, this becomes .
We know that each coin can either land on
What is the size of the typical set, and how do the two sizes compare? Therefore, the size of the typical set is , or of the size of the sample space.
We can calculate the entropy of each coin as