<?xml version="1.0" encoding="windows-1252"?>
<node id="1016043" title="Re^2: [OT] Statistics question." created="2013-01-30 06:55:35" updated="2013-01-30 06:55:35">
<type id="11">
note</type>
<author id="171588">
BrowserUk</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;
the expectation value is simply 1e6 * P(1) = 1e6 * 1e6/2**32 = 232.83 ...  the standard deviation is simply the square root of the expectation value, so 15.5.
&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;Based upon a run of 100 samples, that seems to match quite nicely:&lt;code&gt;
C:\test&gt;bitvec2 -N=100
100
Mean: 230.95 stddev:14.75
&lt;/code&gt;

&lt;P&gt;I'm doing a run of 1000 samples, and if that shows no surprises, I'll be taking your figures as read and basing my testing upon it.

&lt;p&gt;Thank you.

&lt;P&gt;Update: The 1000 sample run marries well (good enough):&lt;code&gt;
C:\test&gt;bitvec2 -N=1000
1000
Mean: 233.39 stddev:15.79
&lt;/code&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-171588"&gt;
&lt;hr /&gt;
&lt;font size=1 &gt;
&lt;div&gt;With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'&lt;/div&gt;
&lt;div&gt;Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.&lt;/div&gt;
&lt;div&gt;"Science is about questioning the status quo. Questioning authority". &lt;/div&gt;
&lt;div&gt;In the absence of evidence, opinion is indistinguishable from prejudice.
&lt;/div&gt;
&lt;/font&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1015959</field>
<field name="parent_node">
1016005</field>
</data>
</node>
