Stein's lemma states that for testing against , the smallest Type II error among tests with Type I error at most any fixed satisfies
The Neyman-Pearson lemma gives an optimal acceptance region for of the form
with possible boundary randomization. If is the empirical mass function, then
so equivalently
Fix and choose
Under , the weak law of large numbers makes the normalized log likelihood ratio converge in probability to , so . On this Neyman-Pearson decision region,
and hence
Letting proves the direct bound.
For any region with , let
The weak law of large numbers gives , so . Therefore
Thus ; let .
For finite , independence and conditional subadditivity of information entropy give
The partial sums increase because mutual information is nonnegative. Taking proves .
For , the chain rule for information entropy gives
Each summand is at least because conditioning reduces entropy. Summing over , each occurs times:
This is the required special case of Shearer's inequality.
Writing for the th marginal and using ,
The analogous formula for omits coordinate . Consequently
Part b makes , so the last display is at least .
The three-point identity for relative entropy is
It follows by expanding and collecting logarithms. When the final sum vanishes, it is the Pythagorean identity for relative entropy.
For , convexity gives . Minimality at implies
Since has full support and the minimum is finite, has full support.
For ,
using nonnegativity and part i.
Expanding the three divergences gives
The inequality bounds this below by the nonnegative expression in part ii. Hence
The binary Kraft inequality states that codeword lengths of a prefix code, or more generally a uniquely decodable code, satisfy
Conversely, positive integer lengths obeying this inequality can be realized by a binary prefix code.
The Shannon lengths are . Their Competitive optimality of the Shannon code says that for every binary uniquely decodable code of lengths and every positive integer ,
On this event, . Summing and applying the Kraft inequality proves
Relabel the symbols so and assign all finite binary strings in nondecreasing length order, beginning with the empty string. The th string has length
Since ,
Thus the optimal one-to-one binary code satisfies
For the uniform distribution, the code in part c has
because every summand is at most and at least one is strictly smaller. For , the explicit code , , has mean length .

Articles by others on the same topic (0)

There are currently no matching articles.