Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A class has 70% females and 30% males. Students are selected at random, what is the probability that 7 students have to be selected before 2 males can be obtained?

Is this binomial distribution? Or not?

share|cite|improve this question
Either we know the size of the class, or we have to assume students can be picked twice. Which is it? Also, we need to know the precise meaning of "before 2 males can be obtained". – Jack M Apr 24 '13 at 22:21
The question says to assume a really big class. Sorry if my wording was a bit too opaque. The actual word for word question is 'We select students at random, one at a time. What is the probability that we need to select 7 students in order to obtain 2 males?' – tuba09 Apr 24 '13 at 22:24
up vote 1 down vote accepted

Assuming the students are selected with replacement, i.e., every draw is independent, then the total sample size required to obtain a fixed number of failures (k = 2 males - no pun intended) is the sum of k and X, where X follows a negative binomial distribution.

This distribution has two parameter, the number of failures to observe (2) and the succes rate in each trial (70%).


share|cite|improve this answer
Thanks! Makes sense I suppose. Would you mind helping me with another similar one? It states that 'We select 5 students at random. What is the probability that we will have exactly 2 females in the sample? Assume the class size is 40 students.' I know that the distribution that should be used for this question is hypergeometric, but I don't know why. How come I can't use a regular binomial distribution here? – tuba09 Apr 24 '13 at 22:35
@tuba09, you could use the binomial if the sample was to be taken with replacement, to make each sample independent from the others. Sampling without replacement leads to a hypergeometric distribution for the number of successes. – Ferdinand.kraft Apr 24 '13 at 22:39
Given that you know the size of the class, you should consider extending the answer I gave for the Negative Hypergeometric Distribution. It is the analogue of the negative binomial for a finite population (i.e. sampling without replacement). – Ferdinand.kraft Apr 24 '13 at 22:45
Alright, I think I get it now. Thank you for the prompt response. – tuba09 Apr 24 '13 at 22:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.