\(\DeclarePairedDelimiterX{\Set}[2]{\{}{\}}{#1 \nonscript\;\delimsize\vert\nonscript\; #2}\) \( \DeclarePairedDelimiter{\set}{\{}{\}}\) \( \DeclarePairedDelimiter{\parens}{\left(}{\right)}\) \(\DeclarePairedDelimiterX{\innerproduct}[1]{\langle}{\rangle}{#1}\) \(\newcommand{\ip}[1]{\innerproduct{#1}}\) \(\newcommand{\bmat}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\barray}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\mat}[1]{\begin{matrix}#1\end{matrix}}\) \(\newcommand{\pmat}[1]{\begin{pmatrix}#1\end{pmatrix}}\) \(\newcommand{\mathword}[1]{\mathop{\textup{#1}}}\)
Needs:
Multivariate Real Densities
Discrete Entropy
Needed by:
Differential Cross Entropy
Multivariate Normal Entropy
Links:
Sheet PDF
Graph PDF

Differential Entropy

Why

We want to extend our notion of entropy (see \sheetref{discrete_entropy}{Discrete Entropy}) to real-valued (continuous) random variables.

Definition

The differential entropy of a probability density function is the integral of the density against the negative log of the density. This definition made to be similar to the case of discrete entropy. If a real-valued random variable has a density, then we call the differential entropy of its density the differential entropy of the random variable.

Notation

Let $f: \R ^n \to \R $ be a probability density function. The differential entropy of $f$ is

\[ - \int f \log f \]

We denote the differential entropy of $f$ by $h(f)$.

Example

Let $x: \Omega \to \R $ be uniform on $[0, 1/2]$. Then $h(x) = \log1/2 < 0$.

Problems

We have $h(ax) = h(x) + \log\abs{a}$. In general $h(Ax) = h(x) + \log\abs{A}$.

Differences still meaningful

Even though the value of the differential entropy is not necessarily a good analogy to discrete entropy, differences still are. In particular, the following holds

\[ I(X; Y) = H(Y) - H(Y \mid X) = H(X) = H(X \mid Y) \]

Copyright © 2023 The Bourbaki Authors — All rights reserved — Version 13a6779cc About Show the old page view