<?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>Autarchy of the Private Cave &#187; standard deviation</title> <atom:link href="https://bogdan.org.ua/tags/standard-deviation/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Standard deviation and variance in pictures</title><link>https://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html</link> <comments>https://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html#comments</comments> <pubDate>Sun, 24 Jan 2010 14:07:42 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[math]]></category> <category><![CDATA[standard deviation]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[variance]]></category> <category><![CDATA[youngling]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=965</guid> <description><![CDATA[MathIsFun offers nicely illustrated pages on math, algebra, geometry and maybe more. For example, there is a step-by-step instruction on calculating variance and standard deviation for a set of measured dog heights, with a final picture (below) illustrating one-sigma distance from the mean. Unfortunately, concepts of normal distribution and %% of data points within each [&#8230;]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.mathsisfun.com/"><img
src="http://bogdan.org.ua/wp-content/uploads/2010/01/mif120_60.gif" alt="" title="MathIsFun" width="120" height="60" class="alignleft size-full wp-image-966" /></a>MathIsFun offers nicely illustrated pages on math, algebra, geometry and maybe more.</p><p></p><p>For example, there is a <a
href="http://www.mathsisfun.com/standard-deviation.html" class="broken_link" rel="nofollow">step-by-step instruction on calculating variance and standard deviation</a> for a set of measured dog heights, with a final picture (below) illustrating one-sigma distance from the mean. Unfortunately, concepts of normal distribution and %% of data points <a
href="http://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html">within each sigma range</a> are not discussed, but that might as well be too much for a nice explanation. There are also animations, like this <a
href="http://www.mathsisfun.com/data/mean-machine.html">mean machine</a>. Overall, MathIsFun is a nice resource for younglings.<br
/> <img
src="http://bogdan.org.ua/wp-content/uploads/2010/01/statistics-standard-deviation-500x167.gif" alt="" title="one-sigma from mean" width="500" height="167" class="aligncenter size-medium wp-image-967" /></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&#038;title=Standard%20deviation%20and%20variance%20in%20pictures" data-a2a-url="https://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html" data-a2a-title="Standard deviation and variance in pictures"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mean, standard deviation, and stem-and-leaf plot</title><link>https://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html</link> <comments>https://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html#comments</comments> <pubDate>Thu, 14 Sep 2006 14:07:58 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Science]]></category> <category><![CDATA[book]]></category> <category><![CDATA[mean]]></category> <category><![CDATA[plot]]></category> <category><![CDATA[standard deviation]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[stem-and-leaf]]></category> <guid
isPermaLink="false">http://www.bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html</guid> <description><![CDATA[I am doing some simple statistics now, and had to review some basic concepts like standard deviation. As a note to myself and anyone interested, here it stays. The mean is just a sum of all your numerical observations, divided by the number of observations. E.g., if you have measured how tall your 5 children [&#8230;]]]></description> <content:encoded><![CDATA[<p>I am doing some simple statistics now, and had to review some basic concepts like standard deviation.<br
/> As a note to myself and anyone interested, here it stays.</p><p>The <a
href="http://en.wikipedia.org/wiki/Mean">mean</a> is just a sum of all your numerical observations, divided by the number of observations. E.g., if you have measured how tall your 5 children are, and got the values 1.42, 1.56, 1.05, 1.89, 1.92, the &#8220;mean height&#8221; of your children will be <span
style="text-decoration:overline;">x</span> = (1.42 + 1.56 + 1.05 + 1.89 + 1.92) / 5, <span
style="text-decoration:overline;">x</span> = 7.84 / 5 = 1.568 (all values in metres).</p><p>The mean itself doesn&#8217;t tell you much, however. If you had this 1.568 mean available, you wouldn&#8217;t know even the range of heights.</p><p>The <a
href="http://en.wikipedia.org/wiki/Standard_deviation">standard deviation</a> helps with this. First of all, it is measured in the same units as initial data &#8211; i.e. metres in our example. Second, it gives you an idea of how strongly do the measured values differ in your sample &#8211; the bigger the deviation, the longer is the value range measured in the sample.<br
/> <span
id="more-28"></span><br
/> Calculating standard deviation is simple (image &copy; wikipedia):<br
/><center><img
src="http://bogdan.org.ua/wp-content/uploads/2006/09/sigma.png" alt="sigma = \sqrt{\frac{1}{N} \sum_{i=1}^N (x_i - \overline{x})^2}" /></center><br
/> Here: N &#8211; number of data points (=5 in our example), <span
style="text-decoration:overline;">x</span> &#8211; mean, x<sub>i</sub> &#8211; each data point.</p><p>If we calculate sigma (standard deviation) for the example above, we will get:</p><p>&sigma; = sqrt( ( (1.42-1.57)^2 + (1.56-1.57)^2 + (1.05-1.57)^2 + (1.89-1.57)^2 + (1.92-1.57)^2)  / 5)<br
/> &sigma; = sqrt( 0.023 + 0 + 0.27 + 0.102 + 0.122 / 5)<br
/> &sigma; = sqrt( 0.517 / 5 )<br
/> &sigma; = sqrt( 0.103 ) = 0.32 metres</p><p>So now, if you write you measurements like this:<br
/> height = 1.57<span
style="text-decoration:underline;">+</span>0.32<br
/> that will read like: &#8220;on average, my 5 children are 1.57 metres high, and most of them are from (1.57-0.32) to (1.57+0.32) metres high&#8221;. That &#8220;most&#8221; in the previous sentence actually means 68.2% of all data points (or children heights in this case) (image from <a
href="http://en.wikipedia.org/wiki/File:Standard_deviation_diagram.png">wikipedia</a>):<br
/><center><img
src="http://bogdan.org.ua/wp-content/uploads/2006/09/stddevdiag.png" alt="standard deviation diagram" /></center></p><p>(More comprehensive version of this help image exists <a
href="http://en.wikipedia.org/wiki/File:Normal_distribution_and_scales.gif">here</a>:<br
/><center><img
src="http://bogdan.org.ua/wp-content/uploads/2006/17/distribution_and_scales.gif" alt="distribution and scales" /></center><br
/> Get <a
href="http://bogdan.org.ua/wp-content/uploads/2006/17/Normal_distribution_and_scales.gif">larger version</a>)</p><p>So if you want to include 95% of children heights, that will be (1.57-0.32*2) to (1.57+0.32*2), where 0.32 is the standard deviation we calculated above.</p><p>Now to the stem-and-leaf plot. Reading a <a
href="http://www.amazon.com/gp/product/0727915525?ie=UTF8&#038;tag=bioua-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0727915525">book on statistics</a><img
src="http://www.assoc-amazon.com/e/ir?t=bioua-20&#038;l=as2&#038;o=1&#038;a=0727915525" width="1px" height="1px" border="0" alt="" style="border:none !important; margin:0px !important;" />, I came across a simple method to evaluate your (small) numeric dataset without calculating mean and sigma. I will follow the book and cite it extensively.</p><p>For example, a pediatric registrar in a district general hospital is investigating the amount of lead in the urine of children from a nearby housing estate. In a particular street there are 15 children whose ages range from 1 year to under 16, and in a preliminary study the registrar has found the following amounts of urinary lead (Î¼mol/24 h):<br
/> 0.6, 2.6, 0.1, 1.1, 0.4, 2.0, 0.8, 1.3, 1.2, 1.5, 3.2, 1.7, 1.9, 1.9, 2.2</p><p>A simple way to order, and also to display, the data is to use a stem and leaf plot. To do this we need to abbreviate the observations to two significant digits. In the case of the urinary concentration data, the digit to the left of the decimal point is the â€œstemâ€ and the digit to the right the â€œleaf â€. We first write the stems in order down the page. We then work along the data set, writing the leaves down â€œas they comeâ€. Thus, for the first data point, we write a 6 opposite the 0 stem, and so on:</p><p><center><img
src="http://bogdan.org.ua/wp-content/uploads/2006/09/stem1.png" alt="ordered stems, and leafs as they come graph" /></center></p><p>We then order the leaves:</p><p><center><img
src="http://bogdan.org.ua/wp-content/uploads/2006/09/stem1.png" alt="both stems and leafs ordered" /></center></p><p>The advantage of first setting the figures out in order of size and not simply feeding them straight from notes into a calculator (for example, to find their mean) is that the relation of each to the next can be looked at. Is there a steady progression, a noteworthy hump, a considerable gap? Simple inspection can disclose irregularities. Furthermore, a glance at the figures gives information on their range. The smallest value is 0.1 and the largest is 3.2 Î¼mol/24 h.</p><p>Hope this helps you.</p><p><script type="text/javascript" src="http://www.assoc-amazon.com/s/link-enhancer?tag=bioua-20&#038;o=1"></script></p> <noscript> <img
src="http://www.assoc-amazon.com/s/noscript?tag=bioua-20" alt="" /><br
/> </noscript><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&amp;linkname=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&amp;linkname=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&amp;linkname=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&amp;linkname=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&amp;linkname=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2006%2F09%2F14%2Fmean-standard-deviation-and-stem-and-leaf-plot.html&#038;title=Mean%2C%20standard%20deviation%2C%20and%20stem-and-leaf%20plot" data-a2a-url="https://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html" data-a2a-title="Mean, standard deviation, and stem-and-leaf plot"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>