<?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>Density Estimation on Graphical Models</title>
    <link>http://bactra.org/notebooks/2010/08/16#density-estimation-on-graphs</link>
    <description>
&lt;P&gt;Suppose I am interested in the joint distribution of some random variables.
I know &lt;em&gt;a priori&lt;/em&gt; that these random variables satisfy certain
conditional independence relations.  To be concrete, let's say the Oracle shows
me the relevant &lt;a href=&quot;graphical-model.html&quot;&gt;graphical model&lt;/a&gt; inscribed on
a golden tablet, but my glasses don't let me read the actual conditional
distributions.  Suppose I also have access to a source of samples from the
distribution.  How can I combine the samples and the conditional independencies
to get an estimate of the distribution?

&lt;P&gt;If I didn't have the graphical model, I could just use my favorite
&lt;a href=&quot;density-estimation.html&quot;&gt;non-parametric density estimator&lt;/a&gt; to learn
the underlying joint distribution.  (I am fond of kernel density estimates, but
to each their own.)  Presumably, in fact, if I ignore the graph and just do a
density estimate, it will, being consistent, &lt;em&gt;converge&lt;/em&gt; on a
distribution with all the conditional independencies implied by the graph.
This would in a sense work, but it seems
&lt;em&gt;wasteful&lt;/em&gt;.  By hypothesis, I &lt;em&gt;know&lt;/em&gt; some variables are
independent of others (given third parties); I should be able to use this
somehow to constrain the density estimates and converge faster.

&lt;P&gt;This seems like such an obvious problem that &lt;em&gt;someone&lt;/em&gt; must have
solved it already, but I haven't been able to find anyone doing so.
(Corrections on this point would be appreciated.)  Since I don't have the time
right now to follow it up, what follows is one potential idea.  If you want
to pursue this, please get in touch.

&lt;P&gt;First of all, posit some reference distribution on the graph.  (Say the
uniform distribution, in the appropriate sense.)  Further posit that the actual
joint distribution is absolutely continuous w.r.t. the reference distribution.
(We'll hope to pick up singular distributions as limits.)  So every
distribution we'll be concerned with has a density (Radon-Nikodym derivative).
So long as we're making posits, let's assume that the &lt;em&gt;log&lt;/em&gt; density is
well-behaved.  Now if I take the set of all such measures (not necessarily just
probability distributions) on the graph, their log-densities form a Hilbert
space.  If I restrict myself to measures which are faithful to the
graph, &lt;em&gt;their&lt;/em&gt; log-densities form a Hilbert &lt;em&gt;sub&lt;/em&gt;-space.  The
natural estimator which respects the conditional independence constraints is
then the projection of the samples' empirical distribution on to the faithful
sub-space.  To make this a bit more implementable, pick your favorite
orthonormal basis on the faithful subspace.  Then calculate the projection of
the empirical distribution on to the basis distributions, and obtain the
estimated density by adding things up and exponentiating.

&lt;P&gt;Of course, in general there are an infinite number of basis vectors, and
infinitely many non-zero projection coefficients.  So to be really practical
one would want to truncate the expansion of the projection after a certain
point (which presumably grows with the sample size).  Bosq and Blanke (below)
discuss such &quot;adaptive projection estimators&quot; in general terms, and on a first
examination I can see nothing which forbids applying their methods to the
present situation.

&lt;P&gt;Like I said, I don't have time to pursue this, but if you (1) are interested
in doing so, or (2) know of an existing solution, please get in touch.

&lt;ul&gt;Recommended:
	&lt;li&gt;Denis Bosq and Delphine Blanke, &lt;cite&gt;Inference and Prediction in Large Dimensions&lt;/cite&gt;
	&lt;li&gt;Peter Hall, Jeff Racine and Qi Li, &quot;Cross-Validation and the
Estimation of Conditional Probability Densities&quot;, &lt;cite&gt;Journal of the American
Statistical Association&lt;/cite&gt; &lt;strong&gt;99&lt;/strong&gt; (2004): 1015--1026
[&lt;a href=&quot;http://www.ssc.wisc.edu/~bhansen/workshop/QiLi.pdf&quot;&gt;PDF&lt;/a&gt;]
	&lt;/ul&gt;

&lt;ul&gt;To read:
	&lt;li&gt;Han Liu, John Lafferty and Larry Wasserman, &quot;Tree
Density Estimation&quot;, &lt;a href=&quot;http://arxiv.org/abs/1001.1557&quot;&gt;arxiv:1001.1557&lt;/a&gt;
	&lt;/ul&gt;
</description>
  </item>
  </channel>
</rss>
