<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>Notebooks   </title>
    <link>http://bactra.org/notebooks</link>
    <description>Cosma's Notebooks</description>
    <language>en</language>

  <item>
    <title>Bootstrapping Entropy Estimates</title>
    <link>http://bactra.org/notebooks/2003/10/31#bootstrap-entropy</link>
    <description>




Speaking personally, I often want to know the entropy &lt;em&gt;H[X]&lt;/em&gt; of a random
variable &lt;em&gt;X&lt;/em&gt;, where I do not know the distribution of &lt;em&gt;X&lt;/em&gt;.  I
have, however, many samples of &lt;em&gt;X&lt;/em&gt;, so I can form an estimate of the
entropy.  But, for personal reasons, I'd like to be able to put confidence
confidence intervals around my estimates, and calculating those bounds is
frankly beyond my intelligence.  Here bootstrapping comes to the rescue.  The
idea, in general, is as follows.  What I want to know is the distribution of
estimates around the true parameter.  What I do instead is to use my estimate
to generate new, simulated data, and then repeat the estimation on the
simulations.  The distribution of the simulations around the estimate should in
some sense approximate the distribution of estimates around the true parameter.

&lt;P&gt;Here a very simple strategy suggests itself.  The easiest way to estimate
the entropy is to just calculate the entropy of the empirical distribution.  If
I resample from the empirical distribution, and calculate the entropy of the
resamplings, will I get something that looks like the distribution of empirical
entropies around the true entropy?  And if this works for the entropy, would it
work for, say, the relative entropy, i.e., the divergence of the empirical
distribution from the true distribution?  How about the mutual information?  It
would be very nice to think so, but I wonder why, if something so simple works,
I haven't heard of it being done.

&lt;P&gt;Why might this not work?  Suppose &lt;em&gt;X&lt;/em&gt; is binary, and both outcomes
are equally likely.  Then &lt;em&gt;H[X] = 1&lt;/em&gt;, which is the maximum value.  Hence
empirical entropies will be less than or equal to the true entropy.  Suppose
our empirical distribution has less than maximum entropy, i.e., it's not
completely fair.  But if we resample the empirical distribution, it may chance
that the sample is more nearly fair than the original.  So the resampled
entropy can be &lt;em&gt;higher&lt;/em&gt; than the estimate, while the estimate cannot be
higher than the true entropy.  But it could be, of course, that the two
distributions do approach each other, in some limiting sense which I might have
to think carefully about.  

&lt;P&gt;Assuming that difficulty isn't insurmountable, could one use resampling from
a &lt;a href=&quot;http://arxiv.org/abs/cs.LG/0406011&quot;&gt;reconstructed causal state
model&lt;/a&gt; to bootstrap estimates of the entropy rate or the statistical
complexity?

&lt;P&gt;See also:
	&lt;a href=&quot;entropy-estimation.html&quot;&gt;Estimating Entropies and
Informations&lt;/a&gt;

	&lt;ul&gt;To read:
	&lt;li&gt;Martin Biewen, &quot;Bootstrap inference for inequality, mobility and
poverty measurement&quot;, &lt;a
href=&quot;http://dx.doi.org/10.1016/S0304-4076(01)00138-5&quot;&gt;&lt;cite&gt;Journal of
Econometrics&lt;/cite&gt; &lt;strong&gt;108&lt;/strong&gt; (2002): 317--342&lt;/a&gt; [What Biewen
calls the Thiel Index of inequality looks very like the Shannon
entropy, &lt;em&gt;if&lt;/em&gt; one identifies his measured variables with probabilities.
I'm not sure what that does to his bootstrap arguments.  Thanks to Peter
Muhlberger for pointing out the reference.  Biewen has &lt;a
href=&quot;http://www.vwl.uni-mannheim.de/ls_oek/personen/biewen.htm&quot;&gt;Stata&lt;/a&gt; code
available.]
	&lt;li&gt;M. Salicru, S. Vives and J. Ocana, &quot;Testing the homogeneity of
diversity measures: a general framework&quot;, &lt;a
href=&quot;http://dx.doi.org/10.1016/j.jspi.2004.06.018&quot;&gt;&lt;cite&gt;Journal of
Statistical Planning and Inference&lt;/cite&gt; &lt;strong&gt;132&lt;/strong&gt; (2005):
117--129&lt;/a&gt;
	&lt;li&gt;Ritei Shibata, &quot;Bootstrap Estimate of Kullback-Leibler Information
for Model Selection,&quot; Technical Report No. 424, UC Berkeley statistics
department [&lt;a
href=&quot;http://www.stat.berkeley.edu/tech-reports/424.abstract&quot;&gt;Abstract&lt;/a&gt;]
	&lt;/ul&gt;
</description>
  </item>
  </channel>
</rss>