<?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>Statistics, R, Graphics and Fun &#187; Empirical Distribution</title>
	<atom:link href="http://yihui.name/en/tag/empirical-distribution/feed/" rel="self" type="application/rss+xml" />
	<link>http://yihui.name/en</link>
	<description>Yihui XIE</description>
	<lastBuildDate>Thu, 26 Aug 2010 03:32:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Dirt in the Mouse &amp; Glivenko-Cantelli Theorem</title>
		<link>http://yihui.name/en/2008/06/dirt-in-the-mouse-glivenko-cantelli-theorem/</link>
		<comments>http://yihui.name/en/2008/06/dirt-in-the-mouse-glivenko-cantelli-theorem/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 08:02:30 +0000</pubDate>
		<dc:creator>Yihui Xie</dc:creator>
				<category><![CDATA[Theories]]></category>
		<category><![CDATA[Convergence]]></category>
		<category><![CDATA[Empirical Distribution]]></category>
		<category><![CDATA[Glivenko-Cantelli Theorem]]></category>
		<category><![CDATA[Mouse]]></category>

		<guid isPermaLink="false">http://yihui.name/en/?p=46</guid>
		<description><![CDATA[There was something wrong with the wheel of my mouse these days: it could not control the scrolling of a page very well. Today I found a screwdriver and opened the mouse. Then I knew the reason: there was a lot of dirt beneath the cover! However, obviously the dirt would not follow a B(n, [...]]]></description>
			<content:encoded><![CDATA[<p>There was something wrong with the wheel of my mouse these days: it could not control the scrolling of a page very well. Today I found a screwdriver and opened the mouse. Then I knew the reason: there was a lot of dirt beneath the cover!</p>
<p>However, obviously the dirt would not follow a <code>B(n, p = 0.5)</code> distribution. The two proportions of the dirt in front and back of the wheel were not equal &#8212; there was much more dirt in the back. Why?</p>
<blockquote><p>The <a title="http://en.wikipedia.org/wiki/Glivenko-Cantelli_theorem" href="http://en.wikipedia.org/wiki/Glivenko-Cantelli_theorem" target="_blank">Glivenko-Cantelli Theorem</a> tells us that the empirical distribution converges to the true distribution almost surely.</p></blockquote>
<p>So what? The proportions of the dirt has revealed my habit of using the mouse, as I have used it for too many times. What I usually do is to scroll <em>down</em> a page, and rarely will I scroll <em>up</em> &#8212; that is the real distribution, and the dirt in the mouse has recorded the empirical distribution day by day. If I am serious enough, I can get the numbers of the weight and estimate the parameter <em>p</em> in the Binomial distribution. (Perhaps <a title="http://bojan.3e.pl/weblog" href="http://bojan.3e.pl/weblog" target="_blank">Michal</a> will again suggest me do this. <img src='http://yihui.name/en/wp-content/plugins/tango-smilies/tango/face-smile-big.png' alt=':grin:' class='wp-smiley' />  )</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://yihui.name/en/2008/10/dynamically-selecting-points-using-r/" title="Dynamically Selecting Points Using R">Dynamically Selecting Points Using R</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yihui.name/en/2008/06/dirt-in-the-mouse-glivenko-cantelli-theorem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
