<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Statisfaction</title>
	<atom:link href="http://statisfaction.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://statisfaction.wordpress.com</link>
	<description>I can&#039;t get no</description>
	<lastBuildDate>Mon, 17 Jun 2013 06:44:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='statisfaction.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/c97e6139e1af9c4d7e7fb0cad771e3eb?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Statisfaction</title>
		<link>http://statisfaction.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://statisfaction.wordpress.com/osd.xml" title="Statisfaction" />
	<atom:link rel='hub' href='http://statisfaction.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PhDTree and juvenile fishes</title>
		<link>http://statisfaction.wordpress.com/2013/06/05/phdtree-and-juvenile-fishes/</link>
		<comments>http://statisfaction.wordpress.com/2013/06/05/phdtree-and-juvenile-fishes/#comments</comments>
		<pubDate>Wed, 05 Jun 2013 09:05:30 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2274</guid>
		<description><![CDATA[Hey, I&#8217;ve just discovered this website called PhDTree, which is awesome because it shows that science-wise I am a great-great-great-great-great-great-great child of Siméon Denis Poisson. And then I&#8217;ve looked at the genealogy of all of my French colleagues and they are all descendants of him, which is rather annoying. &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2274&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;">
<a title="The tree that refused to believe it was winter by EJP Photo, on Flickr" href="http://www.flickr.com/photos/ejpphoto/2165390581/"><img class="aligncenter" alt="The tree that refused to believe it was winter" src="http://farm3.staticflickr.com/2153/2165390581_83af6496cc.jpg" width="500" height="332" /></a></p>
<p>Hey,</p>
<p>I&#8217;ve just discovered this website called <a href="http://phdtree.org/">PhDTree</a>, which is awesome because it shows that science-wise <a href="http://phdtree.org/scholar/jacob-pierre-e/">I am</a> a great-great-great-great-great-great-great child of <a href="http://en.wikipedia.org/wiki/Sim%C3%A9on_Denis_Poisson">Siméon Denis Poisson</a>.</p>
<p>And then I&#8217;ve looked at the genealogy of all of my French colleagues and they are all descendants of him, which is rather annoying.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2274&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/06/05/phdtree-and-juvenile-fishes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://farm3.staticflickr.com/2153/2165390581_83af6496cc.jpg" medium="image">
			<media:title type="html">The tree that refused to believe it was winter</media:title>
		</media:content>
	</item>
		<item>
		<title>Derivative-free estimate of derivatives</title>
		<link>http://statisfaction.wordpress.com/2013/04/23/derivative-free-estimate-of-derivatives/</link>
		<comments>http://statisfaction.wordpress.com/2013/04/23/derivative-free-estimate-of-derivatives/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 03:11:22 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2243</guid>
		<description><![CDATA[Hey, Arnaud Doucet, Sylvain Rubenthaler and I have just put a technical report on arXiv about estimating the first- and second-order derivatives of the log-likelihood (also called the score and the observed information matrix respectively) in general (intractable) statistical models, and in particular in (non-linear non-Gaussian) state-space models. We call them &#8220;derivative-free&#8221; estimates because they [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2243&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_2245" class="wp-caption aligncenter" style="width: 347px"><img class="size-full wp-image-2245" alt="Two Hessian soldiers having a ball." src="http://statisfaction.files.wordpress.com/2013/04/hessian_jager.jpg?w=720"   /><p class="wp-caption-text">Two Hessian soldiers having a ball.</p></div>
<p>Hey,</p>
<p><a href="http://scholar.google.com.sg/citations?user=W4SZGV8AAAAJ&amp;hl=en&amp;authuser=1">Arnaud Doucet</a>, <a href="http://scholar.google.com.sg/citations?user=kn2u0jAAAAAJ&amp;hl=en&amp;authuser=1">Sylvain Rubenthaler</a> and I have just put a <a href="http://arxiv.org/abs/1304.5768">technical report on arXiv</a> about estimating the first- and second-order derivatives of the log-likelihood (also called the <a href="http://en.wikipedia.org/wiki/Score_%28statistics%29">score</a> and the <a href="http://en.wikipedia.org/wiki/Observed_information">observed information matrix</a> respectively) in general (<a href="http://approximatebayesiancomputational.wordpress.com/introduction/">intractable</a>) statistical models, and in particular in (non-linear non-Gaussian) <a href="https://www.google.com/search?client=ubuntu&amp;channel=fs&amp;q=state+space+models&amp;ie=utf-8&amp;oe=utf-8">state-space models</a>. We call them &#8220;derivative-free&#8221; estimates because they can be computed even if the user cannot compute any kind of derivatives related to the model (as opposed to e.g. <a href="http://citeseerx.ist.psu.edu/viewdoc/summary;jsessionid=55141915FA624432CACD79C4978F3DD5?doi=10.1.1.137.96">this</a> paper and <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.66.3862">this</a> paper). Actually in some cases of interest we cannot even evaluate the log-likelihood point-wise (we do not have a formula for it), so forget about explicit derivatives. <a href="http://www.youtube.com/watch?v=P5eIHxkLqyU">Would you like to know more?</a></p>
<p><span id="more-2243"></span></p>
<p>Our tech report builds heavily upon the <a href="http://en.wikipedia.org/wiki/Iterated_filtering">Iterated Filtering</a> series of papers (see <a href="http://www.pnas.org/content/103/49/18438.full">this first PNAS paper</a>, then <a href="http://projecteuclid.org/DPubS?service=UI&amp;version=1.0&amp;verb=Display&amp;handle=euclid.aos/1311600283">this technical Annals of Stats paper</a>). It simply extends it to the second-order derivatives (actually we also propose an alternate estimate for the score). The main idea can be interpreted in terms of <a href="http://en.wikipedia.org/wiki/Bayesian_inference#Asymptotic_behaviour_of_posterior">Bayesian asymptotics</a>. Say, you have some (univariate, for clarity) parameter <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />, and you want to evaluate the derivatives of the log-likelihood at some point <img src='http://s0.wp.com/latex.php?latex=%5Ctheta_0&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;theta_0' title='&#92;theta_0' class='latex' />; introduce a prior distribution <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta%3B+%5Ctheta_0%2C+%5Ctau%5E2%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='p(&#92;theta; &#92;theta_0, &#92;tau^2)' title='p(&#92;theta; &#92;theta_0, &#92;tau^2)' class='latex' /> with mean <img src='http://s0.wp.com/latex.php?latex=%5Ctheta_0&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;theta_0' title='&#92;theta_0' class='latex' /> and variance <img src='http://s0.wp.com/latex.php?latex=%5Ctau%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau^2' title='&#92;tau^2' class='latex' />. Consider the behaviour of posterior distribution when 1) the dataset <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=fff&amp;fg=222&amp;s=0' alt='Y' title='Y' class='latex' /> is fixed (hence the likelihood <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BL%7D%28%5Ctheta%3B+Y%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;mathcal{L}(&#92;theta; Y)' title='&#92;mathcal{L}(&#92;theta; Y)' class='latex' /> is also fixed) and 2) the prior distribution concentrates, that is <img src='http://s0.wp.com/latex.php?latex=%5Ctau+%5Cto+0&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau &#92;to 0' title='&#92;tau &#92;to 0' class='latex' />. What happens to the posterior distribution?</p>
<p>As you can imagine it also shrinks: it looks more and more like the prior distribution when <img src='http://s0.wp.com/latex.php?latex=%5Ctau&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau' title='&#92;tau' class='latex' /> decreases. Now interestingly enough, under mild regularity assumptions and a Gaussian prior distribution we have the two following inequalities:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5Clvert+%5Cnabla+%5Cell%28%5Ctheta_0%29+-+%5Ctau%5E%7B-2%7D+%5Cleft%28%5Cmathbb%7BE%7D%5Cleft%5B%5Ctheta+%5Cvert+Y+%5Cright%5D+-+%5Ctheta_0%5Cright%29+%5Cright%5Crvert+%5Cleq+C_1+%5Ctau%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;left&#92;lvert &#92;nabla &#92;ell(&#92;theta_0) - &#92;tau^{-2} &#92;left(&#92;mathbb{E}&#92;left[&#92;theta &#92;vert Y &#92;right] - &#92;theta_0&#92;right) &#92;right&#92;rvert &#92;leq C_1 &#92;tau^2' title='&#92;left&#92;lvert &#92;nabla &#92;ell(&#92;theta_0) - &#92;tau^{-2} &#92;left(&#92;mathbb{E}&#92;left[&#92;theta &#92;vert Y &#92;right] - &#92;theta_0&#92;right) &#92;right&#92;rvert &#92;leq C_1 &#92;tau^2' class='latex' /></p>
<p style="text-align:center;">and</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5Clvert+%5Cnabla%5E2+%5Cell%28%5Ctheta_0%29+-+%5Ctau%5E%7B-4%7D+%5Cleft%28%5Cmathbb%7BV%7D%5Cleft%5B%5Ctheta+%5Cvert+Y+%5Cright%5D+-+%5Ctau%5E2+%5Cright%29+%5Cright%5Crvert+%5Cleq+C_2+%5Ctau%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;left&#92;lvert &#92;nabla^2 &#92;ell(&#92;theta_0) - &#92;tau^{-4} &#92;left(&#92;mathbb{V}&#92;left[&#92;theta &#92;vert Y &#92;right] - &#92;tau^2 &#92;right) &#92;right&#92;rvert &#92;leq C_2 &#92;tau^2' title='&#92;left&#92;lvert &#92;nabla^2 &#92;ell(&#92;theta_0) - &#92;tau^{-4} &#92;left(&#92;mathbb{V}&#92;left[&#92;theta &#92;vert Y &#92;right] - &#92;tau^2 &#92;right) &#92;right&#92;rvert &#92;leq C_2 &#92;tau^2' class='latex' /></p>
<p>for some <img src='http://s0.wp.com/latex.php?latex=C_1%2C+C_2+%3C+%5Cinfty&amp;bg=fff&amp;fg=222&amp;s=0' alt='C_1, C_2 &lt; &#92;infty' title='C_1, C_2 &lt; &#92;infty' class='latex' />. It means that the shift from the prior mean to the posterior mean is proportional to the first derivative of the log-likelihood <img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Cell%28%5Ctheta_0%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;nabla &#92;ell(&#92;theta_0)' title='&#92;nabla &#92;ell(&#92;theta_0)' class='latex' /> (already known from the IF papers), while the shift from the prior variance to the posterior variance is proportional to its second order derivative <img src='http://s0.wp.com/latex.php?latex=%5Cnabla%5E2+%5Cell%28%5Ctheta_0%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;nabla^2 &#92;ell(&#92;theta_0)' title='&#92;nabla^2 &#92;ell(&#92;theta_0)' class='latex' /> (new stuff). All of this up to an error term going to zero at the speed of <img src='http://s0.wp.com/latex.php?latex=%5Ctau%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau^2' title='&#92;tau^2' class='latex' />.</p>
<p>In practical terms, it means that the problem of computing the first two derivatives is turned into a problem of computing posterior expectations, which can be tackled with Monte Carlo methods for a very broad class of models.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2243&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/04/23/derivative-free-estimate-of-derivatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2013/04/hessian_jager.jpg" medium="image">
			<media:title type="html">Two Hessian soldiers having a ball.</media:title>
		</media:content>
	</item>
		<item>
		<title>BayesComp on wikidot</title>
		<link>http://statisfaction.wordpress.com/2013/04/16/bayescomp-on-wikidot/</link>
		<comments>http://statisfaction.wordpress.com/2013/04/16/bayescomp-on-wikidot/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 04:01:58 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2237</guid>
		<description><![CDATA[Hey, Just a quick note about BayesComp, a new wiki about Bayesian Computational Statistics (see this outdated but well-written introduction if you really don&#8217;t know what that is), as Xian pointed out. It is organised by the ISBA Section on Bayesian Computation, notably Peter Green and Nicolas Chopin so far. If the community gets into [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2237&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_2238" class="wp-caption aligncenter" style="width: 407px"><img class="size-medium wp-image-2238" title="Since the usual Bayes picture is not a picture of Bayes, we might as well use Ryan." alt="" src="http://statisfaction.files.wordpress.com/2013/04/ryanbayes.jpg?w=397&#038;h=400" width="397" height="400" /><p class="wp-caption-text">Since the classic picture of Bayes is actually not a picture of Bayes, we might as well use Ryan.</p></div>
<p>Hey,</p>
<p>Just a quick note about <a href="http://bayescomp.wikidot.com/">BayesComp</a>, a new wiki about Bayesian Computational Statistics (see <a href="http://rsta.royalsocietypublishing.org/content/361/1813/2681.abstract">this outdated but well-written introduction</a> if you really don&#8217;t know what that is), as <a href="http://xianblog.wordpress.com/2013/04/15/bayescomp-homepage/">Xian pointed out</a>. It is organised by the <a href="http://bayesian.org/sections/BayesComp/">ISBA Section on Bayesian Computation</a>, notably <a href="http://scholar.google.com/citations?user=sZv2GmkAAAAJ&amp;hl=en&amp;authuser=1">Peter Green</a> and <a href="http://scholar.google.com/citations?user=pXG4LfoAAAAJ&amp;hl=en&amp;authuser=1">Nicolas Chopin</a> so far. If the community gets into it, it could become the nerve centre for online resources about Bayesian Computation, which so far are quite scattered and poorly advertised.</p>
<p>Good luck to <a href="http://bayescomp.wikidot.com/">BayesComp</a>!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2237&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/04/16/bayescomp-on-wikidot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2013/04/ryanbayes.jpg?w=397" medium="image">
			<media:title type="html">Since the usual Bayes picture is not a picture of Bayes, we might as well use Ryan.</media:title>
		</media:content>
	</item>
		<item>
		<title>Marine Biogeochemical Data Assimilation Symposium in Hobart, 27th-30th May</title>
		<link>http://statisfaction.wordpress.com/2013/04/10/marine-biogeochemical-data-assimilation-symposium-in-hobart-27th-30th-may/</link>
		<comments>http://statisfaction.wordpress.com/2013/04/10/marine-biogeochemical-data-assimilation-symposium-in-hobart-27th-30th-may/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 07:27:19 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2220</guid>
		<description><![CDATA[Hello, At the end of May CSIRO (Marine and Atmospheric Research, Hobart) and in particular Emlyn Jones organise a conference on this topic, subtitled: New Pathways to Understanding and Managing Marine Ecosystems: Quantifying Uncertainty and Risk Using Biophysical-Statistical Models of the Marine Environment Here is an example of what marine biogeochemical data assimilation is about. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2220&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_2221" class="wp-caption aligncenter" style="width: 410px"><img class="size-medium wp-image-2221" alt="Tessellated Pavement, Eaglehawk Neck, Tasman Peninsula" src="http://statisfaction.files.wordpress.com/2013/04/tessellated_pavement_sunrise_landscape.jpg?w=400&#038;h=262" width="400" height="262" /><p class="wp-caption-text">Tessellated Pavement, Eaglehawk Neck, Tasman Peninsula</p></div>
<p>Hello,</p>
<p>At the end of May <a href="http://www.cmar.csiro.au/index.html">CSIRO (Marine and Atmospheric Research, Hobart) </a>and in particular <a href="http://www.emg.cmar.csiro.au/www/en/emg/people/Emlyn-Jones.html">Emlyn Jones</a> organise a <a href="http://www.emg.cmar.csiro.au/www/en/emg/events/BGC-DA-Symposium.html">conference</a> on this topic, subtitled:</p>
<blockquote><p>New Pathways to Understanding and Managing Marine Ecosystems: Quantifying Uncertainty and Risk Using Biophysical-Statistical Models of the Marine Environment</p></blockquote>
<p><span id="more-2220"></span></p>
<p>Here is an example of what marine biogeochemical data assimilation is about. Suppose you want to model the population sizes of phytoplankton <img src='http://s0.wp.com/latex.php?latex=P&amp;bg=fff&amp;fg=222&amp;s=0' alt='P' title='P' class='latex' /> and zooplankton <img src='http://s0.wp.com/latex.php?latex=Z&amp;bg=fff&amp;fg=222&amp;s=0' alt='Z' title='Z' class='latex' /> like they do in <a href="ftp://ftp.marine.csiro.au/pub/okane/Jones/Jones_CEPDA09.pdf">A Bayesian approach to state and parameter estimation in a Phytoplankton-Zooplankton model</a>. Marine biologists can formulate a model based on their knowledge of the phenomenon, and in this case they propose a model as a system of different equations (they call this one the PZ model):</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdfrac%7BdP%7D%7Bdt%7D+%3D+%5Calpha+P+-+c+P+Z%5Cquad%5Ctext%7B+and+%7D+%5Cquad%5Cdfrac%7BdZ%7D%7Bdt%7D+%3D+e+c+P+Z+-+m_l+Z+-+m_q+Z%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;dfrac{dP}{dt} = &#92;alpha P - c P Z&#92;quad&#92;text{ and } &#92;quad&#92;dfrac{dZ}{dt} = e c P Z - m_l Z - m_q Z^2' title='&#92;dfrac{dP}{dt} = &#92;alpha P - c P Z&#92;quad&#92;text{ and } &#92;quad&#92;dfrac{dZ}{dt} = e c P Z - m_l Z - m_q Z^2' class='latex' />.</p>
<p style="text-align:left;">This model describes the interaction between both species&#8217; population sizes and, although it is very simple compared to other models in the area, it already represents a non-trivial phenomenon: when there are more phytoplanktons, then the zooplanktons have more food so they grow through the term <img src='http://s0.wp.com/latex.php?latex=e+c+P+Z&amp;bg=fff&amp;fg=222&amp;s=0' alt='e c P Z' title='e c P Z' class='latex' />, then both population decrease through the terms <img src='http://s0.wp.com/latex.php?latex=-cPZ&amp;bg=fff&amp;fg=222&amp;s=0' alt='-cPZ' title='-cPZ' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=-m_l+Z+-+m_qZ%5E2&amp;bg=fff&amp;fg=222&amp;s=0' alt='-m_l Z - m_qZ^2' title='-m_l Z - m_qZ^2' class='latex' /> respectively, then the phytoplankton population size increases again, etc, etc. It&#8217;s a <a href="http://en.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equation">Lotka-Volterra model</a> describing a predator/prey interaction. The randomness comes from <img src='http://s0.wp.com/latex.php?latex=%5Calpha&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;alpha' title='&#92;alpha' class='latex' /> being a Normal random variable <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BN%7D%28%5Cmu_%5Calpha%2C+%5Csigma%5E2_%5Calpha%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;mathcal{N}(&#92;mu_&#92;alpha, &#92;sigma^2_&#92;alpha)' title='&#92;mathcal{N}(&#92;mu_&#92;alpha, &#92;sigma^2_&#92;alpha)' class='latex' />, drawn at every integer times <img src='http://s0.wp.com/latex.php?latex=t+%3D+0%2C+1%2C+%5Cldots%2C+T&amp;bg=fff&amp;fg=222&amp;s=0' alt='t = 0, 1, &#92;ldots, T' title='t = 0, 1, &#92;ldots, T' class='latex' />, corresponding to each day; it reflects that the growth rate of phytoplankton can be different from one day to the other. The observations are daily, noisy measurements of the phytoplankton population sizes, the zooplanktons never being measured.</p>
<p style="text-align:left;">The questions are numerous: can we estimate the zooplankton population size from the phytoplankton population size (a problem called filtering) under parameter uncertainty? Can we predict both time-series under parameter uncertainty? Can we estimate the parameters, which all have biological interpretation (grazing rates, growth rates, mortality rates etc)? If we have competing models, can we use the data to decide which one is the most accurate under parameter uncertainty (a problem called model choice)? If we can for this simple model, can we also do all of that for more complex models, where both the processes and the parameters are high-dimensional?</p>
<p style="text-align:left;">The fact that we want to do these things &#8220;under parameter uncertainty&#8221; obviously makes everything way more challenging. To be clear it is meant that parameters are not fixed (or estimated in a first stage), they are simply given a prior distribution. At the moment scientists can perform most of the tasks mentioned above for reasonably simple models such as the PZ model, not for the craziest ones with million-dimensional hidden processes (e.g. spatial state space models). At least not without additional approximations. The conference will be an opportunity to discuss future improvements to make the methods scalable and computational issues currently experienced by practitioners.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2220&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/04/10/marine-biogeochemical-data-assimilation-symposium-in-hobart-27th-30th-may/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2013/04/tessellated_pavement_sunrise_landscape.jpg?w=400" medium="image">
			<media:title type="html">Tessellated Pavement, Eaglehawk Neck, Tasman Peninsula</media:title>
		</media:content>
	</item>
		<item>
		<title>100 Savvy Sites on Statistics and Quantitative Analysis</title>
		<link>http://statisfaction.wordpress.com/2013/04/08/100-savvy-sites-on-statistics-and-quantitative-analysis/</link>
		<comments>http://statisfaction.wordpress.com/2013/04/08/100-savvy-sites-on-statistics-and-quantitative-analysis/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 02:25:07 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2215</guid>
		<description><![CDATA[Hello hello, Just a quick post to advertise the following list of statistics-related blogs and websites. Click on the badge to access it: We will be back soon with more content! Cheers, Pierre<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2215&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hello hello,</p>
<p>Just a quick post to advertise the following list of statistics-related blogs and websites. Click on the badge to access it:</p>
<p><a href="http://onlinemathdegrees.org/statistics/"><img alt="Savvy Statistics Site" src="http://onlinemathdegrees.org/savvy_statistics_site.png" width="139" height="138" /></a></p>
<p>We will be back soon with more content!</p>
<p>Cheers,</p>
<p>Pierre</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2215&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/04/08/100-savvy-sites-on-statistics-and-quantitative-analysis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://onlinemathdegrees.org/savvy_statistics_site.png" medium="image">
			<media:title type="html">Savvy Statistics Site</media:title>
		</media:content>
	</item>
		<item>
		<title>Using R in LaTeX with knitr and RStudio</title>
		<link>http://statisfaction.wordpress.com/2013/02/28/using-r-in-latex-with-knitr-and-rstudio/</link>
		<comments>http://statisfaction.wordpress.com/2013/02/28/using-r-in-latex-with-knitr-and-rstudio/#comments</comments>
		<pubDate>Thu, 28 Feb 2013 19:08:53 +0000</pubDate>
		<dc:creator>Julyan Arbel</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2202</guid>
		<description><![CDATA[Hi, I presented today at INSEE R user group (FLR) how to use knitr (Sweave evolution) for writing documents which are self contained with respect to the source code: your data changed? No big deal, just compile your .Rnw file again and you are done with an updated version of your paper![Ctrl+Shift+I] is easy. Some [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2202&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://yihui.name/knitr/"><img class="aligncenter" alt="" src="http://yihui.name/knitr/images/knit-logo.png" width="240" height="165" /></a>Hi,</p>
<p>I presented today at INSEE <a href="http://fltaur.wordpress.com">R user group</a> (FL<img src='http://s0.wp.com/latex.php?latex=%5Ctau&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau' title='&#92;tau' class='latex' />R) how to use <strong>knitr</strong> (Sweave evolution) for writing <img src='http://s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;LaTeX' title='&#92;LaTeX' class='latex' /> documents which are self contained with respect to the source code: your data changed? No big deal, just compile your .Rnw file again and you are done with an updated version of your paper![Ctrl+Shift+I] is easy. Some benefits with respect to having two separate .R and .tex files: it is integrated in a single software (<a title="RStudio is good for you" href="http://statisfaction.wordpress.com/2011/04/29/rstudio-is-good-for-you/">RStudio</a>), you can call variables in your text with the \Sexpr{} command. The slow speed at compilation is no more a real matter as one can put &#8220;cache=TRUE&#8221; in code chunk options not to reevaluate unchanged chunks, which fastens things.</p>
<p>I share the (brief) slides below. They won&#8217;t help much those who already use knitr, but they give the first steps for those who would like to give it a try.</p>
<iframe src='http://www.slideshare.net/slideshow/embed_code/16829000' width='720' height='590'></iframe>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2202&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/02/28/using-r-in-latex-with-knitr-and-rstudio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8be39edc1e697c36b0abea16f367c4a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">julyanarbel</media:title>
		</media:content>

		<media:content url="http://yihui.name/knitr/images/knit-logo.png" medium="image" />
	</item>
		<item>
		<title>A good tool for researchers ?</title>
		<link>http://statisfaction.wordpress.com/2013/01/17/a-good-tool-for-researchers/</link>
		<comments>http://statisfaction.wordpress.com/2013/01/17/a-good-tool-for-researchers/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 13:08:13 +0000</pubDate>
		<dc:creator>JB Salomond</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2181</guid>
		<description><![CDATA[Hi there ! Like Pierre a while ago, I got fed up with printing articles, annotating them, losing them, re-printing them, and so on. Moreover, I also wanted to be able to carry more than one or two books in my bag without ruining my back. E-Ink readers seemed good but at some point I [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2181&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://statisfaction.files.wordpress.com/2013/01/pile_of_papers_2.jpg"><img class="size-full wp-image aligncenter" id="i-2196" alt="Image" src="http://statisfaction.files.wordpress.com/2013/01/pile_of_papers_2.jpg?w=487" width="199" height="337" /></a></p>
<p>Hi there !</p>
<p>Like Pierre <a title="a while ago" href="http://statisfaction.wordpress.com/2012/03/29/e-ink/" target="_blank">a while ago</a>, I got fed up with printing articles, annotating them, losing them, re-printing them, and so on. Moreover, I also wanted to be able to carry more than one or two books in my bag without ruining my back. E-Ink readers seemed good but at some point <a href="http://statisfaction.wordpress.com/2012/07/17/e-ink-readers-are-pissing-me-off/" target="_blank">I changed my mind</a>&#8230;</p>
<p>After the ISBA conference in <a href="http://www2.e.u-tokyo.ac.jp/~isba2012/index.html" target="_blank">Kyoto</a>, where I saw bazillions of IPads, I thought that tablets really worth the shot. I am cool with reading on a LCD screen, I probably won&#8217;t read scientific articles/books outside in the sun, and I like the idea of a light device that can replace my laptop in conferences. Furthermore, there is now a large choice of apps to annotate pdf which is crucial for me.</p>
<p>The device <a href="http://www.samsung.com/global/microsite/galaxynote/note_10.1/index.html?type=find" target="_blank">I chose</a> run on Android (mainly because there is no memory extension on Apple devices), combined with a good capacitive pen, an annotation app such as eZreader that get your pdf directly from Dropbox (which is simply awesome). You can even use <a href="https://play.google.com/store/apps/details?id=verbosus.verbtex&amp;hl=fr" target="_blank">LaTeX</a> (without fancy packages&#8230;) which may become handy.</p>
<p>I hope that I will not experience the same disappointment as Pierre did with his reader, but for the moment a tablet seems just what I needed !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2181&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/01/17/a-good-tool-for-researchers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b0e35e673761c7e43693472bda61666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jbsalomond</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2013/01/pile_of_papers_2.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>
	</item>
		<item>
		<title>Back from ISBA Regional Meeting in India</title>
		<link>http://statisfaction.wordpress.com/2013/01/15/back-from-isba-regional-meeting-in-india/</link>
		<comments>http://statisfaction.wordpress.com/2013/01/15/back-from-isba-regional-meeting-in-india/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 03:56:48 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[Seminar/Conference]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2171</guid>
		<description><![CDATA[Hello everyone, and of course Happy New Year (2013 is the international year of statistics!). Last week the ISBA Regional Meeting was held in Banaras / Varanasi, in the North of India. The conference was well attended, with leading figures such as Jayanta K. Ghosh, José Bernardo, James Berger, Peter Green, Christian Robert who blogged [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2171&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img class="size-full wp-image aligncenter" id="i-2170" alt="" src="http://statisfaction.files.wordpress.com/2013/01/bhulogo.jpg?w=400" width="400" height="389" /></p>
<p>Hello everyone,</p>
<p>and of course Happy New Year (<a href="http://www.statistics2013.org/">2013 is the international year of statistics!</a>).</p>
<p>Last week the <a href="http://www.bhu.ac.in/isba/">ISBA Regional Meeting was held in Banaras / Varanasi</a>, in the North of India. The conference was well attended, with leading figures such as Jayanta K. Ghosh, José Bernardo, James Berger, Peter Green, <a href="http://xianblog.wordpress.com/2013/01/09/isba-regional-meeting-in-varanasi/">Christian Robert</a> <a href="http://xianblog.wordpress.com/2013/01/10/isba-regional-meeting-in-varanasi-day-2/">who blogged</a> <a href="http://xianblog.wordpress.com/2013/01/11/isba-regional-meeting-in-varanasi-day-3/">about it</a>, and an overall ~350 participants.</p>
<p><span id="more-2171"></span></p>
<p>As always I really liked the conference, as much for the opportunity to spend time with colleagues out of the usual environment, as for the content of the talks. Since the conference was held in the University, it was also an opportunity to discover a very different academic environment and to talk with the local students. The highlight of the conference happened when a stray dog, out of nowhere, walked nimbly behind the speaker during one of the talks.</p>
<div id="attachment_2175" class="wp-caption aligncenter" style="width: 550px"><img class="size-large wp-image-2175" alt="" src="http://statisfaction.files.wordpress.com/2013/01/img_2389.jpg?w=540&#038;h=720" width="540" height="720" /><p class="wp-caption-text">Somewhere in Banaras Hindu University.</p></div>
<p>I gave a talk about Score and Observed Information Matrix estimation in general state space models (those with intractable transition densities). This is on-going work with colleagues and I will surely explain all about it on this blog once it is finished.</p>
<p>Namastey!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2171&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2013/01/15/back-from-isba-regional-meeting-in-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2013/01/bhulogo.jpg?w=400" medium="image" />

		<media:content url="http://statisfaction.files.wordpress.com/2013/01/img_2389.jpg?w=540" medium="image" />
	</item>
		<item>
		<title>Final post on the Wang-Landau and the Flat Histogram criterion</title>
		<link>http://statisfaction.wordpress.com/2012/12/15/final-post-on-the-wang-landau-and-the-flat-histogram-criterion/</link>
		<comments>http://statisfaction.wordpress.com/2012/12/15/final-post-on-the-wang-landau-and-the-flat-histogram-criterion/#comments</comments>
		<pubDate>Sat, 15 Dec 2012 10:43:43 +0000</pubDate>
		<dc:creator>Pierre Jacob</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2103</guid>
		<description><![CDATA[Hey, With Robin Ryder we wrote a paper titled The Wang-Landau Algorithm Reaches the Flat Histogram in Finite Time and it has been accepted in Annals of Applied Probability (arXiv preprint  here). I&#8217;m especially happy about it since it was the last remaining unpublished chapter of my PhD thesis. In this post I&#8217;ll try to explain [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2103&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_2113" class="wp-caption aligncenter" style="width: 560px"><img class="size-full wp-image-2113" alt="Gaussian density biased such that 75% of the mass is in the negative values and 25% in the positive values" src="http://statisfaction.files.wordpress.com/2012/12/rplot.png?w=720"   /><p class="wp-caption-text">Gaussian density biased such that 75% of the mass is in the negative values and 25% in the positive values</p></div>
<p>Hey,</p>
<p>With <a href="http://robinryder.wordpress.com/2012/12/14/accepted-wang-landau-flat-histogram/">Robin Ryder</a> we wrote a paper titled <em>The Wang-Landau Algorithm Reaches the Flat Histogram in Finite Time</em> and it has been accepted in <em>Annals of Applied Probability </em>(<a href="http://arxiv.org/abs/1110.4025">arXiv preprint  here</a>). I&#8217;m especially happy about it since it was the last remaining unpublished chapter of my PhD thesis. In this post I&#8217;ll try to explain what we proved here on a simple example.</p>
<p><span id="more-2103"></span>Suppose you are given a target density <img src='http://s0.wp.com/latex.php?latex=%5Cpi&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;pi' title='&#92;pi' class='latex' />, and you wish to sample from it BUT with the additional constraint that you want some parts of the state space to be favoured and some other to be penalized. For instance, you are given an univariate Gaussian density. It is symmetric so if you sample directly from it, in average you will get half of your samples in the negative values, and half in the positive values. Suppose that you would like to have 75% of your samples in the negative values instead. This kind of constraint can be interesting if you want to explore multimodal distributions, in which case you might want to penalize already-visited regions of the state space, in order to explore yet unvisited regions (<a href="http://statisfaction.wordpress.com/2011/09/21/density-exploration-and-wang-landau-algorithms-with-r-package/">see this old post for instance</a>, which was about a <a href="http://arxiv.org/abs/1109.3829">related paper</a> now accepted in JCGS).</p>
<p>In the case of a Gaussian distribution, it is easy because you can compute exactly the required quantities For instance if you partition the state space in two regions <img src='http://s0.wp.com/latex.php?latex=A_1+%3D+%5D-%5Cinfty%2C0%5D&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_1 = ]-&#92;infty,0]' title='A_1 = ]-&#92;infty,0]' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=A_2+%3D+%5D0%2C%2B%5Cinfty%5B&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_2 = ]0,+&#92;infty[' title='A_2 = ]0,+&#92;infty[' class='latex' />, and you want to have a proportion of samples <img src='http://s0.wp.com/latex.php?latex=%5Cphi_i&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_i' title='&#92;phi_i' class='latex' /> on each bin <img src='http://s0.wp.com/latex.php?latex=A_i&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_i' title='A_i' class='latex' /> (say <img src='http://s0.wp.com/latex.php?latex=%5Cphi_1+%3D+75%5C%25&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_1 = 75&#92;%' title='&#92;phi_1 = 75&#92;%' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cphi_2+%3D+25%5C%25&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_2 = 25&#92;%' title='&#92;phi_2 = 25&#92;%' class='latex' />). You can compute for each bin <img src='http://s0.wp.com/latex.php?latex=A_i&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_i' title='A_i' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cpsi%28A_i%29+%3D+%5Cfrac%7B1%7D%7B%5Cphi_i%7D+%5Cint_%7BA_i%7D+%5Cfrac%7B1%7D%7B%5Csqrt%7B2%5Cpi%5Csigma%5E2%7D%7D+%5Cexp%28-%5Cfrac%7B1%7D%7B2%5Csigma%5E2%7D%28x-%5Cmu%29%5E2%29+dx&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;psi(A_i) = &#92;frac{1}{&#92;phi_i} &#92;int_{A_i} &#92;frac{1}{&#92;sqrt{2&#92;pi&#92;sigma^2}} &#92;exp(-&#92;frac{1}{2&#92;sigma^2}(x-&#92;mu)^2) dx' title='&#92;psi(A_i) = &#92;frac{1}{&#92;phi_i} &#92;int_{A_i} &#92;frac{1}{&#92;sqrt{2&#92;pi&#92;sigma^2}} &#92;exp(-&#92;frac{1}{2&#92;sigma^2}(x-&#92;mu)^2) dx' class='latex' /></p>
<p>and then if you define the &#8220;biased&#8221; density <img src='http://s0.wp.com/latex.php?latex=%5Ctilde%5Cpi&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tilde&#92;pi' title='&#92;tilde&#92;pi' class='latex' /> as follows (up to a multiplicative constant):</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctilde%7B%5Cpi%7D+%28x%29+%5Cpropto+%28%5Cfrac%7B1%7D%7B%5Cpsi%28A_1%29%7D1_%7Bx%5Cin+A_1%7D+%2B+%5Cfrac%7B1%7D%7B%5Cpsi%28A_2%29%7D1_%7Bx%5Cin+A_2%7D%29+%5Cexp%28-%5Cfrac%7B1%7D%7B2%5Csigma%5E2%7D%28x-%5Cmu%29%5E2%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tilde{&#92;pi} (x) &#92;propto (&#92;frac{1}{&#92;psi(A_1)}1_{x&#92;in A_1} + &#92;frac{1}{&#92;psi(A_2)}1_{x&#92;in A_2}) &#92;exp(-&#92;frac{1}{2&#92;sigma^2}(x-&#92;mu)^2)' title='&#92;tilde{&#92;pi} (x) &#92;propto (&#92;frac{1}{&#92;psi(A_1)}1_{x&#92;in A_1} + &#92;frac{1}{&#92;psi(A_2)}1_{x&#92;in A_2}) &#92;exp(-&#92;frac{1}{2&#92;sigma^2}(x-&#92;mu)^2)' class='latex' /></p>
<p>then you can check that the biased density has a mass of <img src='http://s0.wp.com/latex.php?latex=%5Cphi_1&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_1' title='&#92;phi_1' class='latex' /> on bin <img src='http://s0.wp.com/latex.php?latex=A_1&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_1' title='A_1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cphi_2&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_2' title='&#92;phi_2' class='latex' /> on bin <img src='http://s0.wp.com/latex.php?latex=A_2&amp;bg=fff&amp;fg=222&amp;s=0' alt='A_2' title='A_2' class='latex' />, ie <img src='http://s0.wp.com/latex.php?latex=%5Cint_%7BA_i%7D+%5Ctilde%7B%5Cpi%7D%28x%29+dx+%3D+%5Cphi_i&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;int_{A_i} &#92;tilde{&#92;pi}(x) dx = &#92;phi_i' title='&#92;int_{A_i} &#92;tilde{&#92;pi}(x) dx = &#92;phi_i' class='latex' />. Hence drawing from this biased density should yield the desired samples. However in general it is not possible to compute <img src='http://s0.wp.com/latex.php?latex=%5Cpsi%28A_i%29&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;psi(A_i)' title='&#92;psi(A_i)' class='latex' />, so you need an algorithm to estimate these quantities. The Wang-Landau algorithm does this in an online manner, which means that it both gets the desired draws <img src='http://s0.wp.com/latex.php?latex=X_1%2C+X_2%2C+%5Cldots&amp;bg=fff&amp;fg=222&amp;s=0' alt='X_1, X_2, &#92;ldots' title='X_1, X_2, &#92;ldots' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=%5Ctilde%7B%5Cpi%7D&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tilde{&#92;pi}' title='&#92;tilde{&#92;pi}' class='latex' /> and estimates the penalties simultaneously. It&#8217;s an iterative algorithm that you can run for as long as you want. Now we say that the Flat Histogram criterion is reached when we obtain (approximately) the desired frequencies <img src='http://s0.wp.com/latex.php?latex=%5Cphi_i&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;phi_i' title='&#92;phi_i' class='latex' /> in each bin, ie when the empirical proportions of samples in each bin are close to the desired ones. What we proved with Robin is that the Flat Histogram criterion is reached in a random time <img src='http://s0.wp.com/latex.php?latex=%5Ctau&amp;bg=fff&amp;fg=222&amp;s=0' alt='&#92;tau' title='&#92;tau' class='latex' /> that has a finite expectation, i.e. you&#8217;re not going to wait forever in front of your computer waiting for the Flat Histogram criterion.</p>
<p>The following plot shows the empirical proportions converging to the desired ones.</p>
<div id="attachment_2157" class="wp-caption aligncenter" style="width: 560px"><img class="size-full wp-image-2157" alt="The empirical proportions of samples in each bin (red lines, one for each bin) converge to the desired ones (dotted lines), as the iterations go along." src="http://statisfaction.files.wordpress.com/2012/12/rplot01.png?w=720"   /><p class="wp-caption-text">The empirical proportions of samples in each bin (red lines, one for each bin) converge to the desired ones (dotted lines), as the iterations go along.</p></div>
<p>To produce these figures you can use the <a href="http://cran.r-project.org/web/packages/PAWL/index.html">PAWL</a> package that is on CRAN. Here&#8217;s a bit of code producing both figures of this post.</p>
<pre class="brush: r; title: ; notranslate">
library(PAWL)
theme_set(theme_bw())
rinit &lt;- function(size) rep(0, size)
parameters &lt;- list(mean = 0, sd = 1)
logdensity &lt;- function(x, parameters){
  return(dnorm(x, parameters$mean, parameters$sd, log = TRUE) * (x &gt; -10 &amp; x &lt; 10))
}
gaussiantarget &lt;- target(name = &quot;gaussian&quot;, dimension = 1,
                         rinit = rinit, logdensity = logdensity,
                         parameters = parameters)
Nchains &lt;- 1; Niterations &lt;- 10000
proposal &lt;- createAdaptiveRandomWalkProposal(Nchains, gaussiantarget@dimension,
                                             adaptiveproposal = FALSE)
pawlparameters &lt;- tuningparameters(nchains = Nchains, niterations = Niterations, storeall = TRUE)
getPos &lt;- function(points, logdensity) points
desfreq &lt;- c(0.75, 0.25)
positionbinning &lt;- binning(position = getPos,
                           name = &quot;position&quot;,
                           bins = c(-Inf, 0),
                           desiredfreq = desfreq,
                           useLearningRate = FALSE,
                           autobinning = FALSE)
pawlresults &lt;- pawl(gaussiantarget, binning = positionbinning, AP = pawlparameters,
                    proposal = proposal)
chains &lt;- ConvertResults(pawlresults)
alllocations &lt;- positionbinning@getLocations(positionbinning@bins, pawlresults$allreaction)
locationsdf &lt;- data.frame(cbind(cumsum(alllocations == 1) / 1:(Niterations+1),
                                cumsum(alllocations == 2) / 1:(Niterations+1),
                                1:(Niterations+1)))
names(locationsdf) &lt;- c(&quot;proportion1&quot;, &quot;proportion2&quot;,
                        &quot;iterations&quot;)
meltedlocations &lt;- melt(data=locationsdf, id = c(&quot;iterations&quot;))

g &lt;- ggplot(data = meltedlocations, aes(x = iterations, y = value, colour = variable))
g &lt;- g + geom_line() + theme(legend.position = &quot;none&quot;)
g &lt;- g + scale_colour_manual(values= c(&quot;red&quot;, &quot;red&quot;))
g &lt;- g + geom_hline(yintercept = positionbinning@desiredfreq, col = &quot;black&quot;, linetype = 3)
g &lt;- g + xlab(&quot;iterations&quot;) + ylab(&quot;Proportions of visits to each bin&quot;)
print(g)

ghist &lt;- qplot(chains[,1], geom = &quot;histogram&quot;, binwidth = 0.3) + geom_vline(xintercept = 0, colour = &quot;red&quot;, size = 3)
ghist &lt;- ghist + xlab(&quot;X&quot;)
print(ghist)
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2103&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2012/12/15/final-post-on-the-wang-landau-and-the-flat-histogram-criterion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd7b6e7af1a2d912dcf56f92c4698148?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pierrejacob</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2012/12/rplot.png" medium="image">
			<media:title type="html">Gaussian density biased such that 75% of the mass is in the negative values and 25% in the positive values</media:title>
		</media:content>

		<media:content url="http://statisfaction.files.wordpress.com/2012/12/rplot01.png" medium="image">
			<media:title type="html">The empirical proportions of samples in each bin (red lines, one for each bin) converge to the desired ones (dotted lines), as the iterations go along.</media:title>
		</media:content>
	</item>
		<item>
		<title>Dropbox Space Race</title>
		<link>http://statisfaction.wordpress.com/2012/12/01/dropbox-space-race/</link>
		<comments>http://statisfaction.wordpress.com/2012/12/01/dropbox-space-race/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 10:58:24 +0000</pubDate>
		<dc:creator>Julyan Arbel</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[ENSAE]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://statisfaction.wordpress.com/?p=2095</guid>
		<description><![CDATA[Hi, additionally to the referral program (you refer a new user, you win an extra .5 Go), the Dropbox Space Race will give you 3 Go extra space (for 2 years) if you register with your email from a competing university. The best schools will get more space. Here are the 100 top schools. Com&#8217; on, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2095&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignnone size-full" alt="https://www.dropbox.com/static/images/spacerace2012/rocket-splash.jpg" src="https://www.dropbox.com/static/images/spacerace2012/rocket-splash.jpg" height="290" width="363" /></p>
<p>Hi,</p>
<p>additionally to the referral program (you refer a new user, you win an extra .5 Go), the <a href="https://www.dropbox.com/spacerace">Dropbox Space Race</a> will give you 3 Go extra space (for 2 years) if you register with your email from a competing university. The best schools will get more space. Here are the 100 <a href="https://www.dropbox.com/spacerace/top">top schools</a>. Com&#8217; on, there is no <a href="https://www.dropbox.com/spacerace/top/country/fr">french school</a> in the 100 top !</p>
<p>Thanks Nicolas for the info.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statisfaction.wordpress.com/2095/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statisfaction.wordpress.com/2095/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statisfaction.wordpress.com&#038;blog=14440299&#038;post=2095&#038;subd=statisfaction&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://statisfaction.wordpress.com/2012/12/01/dropbox-space-race/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8be39edc1e697c36b0abea16f367c4a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">julyanarbel</media:title>
		</media:content>

		<media:content url="https://www.dropbox.com/static/images/spacerace2012/rocket-splash.jpg" medium="image">
			<media:title type="html">https://www.dropbox.com/static/images/spacerace2012/rocket-splash.jpg</media:title>
		</media:content>
	</item>
	</channel>
</rss>
