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 formwith possible boundary randomization. If is the empirical mass function, thenso equivalently
Fix and chooseUnder , the weak law of large numbers makes the normalized log likelihood ratio converge in probability to , so . On this Neyman-Pearson decision region,and henceLetting proves the direct bound.
For finite , independence and conditional subadditivity of information entropy giveThe partial sums increase because mutual information is nonnegative. Taking proves .
For , the chain rule for information entropy givesEach 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 . ConsequentlyPart b makes , so the last display is at least .
The three-point identity for relative entropy isIt follows by expanding and collecting logarithms. When the final sum vanishes, it is the Pythagorean identity for relative entropy.
For , convexity gives . Minimality at impliesSince has full support and the minimum is finite, has full support.
Expanding the three divergences givesThe 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, satisfyConversely, 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 lengthSince ,Thus the optimal one-to-one binary code satisfies
Articles by others on the same topic
There are currently no matching articles.