mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2003-08-02, 16:07   #1
fredrikj
 
Aug 2003

3 Posts
Default Probability problem, from 50 to 100

Let's hope someone here can solve this :)

Start at 50. Repeat: Subtract or add 1 depending on the outcome of throwing a 2-side die.

How many times will you likely have to throw it to reach 0 or 100?

Testing with a computer program gave an average of 2500 throws, but what's the exact number where the probability of getting 0 or 100 reaches or exceeds 1/2 (is that correctly expressed, btw)?
fredrikj is offline   Reply With Quote
Old 2003-08-02, 19:13   #2
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2×7×132 Posts
Default

Those 2-sided dice are hard to find - I usually substitute a coin flip.

2500 is correct for the average number of trials to first exceed the bounds.

There is some ambiguity in your question. Is it sufficient to have exceeded the bounds at least once, or do you want the probability of actually exceeding the bounds at the final point in time.

To clarify. consider a scenario that was at 110 on turn 600, but is at 85 on turn 1200. When we count up the probability of your event at 1200, do you want to include this because the bounds were exceeded, or do you want to exclude it because the bounds are not presently exceeded?

For the included case - the "sticky boundary" problem where ever reaching the boundary means that you have ever-afterward reached that boundary, the probabilty in 1893 turns is 0.4998 and the probability in 1894 turns is 0.5003

However, the probability is pretty high that at exactly 1894 turns things will have returned to inside the bounds - 97.7%. If you want the other problem - the point at which you can first say the probability of being outside the boundaries ON THIS TURN is greater than 50%, that answer is 21,546.

All values figured using MathCad to represent the transition matrix and playing with number of transitions.
wblipp is offline   Reply With Quote
Old 2003-08-02, 20:36   #3
fredrikj
 
Aug 2003

3 Posts
Default

Quote:
Those 2-sided dice are hard to find - I usually substitute a coin flip.
I prefer to be abstract ;)

Now to clarify: what I'm looking for is simply the mathematical explanation why 2500 is the average number of trials it takes to first exceed the bounds.
fredrikj is offline   Reply With Quote
Old 2003-08-02, 21:28   #4
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

29×41 Posts
Default

Quote:
Those 2-sided dice are hard to find - I usually substitute a coin flip.
But a coin could fall on it's edge :D
smh is offline   Reply With Quote
Old 2003-08-03, 00:14   #5
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

170148 Posts
Default

Quote:
Originally Posted by smh
But a coin could fall on it's edge :D
Use an edgeless coin. :)

Quote:
Originally Posted by fredrikj
what I'm looking for is simply the mathematical explanation why 2500 is the average number of trials it takes to first exceed the bounds.
The coin's "random walk" takes it sqrt(number of steps) away from the origin, on average.

If the bounds were -60 and +60 and you started at 0, the average number of trials would be 3600.
cheesehead is offline   Reply With Quote
Old 2003-08-03, 01:59   #6
fredrikj
 
Aug 2003

3 Posts
Default

Quote:
Originally Posted by cheesehead
Quote:
Originally Posted by fredrikj
what I'm looking for is simply the mathematical explanation why 2500 is the average number of trials it takes to first exceed the bounds.
The coin's "random walk" takes it sqrt(number of steps) away from the origin, on average.

If the bounds were -60 and +60 and you started at 0, the average number of trials would be 3600.
Ah, that makes sense. Thanks!
fredrikj is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
P-1 Factoring Probability TheMawn Math 3 2015-01-22 02:38
probability ATH Homework Help 7 2014-10-23 00:50
probability problem bsquared Math 7 2009-05-13 18:27
Probability problem mart_r Math 2 2009-04-14 17:17
What is the probability distribution for M42 ? dsouza123 Math 2 2004-06-02 02:16

All times are UTC. The time now is 17:47.


Fri Jul 16 17:47:08 UTC 2021 up 49 days, 15:34, 1 user, load averages: 2.00, 1.59, 1.52

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.