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.