Stein's lemma states that for distinct probability mass functions on a finite alphabet, the best exponential decay rate of the Type II error among tests whose Type I error is eventually at most any fixed is
For the direct part, define the information-density typical region
The weak law of large numbers under gives , while
For the converse, let
Again . Any test with satisfies
On , , hence
Thus . Letting proves optimality.
Using the paper's full- convention, the total variation distance is
Let . Since the signed differences sum to zero,
For every , its positive difference is at most the sum over , and its negative difference has the same bound by taking the complement. Therefore
Let be the region on which the test chooses . Then
Minimizing over decision regions is therefore equivalent to maximizing the signed difference. Part b gives
The minimizing region is , the equal-prior Neyman-Pearson decision region.
For an independent identically distributed source with mass function on a finite alphabet and a fixed compression rate , the optimal probability of decoding error has exponent
meaning that the best fixed-rate codes satisfy
at continuity points of the exponent.
For the direct part, let and
Encode every sequence whose type satisfies . The method of types bounds the number of such sequences by
so they fit into a rate- codebook. The error probability obeys
Compactness of the probability simplex and continuity of entropy and relative entropy on the support of give
which is the direct bound.
The test accepts when . Under , the method of types gives
so
Under , accepting requires a type in the closed set . Therefore
where
Consequently for . The first exponent is positive when . Because relative entropy vanishes only when its arguments agree, the second is positive exactly while lies outside the constraint set. Thus both are strictly positive for
The type of is its empirical mass function
For a product source ,
with the usual convention that the probability is zero if the string uses a symbol outside the support of .
The type class is
We first prove a multinomial-mode lemma. If has the multinomial law with parameters and an -type , then is a mode. Indeed, if and , moving one count from to changes the probability by the factor
Repeated transfers reach without decreasing probability. There are at most count vectors, so the modal vector has probability at least .
Every string in has -probability
The lemma therefore gives
and hence
Draw uniformly from and let be uniform on independently. Then
If denotes the marginal law of , this also says . Since is uniform on ,
Subadditivity of information entropy followed by concavity of information entropy gives
Exponentiating proves .
The binary Kraft inequality says that codeword lengths of a prefix code satisfy
Conversely, suppose positive integer lengths obey this inequality and arrange them in nondecreasing order. Construct codewords greedily in the infinite binary tree. Before assigning length , each earlier codeword of length excludes exactly nodes at depth . Thus the number excluded is
where strictness follows because the remaining term occurs in the full Kraft sum. A free depth- node therefore exists. Assign it as the next codeword; choosing a node not below an earlier codeword preserves prefix-freeness. Induction constructs the required prefix code.
Write . Monotonicity gives
so and therefore whenever . Hence
A distribution on must have . For , put and let
For any mass function with mean , Gibbs inequality gives
Thus the geometric distribution uniquely maximizes entropy. For , the only admissible law is the point mass at one, which is the limiting geometric case .
For , define the finite-alphabet exponential family
The mean is continuous and nondecreasing in , with limits and as and . The strict interior assumption on therefore supplies a with .
For any other satisfying the same constraint,
so
Equality in Gibbs inequality holds only for . Hence this Gibbs-form mass function is the unique entropy maximizer.

Articles by others on the same topic (0)

There are currently no matching articles.