+ Reply to Thread
Results 1 to 6 of 6

Thread: Probability question

  1. #1
    Points: 7, Level: 1
    Level completed: 13%, Points required for next Level: 43

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Probability question




    I need a probability question answering as soon as possible and i though this might be the place to come.

    There are 13 balls in a hat being randomly drawn out one at a time. There are 4 green balls, 2 red balls and 7 black balls.

    A selection of 8 balls are randomly drawn. What is the probability that 3 of the green ball are drawn in the first 8 balls AND none of the red balls.

    If you can answer this with some basic working I would REALLY appreciate it.

  2. #2
    Devorador de queso
    Points: 95,995, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,938
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Probability question

    Hi! We are glad that you posted here! This looks like a homework question though. Our homework help policy can be found here. We mainly just want to see what you have tried so far and that you have put some effort into the problem. I would also suggest checking out this thread for some guidelines on smart posting behavior that can help you get answers that are better much more quickly.
    I don't have emotions and sometimes that makes me very sad.

  3. #3
    Points: 7, Level: 1
    Level completed: 13%, Points required for next Level: 43

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Probability question

    I'm 36 and a director of my own business in the UK. I've taken a real world question and anonymised it so that people can't infer what i'm actually looking which is an issue of corruption in my business.

    I'll give it a go though...

    On drawing 1 ball the probability of it being a green ball is (4/13)*100. The probability of it NOT being a red ball is (11/13)*100.
    On drawing a 2nd ball the probability is conditional on what happened in the 1st draw so i'm guessing it's some kind of series of multiplications of these probabilities.

  4. #4
    Points: 2,109, Level: 27
    Level completed: 73%, Points required for next Level: 41
    ted00's Avatar
    Location
    USA
    Posts
    237
    Thanks
    21
    Thanked 29 Times in 25 Posts

    Re: Probability question

    this is the formula (Multivariate hypergeometric distribution)
    The mathematical explanation of a statistical procedure is really just pseudo-code, which we can make operational by translating it into real computer code. --B. Klemens

  5. #5
    Devorador de queso
    Points: 95,995, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,938
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Probability question

    The answer isn't too hard to get but the little details you told us about your actual problem make me think that the probability question you provided won't actual get at the entire question you actually have. Of course I can't know that for sure without having more information about your *actual* question though. If you can't post it publicly maybe if you sent me a PM I could make it more anonymous for you if you want and help you along from there.
    I don't have emotions and sometimes that makes me very sad.

  6. #6
    Points: 2,109, Level: 27
    Level completed: 73%, Points required for next Level: 41
    ted00's Avatar
    Location
    USA
    Posts
    237
    Thanks
    21
    Thanked 29 Times in 25 Posts

    Re: Probability question


    The probability is 0.06526807, or about 6.5%

    Pr(\text{3 green, 0 red in 8 draws})
=Pr(\text{3 green, 0 red, 5 black})
=\frac{\binom{4}{3}\binom{2}{0}\binom{7}{5}}{\binom{13}{8}}

    Without having to derive the conditional probabilities we know this is the correct formula because the multivariate hypergeometric probability function is the formula to use when sampling without replacement from more than 2 groups. R code below.



    Code: 
    # R code:
    # multivariate hypergeometric for 
    # 3 classes: green, red, black
    # caps = population total
    # small = sample
    mh = function(G,R,B,g,r,b){
    	choose(G,g)*choose(R,r)*choose(B,b)/choose(G+R+B,g+r+b)
    }
    mh(5,10,15,2,2,2) # wikipedia example -- 0.0795756
    mh(4,2,7,3,0,5) # your example -- 0.06526807
    The mathematical explanation of a statistical procedure is really just pseudo-code, which we can make operational by translating it into real computer code. --B. Klemens

+ Reply to Thread

           




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats