<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ACM 116: Stochastic Processes</title>
	<atom:link href="http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/</link>
	<description>somewhere near the beginning.</description>
	<pubDate>Mon, 01 Dec 2008 20:55:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: AnonEcon</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64876</link>
		<dc:creator>AnonEcon</dc:creator>
		<pubDate>Sat, 14 Oct 2006 05:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64876</guid>
		<description>After your hint I shamelessly formula-mined Knuth's &lt;i&gt;Fundamental Algorithms&lt;/i&gt; to find

sum_{k=1}^{N}{1/k} \approx ln(N) \plus \gamma

where \gamma is Euler's constant: 0.5772156649...

Playing around with that a bit I got

sum_{k=1}^{N}{1/(2k-1)} \approx 
(1/2) ln(N) \plus ln(2) \plus \gamma/2

Even for N as low as 10 the error in this approximation is less than one part in a thousand.</description>
		<content:encoded><![CDATA[<p>After your hint I shamelessly formula-mined Knuth&#8217;s <i>Fundamental Algorithms</i> to find</p>
<p>sum_{k=1}^{N}{1/k} \approx ln(N) \plus \gamma</p>
<p>where \gamma is Euler&#8217;s constant: 0.5772156649&#8230;</p>
<p>Playing around with that a bit I got</p>
<p>sum_{k=1}^{N}{1/(2k-1)} \approx<br />
(1/2) ln(N) \plus ln(2) \plus \gamma/2</p>
<p>Even for N as low as 10 the error in this approximation is less than one part in a thousand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64800</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 13 Oct 2006 16:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64800</guid>
		<description>That's isomorphic to the method I used. As for simplification, for some reason, the prof said that the answer is proportional to ln N as N gets large, but I don't see that from the result.</description>
		<content:encoded><![CDATA[<p>That&#8217;s isomorphic to the method I used. As for simplification, for some reason, the prof said that the answer is proportional to ln N as N gets large, but I don&#8217;t see that from the result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnonEcon</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64559</link>
		<dc:creator>AnonEcon</dc:creator>
		<pubDate>Thu, 12 Oct 2006 11:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64559</guid>
		<description>Hey, Wordpress has eaten up all my plus signs. It should have been
r(k) = p_k[1 \plus r(k-1)] \plus (1-p_k)[r(k-1)]
or r(k) = p_k \plus r(k-1)
or r(k)-r(k-1) = p_k =1/(2k-1)</description>
		<content:encoded><![CDATA[<p>Hey, Wordpress has eaten up all my plus signs. It should have been<br />
r(k) = p_k[1 \plus r(k-1)] \plus (1-p_k)[r(k-1)]<br />
or r(k) = p_k \plus r(k-1)<br />
or r(k)-r(k-1) = p_k =1/(2k-1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnonEcon</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64541</link>
		<dc:creator>AnonEcon</dc:creator>
		<pubDate>Thu, 12 Oct 2006 08:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64541</guid>
		<description>Let r(k) be the expected number of loops if you begin with k ropes. If you pick two ends at random from k ropes the probability of getting both ends from the same rope is p_k=1/(2k-1). If you do form the loop you have 1 loop and k-1 ropes from which we can expect r(k-1) more loops and otherwise we have k-1 ropes from which we can expect r(k-1) loops. So, we have the recursion:

          r(k) = p_k[1 r(k-1)] (1-p_k)[r(k-1)]
or        r(k) = p_k r(k-1) 
or r(k)-r(k-1) = p_k =1/(2k-1)

We also know that r(1)=1. From this we get the answer by summing.

What method did you use? I was wondering if the result can be further simplified?</description>
		<content:encoded><![CDATA[<p>Let r(k) be the expected number of loops if you begin with k ropes. If you pick two ends at random from k ropes the probability of getting both ends from the same rope is p_k=1/(2k-1). If you do form the loop you have 1 loop and k-1 ropes from which we can expect r(k-1) more loops and otherwise we have k-1 ropes from which we can expect r(k-1) loops. So, we have the recursion:</p>
<p>          r(k) = p_k[1 r(k-1)] (1-p_k)[r(k-1)]<br />
or        r(k) = p_k r(k-1)<br />
or r(k)-r(k-1) = p_k =1/(2k-1)</p>
<p>We also know that r(1)=1. From this we get the answer by summing.</p>
<p>What method did you use? I was wondering if the result can be further simplified?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64521</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 12 Oct 2006 06:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64521</guid>
		<description>I didn't write down the soln in class, so I could attempt recalculating it myself. I just did it, and got the same as you... so we're both right or both wrong :) what method did you use?</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t write down the soln in class, so I could attempt recalculating it myself. I just did it, and got the same as you&#8230; so we&#8217;re both right or both wrong <img src='http://www.tangentspace.net/cz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> what method did you use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnonEcon</title>
		<link>http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes/#comment-64508</link>
		<dc:creator>AnonEcon</dc:creator>
		<pubDate>Thu, 12 Oct 2006 02:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.tangentspace.net/cz/archives/2006/10/acm-116-stochastic-processes#comment-64508</guid>
		<description>Is it

sum_{k=1}^{k=N}{1/(2k-1)}</description>
		<content:encoded><![CDATA[<p>Is it</p>
<p>sum_{k=1}^{k=N}{1/(2k-1)}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
