Two Plus Two Newer Archives  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2007, 06:53 AM
alphatmw alphatmw is offline
Senior Member
 
Join Date: Jun 2005
Posts: 2,348
Default need a probability formula

there are X marbles in a bowl. Y number of them are red. if i pick out Z marbles, what is the probability i will have at least 1 red marble? at least 2? what about exactly 1 or 2?
Reply With Quote
  #2  
Old 01-06-2007, 10:33 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: need a probability formula

For the probability you have at least 1 red marble it is best that you take the complement for when you select no red marbles .

P(r=0) = c(x-y,z)/c(x,z)
p(r=1)+p(r=2)+...+P(r=y)= 1-P(r=0) = 1-c(x-y,z)/c(x,z)

b)Since we know p(r=0) , we need to figure out p(r=1) .
c(y,1)c(x-y,z-1)/c(x,z).
So now take 1-p(r=0)-p(r=1) to get your answer .

c) Just add p(r=0)+p(r=1) since these probabilities are independent .
Reply With Quote
  #3  
Old 01-06-2007, 11:40 AM
PairTheBoard PairTheBoard is offline
Senior Member
 
Join Date: Dec 2003
Posts: 3,460
Default Re: need a probability formula

[ QUOTE ]
For the probability you have at least 1 red marble it is best that you take the complement for when you select no red marbles .

P(r=0) = c(x-y,z)/c(x,z)
p(r=1)+p(r=2)+...+P(r=y)= 1-P(r=0) = 1-c(x-y,z)/c(x,z)

b)Since we know p(r=0) , we need to figure out p(r=1) .
c(y,1)c(x-y,z-1)/c(x,z).
So now take 1-p(r=0)-p(r=1) to get your answer .

c) Just add p(r=0)+p(r=1) since these Events are mutually exlusive .

[/ QUOTE ]

FYP

PairTheBoard
Reply With Quote
  #4  
Old 01-06-2007, 12:17 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: need a probability formula

Yup mutually exclusive, that's what I meant to say :P
Reply With Quote
  #5  
Old 01-06-2007, 08:54 PM
alphatmw alphatmw is offline
Senior Member
 
Join Date: Jun 2005
Posts: 2,348
Default Re: need a probability formula

could you explain the meaning of this:

c(x-y,z)/c(x,z)

thanks.
Reply With Quote
  #6  
Old 01-06-2007, 09:27 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: need a probability formula

Here is an example .

If you want to know the number of ways of selecting 3 kids from 10 , the total number of ways this can occur is c(10,3) .If you care about the order in which you select them , then it is p(10,3) . Since in your example , we don't care about the specific order in which you select marbles so we use the C notation . In general C(x,z) is the number of ways of selecting z marbles from a bowl containing x . We must specify that x>=n for this to make any sense .

Since there are y red marbles in a bowl containing x marbles in total , it must be true that there are x-y non red marbles . We must select z from x-y non red marbles, this is just C(x-y,z) . The denominator , which is the total number of ways of selecting z from x marbles is c(x,z) . The next step is to divide the number of favorable cases over the total number of cases .
Reply With Quote
  #7  
Old 01-08-2007, 12:54 AM
RonMexico RonMexico is offline
Senior Member
 
Join Date: Feb 2006
Posts: 187
Default Re: need a probability formula

FWIW, your computational time could be avoided in most cases if you use some binomial probability tables (assuming you know how to use them after reading the previous posts).
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 12:58 AM.


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