Partition into bins of width , and let the discrete random variable record the bin containing . This is a quantization of . Its probability mass function isand its discrete information entropy is . Let be the average probability density within bin . Rearrangement gives the exact finite-bin identityFor a continuous probability density on , uniform continuity makes the bin averages converge uniformly to the density. Since is continuous at zero with the stated convention, the right-hand side converges to . Thus the increasing resolution cost is ; differential entropy is the remaining offset, rather than the entire discrete encoding cost.
For a continuous uniform distribution, every bin has probability , and exactly. For the continuous uniform distribution's squared transformation above, the exact bin probabilities areThe diagram computes these masses directly, including the bin next to the integrable singularity. It compares their corrected information entropy with the analytic differential entropy .
Removing the bin-resolution cost reveals differential entropy
. The left plot shows discrete information entropy increasing with the number of equal-width bins. The right subtracts and compares with the exact differential entropy of a uniform input and its squared transformation. Every plotted point comes from the stated exact probability mass functions; no observations are fitted. Details. Articles by others on the same topic
There are currently no matching articles.
