Hartley function
The Hartley function is a measure of uncertainty, introduced by Ralph Hartley in 1928. If a sample from a finite setA uniformly at random is picked, the amount of information revealed after the outcome is known is given by the Hartley function
where |A| denotes the cardinality of A.
If the base of the logarithm is 2, then the unit of uncertainty is the shannon (more commonly known as bit). If it is the natural logarithm, then the unit is the nat. Hartley used a base-ten logarithm, and with this base, the unit of information is called the hartley (aka ban or dit) in his honor. It is also known as the Hartley entropy or max-entropy.
Hartley function, Shannon entropy, and Rényi entropy
The Hartley function coincides with the Shannon entropy (as well as with the Rényi entropies of all orders) in the case of a uniform probability distribution. It is a special case of the Rényi entropy since:
But it can also be viewed as a primitive construction, since, as emphasized by Kolmogorov and Rényi, the Hartley function can be defined without introducing any notions of probability (see Uncertainty and information by George J. Klir, p. 423).
Characterization of the Hartley function
The Hartley function only depends on the number of elements in a set, and hence can be viewed as a function on natural numbers. Rényi showed that the Hartley function in base 2 is the only function mapping natural numbers to real numbers that satisfies
- (additivity)
- (monotonicity)
- (normalization)
Condition 1 says that the uncertainty of the Cartesian product of two finite sets A and B is the sum of uncertainties of A and B. Condition 2 says that a larger set has larger uncertainty.
Derivation of the Hartley function
We want to show that the Hartley function, log2(n), is the only function mapping natural numbers to real numbers that satisfies
- (additivity)
- (monotonicity)
- (normalization)
Let f be a function on positive integers that satisfies the above three properties. From the additive property, we can show that for any integer n and k,
ليكن a و b و t أي أعداد صحيحة موجبة. يوجد عدد صحيح وحيد s يتم تحديده بواسطة
لذلك،
و
من ناحية أخرى، من خلال الرتابة،
باستخدام المعادلة (1)، نحصل على
و
لذلك،
بما أن قيمة t يمكن أن تكون كبيرة بشكل تعسفي، فإن الفرق على الجانب الأيسر من المتباينة أعلاه يجب أن يكون صفراً.
لذا،
بالنسبة لثابت ما μ ، والذي يجب أن يساوي 1 وفقًا لخاصية التوحيد.
انظر أيضاً
مراجع
- تتضمن هذه المقالة مواد من دالة هارتلي على موقع PlanetMath ، وهي مرخصة بموجب رخصة Creative Commons Attribution/Share-Alike .
- تتضمن هذه المقالة مواد من اشتقاق دالة هارتلي على موقع PlanetMath ، وهو مرخص بموجب رخصة Creative Commons Attribution/Share-Alike .
- نظرية المعلومات
