<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=Shannon_entropy</id>
	<title>Shannon entropy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=Shannon_entropy"/>
	<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=Shannon_entropy&amp;action=history"/>
	<updated>2026-11-24T03:39:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikibase.ronzz.org/index.php?title=Shannon_entropy&amp;diff=15328&amp;oldid=prev</id>
		<title>Rongzhou: Created page with &quot;Category:Probability Category:Information theory The &#039;&#039;&#039;Shannon entropy&#039;&#039;&#039; is the &#039;&#039;&#039;entropy&#039;&#039;&#039; of a probability distribution, measuring the uncertainty associated with a discrete random variable.   It generalises the idea of information content to discrete probability distributions.  == Definition ==  Let $X$ be a discrete random variable with support $\mathcal{X}$, and $p_X(x)=\Pr(X=x)$ its probability mass function.  Then its &#039;&#039;&#039;Shannon entropy&#039;&#039;&#039;  $$...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=Shannon_entropy&amp;diff=15328&amp;oldid=prev"/>
		<updated>2026-11-11T12:11:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/Category:Probability&quot; title=&quot;Category:Probability&quot;&gt;Category:Probability&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Information_theory&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Information theory (page does not exist)&quot;&gt;Category:Information theory&lt;/a&gt; The &amp;#039;&amp;#039;&amp;#039;Shannon entropy&amp;#039;&amp;#039;&amp;#039; is the &amp;#039;&amp;#039;&amp;#039;entropy&amp;#039;&amp;#039;&amp;#039; of a probability distribution, measuring the uncertainty associated with a discrete &lt;a href=&quot;/wiki/Random_variable&quot; title=&quot;Random variable&quot;&gt;random variable&lt;/a&gt;.   It generalises the idea of information content to discrete probability distributions.  == Definition ==  Let $X$ be a discrete &lt;a href=&quot;/wiki/Random_variable&quot; title=&quot;Random variable&quot;&gt;random variable&lt;/a&gt; with support $\mathcal{X}$, and $p_X(x)=\Pr(X=x)$ its probability mass function.  Then its &amp;#039;&amp;#039;&amp;#039;Shannon entropy&amp;#039;&amp;#039;&amp;#039;  $$...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Probability]]&lt;br /&gt;
[[Category:Information theory]]&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Shannon entropy&amp;#039;&amp;#039;&amp;#039; is the &amp;#039;&amp;#039;&amp;#039;entropy&amp;#039;&amp;#039;&amp;#039; of a probability distribution, measuring the uncertainty associated with a discrete [[random variable]]. &lt;br /&gt;
&lt;br /&gt;
It generalises the idea of information content to discrete probability distributions.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
Let $X$ be a discrete [[random variable]] with support $\mathcal{X}$, and $p_X(x)=\Pr(X=x)$ its probability mass function.&lt;br /&gt;
&lt;br /&gt;
Then its &amp;#039;&amp;#039;&amp;#039;Shannon entropy&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
H(X)=-\sum_{x\in\mathcal{X}}p_X(x)\log_b p_X(x).&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
By convention, $0\log_b 0=0$.&lt;br /&gt;
&lt;br /&gt;
The base $b$ determines the unit of the entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! $b$&lt;br /&gt;
! Unit&lt;br /&gt;
|-&lt;br /&gt;
| $2$&lt;br /&gt;
| Bit&lt;br /&gt;
|-&lt;br /&gt;
| $e$&lt;br /&gt;
| Nat&lt;br /&gt;
|-&lt;br /&gt;
| $10$&lt;br /&gt;
| Hartley&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
One unknown binary digit represents $1 \mathrm{bit}$ of uncertainty, one unknown decimal digit represents $1 \mathrm{hartley}$ of uncertainty, one unknown digit in base $b$ represents $1 \mathrm{unit}$ of uncertainty when $b$ is chosen as the log base.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpretation ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Shannon entropy&amp;#039;&amp;#039;&amp;#039; is the &amp;#039;&amp;#039;&amp;#039;expected surprise&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
H(X)=\mathbb{E}\left[-\log_b p_X(X)\right].&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
It measures the average amount of uncertainty about the outcome of $X$ before it is observed.&lt;br /&gt;
&lt;br /&gt;
Higher entropy means greater uncertainty and less predictability. Lower entropy means greater predictability and more concentrated probability mass.&lt;br /&gt;
&lt;br /&gt;
Contrary to the [[variance]] and [[standard deviation]] of a discrete probability distribution, &amp;#039;&amp;#039;&amp;#039;entropy&amp;#039;&amp;#039;&amp;#039; depends only on the probability distribution of $X$, but not on the numerical values taken by $X$. &lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
=== $0\le H(X)\le \log_b|\mathcal{X}|$ ===&lt;br /&gt;
&lt;br /&gt;
for a discrete random variable $X$ with support $\mathcal{X}$, where $|\mathcal{X}|$ is the number of possible outcomes. &lt;br /&gt;
&lt;br /&gt;
The upper bound is attained exactly when $X$ is &amp;#039;&amp;#039;&amp;#039;uniformly distributed&amp;#039;&amp;#039;&amp;#039; over $\mathcal{X}$.&lt;br /&gt;
&lt;br /&gt;
== Two random variables ==&lt;br /&gt;
&lt;br /&gt;
=== Joint entropy ===&lt;br /&gt;
&lt;br /&gt;
For two discrete random variables $X,Y$ with support $\mathcal{X,Y}$, the &amp;#039;&amp;#039;&amp;#039;joint entropy&amp;#039;&amp;#039;&amp;#039; is&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
H(X,Y)=-\sum_{x \in \mathcal{X}}\sum_{y \in \mathcal{Y}}p_{X,Y}(x,y)\log_b p_{X,Y}(x,y),&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
=== Conditional entropy ===&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;conditional entropy&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
H(Y\mid X)=H(X,Y)-H(X)&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
measures the remaining uncertainty about $Y$ after $X$ is known. &lt;br /&gt;
&lt;br /&gt;
=== Mutual information ===&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;mutual information&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
I(X;Y)=H(X)-H(X\mid Y)&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
measures the reduction in uncertainty about $X$ obtained by observing $Y$.&lt;/div&gt;</summary>
		<author><name>Rongzhou</name></author>
	</entry>
</feed>