Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2004, 09:46 PM
1p0kerb0y 1p0kerb0y is offline
Member
 
Join Date: Nov 2003
Location: DeLand, Florida
Posts: 49
Default Help With Math Please

I was curious for a problem I am doing. I'm seeking either a mathematical equation or perhaps an online program that will help me to do a problem. Here it goes:

I have 13 cards, all hearts. The odds that I will draw the ace of hearts out is 1/13. If I shuffle and pick a card, and then repeat that process 13 times, the odds are that I will pick the ace out 1 time.

Is there a program or a calulation that will run random runs to show the variance associated with this promblem? For instance, maybe half of the time I pull the ace out once, 25% of the time I pull it out twice or not at all, etc.

Thanks to anyone who can help me.
Reply With Quote
  #2  
Old 09-20-2004, 10:05 PM
Neil Stevens Neil Stevens is offline
Senior Member
 
Join Date: Sep 2004
Location: Southern California
Posts: 443
Default Re: Help With Math Please

Probability of pulling an ace exactly once out of 13 tries:

(1/13)^1 * (12/13)^12 * 13 = 38%

(chance of getting the ace once) * (chance of getting non-ace 12 times) * (number of ways to pull once ace)

Probability of pulling an ace exactly twice:

(1/13)^2 * (12/13)^11 * 78 = 19%

Probability of pulling no aces:

(12/13)^13 = 35%

Hope this helps (and I hope I made no errors!)
Reply With Quote
  #3  
Old 09-20-2004, 10:22 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Help With Math Please

[ QUOTE ]
I was curious for a problem I am doing. I'm seeking either a mathematical equation or perhaps an online program that will help me to do a problem. Here it goes:

I have 13 cards, all hearts. The odds that I will draw the ace of hearts out is 1/13. If I shuffle and pick a card, and then repeat that process 13 times, the odds are that I will pick the ace out 1 time.

Is there a program or a calulation that will run random runs to show the variance associated with this promblem? For instance, maybe half of the time I pull the ace out once, 25% of the time I pull it out twice or not at all, etc.

Thanks to anyone who can help me.

[/ QUOTE ]

This is just the binomial distribution. The probability of pulling the ace exactly N times is:

P(N) = C(13,N)*(1/13)^N*(12/13)^(13-N)

Sum this to get the cumulative distribution P(>=N) or P(<=N).

In Excel, P(N) =BINOMDIST(N,13,1/13,FALSE)

Change FALSE to TRUE for the cumulative.

The actual variance of the distribution is 13*(1/13)*(12/13) = 12/13.

<font class="small">Code:</font><hr /><pre>
N P(N) P(&lt;=N)

0 35.33% 35.33%
1 38.27% 73.60%
2 19.13% 92.73%
3 5.85% 98.58%
4 1.22% 99.80%
5 0.18% 99.98%
6 0.02% 100.00%
7 0.00% 100.00%
8 0.00% 100.00%
9 0.00% 100.00%
10 0.00% 100.00%
11 0.00% 100.00%
12 0.00% 100.00%
13 0.00% 100.00%
</pre><hr />
Reply With Quote
  #4  
Old 09-20-2004, 10:24 PM
Neil Stevens Neil Stevens is offline
Senior Member
 
Join Date: Sep 2004
Location: Southern California
Posts: 443
Default Re: Help With Math Please

Glad to see my numbers confirmed :-)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.