Click here to Skip to main content
16,016,022 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: little probability Q Pin
Zac Howland22-Aug-06 5:12
Zac Howland22-Aug-06 5:12 
GeneralRe: little probability Q Pin
Chris Losinger22-Aug-06 5:21
professionalChris Losinger22-Aug-06 5:21 
GeneralRe: little probability Q Pin
Zac Howland22-Aug-06 5:25
Zac Howland22-Aug-06 5:25 
GeneralRe: little probability Q Pin
Bassam Abdul-Baki22-Aug-06 6:57
professionalBassam Abdul-Baki22-Aug-06 6:57 
GeneralRe: little probability Q Pin
Chris Losinger22-Aug-06 7:05
professionalChris Losinger22-Aug-06 7:05 
GeneralRe: little probability Q Pin
73Zeppelin22-Aug-06 7:16
73Zeppelin22-Aug-06 7:16 
GeneralRe: little probability Q Pin
Zac Howland22-Aug-06 7:16
Zac Howland22-Aug-06 7:16 
AnswerRe: little probability Q Pin
73Zeppelin22-Aug-06 7:05
73Zeppelin22-Aug-06 7:05 
Chris Losinger wrote:
it's been a long time since i had to do this stuff, and i can't figure out how to solve what seems like it should be a simple calculation...

you have 6000 marbles in a box. 300 of them are black, the rest are white. you draw ten marbles without replacement.

what are the odds that three of the marbles you draw are black ?


Hi Chris, I think you want the hypergeometric probability distribution for this problem. This will give you the probability that in a sample of n objects drawn from a population, k will be black (no replacement).

Let:
N = 6000 be the total number of marbles <br />
n = 10   be the number of marbles drawn (your sample)<br />
B = 300  be the number of black marbles <br />
k = 3 be the number you are interested in

Then the probability of having k black marbles in a sample n of the total population N where f() is the probability, is:

f(k;N,B,n) = (B choose k) * ( (N-B) choose (n-k) ) / ( N choose n)
That is, there are N choose n total samples without replacement and B choose k ways to choose k black marbles and N-B choose n-k remaining ways to select.

Hope that helps.
GeneralRe: little probability Q Pin
Dustin Metzgar23-Aug-06 2:52
Dustin Metzgar23-Aug-06 2:52 
AnswerRe: little probability Q Pin
ricecake23-Aug-06 3:07
ricecake23-Aug-06 3:07 
AnswerRe: little probability Q Pin
Jon Sagara22-Aug-06 16:34
Jon Sagara22-Aug-06 16:34 
GeneralRe: little probability Q Pin
73Zeppelin22-Aug-06 21:08
73Zeppelin22-Aug-06 21:08 
GeneralFour Are Given Highest Honor in Mathematics Pin
Bassam Abdul-Baki22-Aug-06 3:39
professionalBassam Abdul-Baki22-Aug-06 3:39 
QuestionFourier Series Pin
Sarath C20-Aug-06 3:14
Sarath C20-Aug-06 3:14 
AnswerRe: Fourier Series [modified] Pin
Paul Conrad20-Aug-06 8:06
professionalPaul Conrad20-Aug-06 8:06 
AnswerRe: Fourier Series Pin
El Corazon20-Aug-06 8:36
El Corazon20-Aug-06 8:36 
AnswerRe: Fourier Series Pin
ekynox21-Aug-06 2:37
ekynox21-Aug-06 2:37 
GeneralRe: Fourier Series Pin
Sarath C21-Aug-06 4:40
Sarath C21-Aug-06 4:40 
GeneralRe: Fourier Series Pin
toxcct21-Aug-06 4:47
toxcct21-Aug-06 4:47 
GeneralRe: Fourier Series Pin
Sarath C21-Aug-06 5:00
Sarath C21-Aug-06 5:00 
GeneralRe: Fourier Series Pin
Sarath C21-Aug-06 5:03
Sarath C21-Aug-06 5:03 
GeneralRe: Fourier Series Pin
toxcct21-Aug-06 5:13
toxcct21-Aug-06 5:13 
GeneralRe: Fourier Series Pin
Sarath C21-Aug-06 5:20
Sarath C21-Aug-06 5:20 
GeneralRe: Fourier Series Pin
toxcct21-Aug-06 5:23
toxcct21-Aug-06 5:23 
GeneralRe: Fourier Series Pin
Paul Conrad21-Aug-06 5:31
professionalPaul Conrad21-Aug-06 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.