<?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/"
	>

<channel>
	<title>Matt Daubneys Blog &#187; gnuplot</title>
	<atom:link href="http://daubers.co.uk/tag/gnuplot/feed/" rel="self" type="application/rss+xml" />
	<link>http://daubers.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 25 Mar 2012 19:34:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Monte Carlo Madness</title>
		<link>http://daubers.co.uk/2009/03/13/monte-carlo-madness/</link>
		<comments>http://daubers.co.uk/2009/03/13/monte-carlo-madness/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 20:21:35 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[learning]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Statistical Physics]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uni]]></category>
		<category><![CDATA[gnuplot]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[monte carlo]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=142</guid>
		<description><![CDATA[One of my modules has recently involved writing a set of monte carlo models. I&#8217;d heard of these mystical things before, but never implimented one myself (or understood the statistics behind them). I&#8217;ve become fairly interested in how these things work now, but one thing I didn&#8217;t understand was how the number of random numbers [...]]]></description>
			<content:encoded><![CDATA[<p>One of my modules has recently involved writing a set of <a title="Monte Carlo methods - Wikipedia" href="http://en.wikipedia.org/wiki/Monte_Carlo_method" target="_blank">monte carlo models</a>. I&#8217;d heard of these mystical things before, but never implimented one myself (or understood the statistics behind them). I&#8217;ve become fairly interested in how these things work now, but one thing I didn&#8217;t understand was how the number of random numbers you use affected the final result. This seemed like a fairly easy thing to calclate and graph, so I bodged som outputs into my code, wrote a short python script to do a few hundred runs and see what came out the other end.</p>
<p>What came out, I really wasn&#8217;t expecting. I assumed the uncertainty (or variance) would decrease as an exponential curve as you incresed the iterations, what really occurs can be seen in the graph below.</p>
<p style="text-align: center;">
<div class="wp-caption aligncenter" style="width: 522px"><img title="Iterations against Variance" src="http://daubers.co.uk/~daubers/iterations_v_variance.gif" alt="WTF?" width="512" height="384" /><p class="wp-caption-text">WTF?</p></div>
<p>That horrible wiggly bit at the beggining was completley unexpected. I am now wondering if it&#8217;s a sign that my data hasn&#8217;t been thermalized properly.</p>
<p>Any one out there with any experience of this want to comment?</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2009/03/13/monte-carlo-madness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

