Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > High School Math Help > Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2008, 12:05 AM
Member
 
Join Date: Apr 2008
Posts: 56
Country:
Thanks: 3
Thanked 0 Times in 0 Posts
ccdelia7 is on a distinguished road
Smile Negative Binomial Distribution

2. Experience tells you that 5% of pumps (of a given make and model) are defective. Use the negative binomial distribution to answer the questions below.

a. What is the probability that the next pump you order is good (has no defects)? [You don’t need the negative binomial for this part.]
5 out of 100 times, the pump you will buy is defective, so, by this trend, the remaining 95 times out of 100 (on average), your pump should be fully functional. In other words, you have a 95% chance of purchasing a “good” pump.
b. What is the probability of having to order 5 pumps to get 5 good ones? I know it's .774, but how do I show this using negative binomial distribution?

c. What is the probability of having to order 6 pumps to get 5 good ones?
d. What is the probability of having to order 7 pumps to get 5 good ones?
e. How many pumps should you order to have at least a 95% chance of getting 5 good ones?
f. How many pumps should you order to have at least a 99% chance of getting 5 good ones?
Reply With Quote
Advertisement
 
  #2  
Old 11-19-2008, 02:40 AM
mr fantastic's Avatar
Flow Master
 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 7,025
Country:
Thanks: 1,261
Thanked 2,746 Times in 2,462 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by ccdelia7 View Post
2. Experience tells you that 5% of pumps (of a given make and model) are defective. Use the negative binomial distribution to answer the questions below.

a. What is the probability that the next pump you order is good (has no defects)? [You don’t need the negative binomial for this part.]
5 out of 100 times, the pump you will buy is defective, so, by this trend, the remaining 95 times out of 100 (on average), your pump should be fully functional. In other words, you have a 95% chance of purchasing a “good” pump.
b. What is the probability of having to order 5 pumps to get 5 good ones? I know it's .774, but how do I show this using negative binomial distribution?

c. What is the probability of having to order 6 pumps to get 5 good ones?
d. What is the probability of having to order 7 pumps to get 5 good ones?
e. How many pumps should you order to have at least a 95% chance of getting 5 good ones?
f. How many pumps should you order to have at least a 99% chance of getting 5 good ones?
Let X be the random variable number of trials before r successes.

\Pr(X = x) = {x - 1\choose r - 1} p^r (1 - p)^{x-r} = {x - 1\choose r - 1} (0.95)^r (0.05)^{x-r}.

b. Substitute r = 5 and x = 5.

c. Substitute r = 5 and x = 6.

d. Substitute r = 5 and x = 7.

e. and f. require the binomial distribution:

Let Y be the random variable number of good pumps in n orders

Y ~ Binomial(n, p = 0.95).

\Pr(Y = y) = {n \choose y} p^y (1 - p)^{n-y} \Rightarrow \Pr(Y = 5) = {n \choose 5} (0.95)^5 (0.05)^{n-5}.

e. Solve {n \choose 5} (0.95)^5 (0.05)^{n-5} = 0.95 for the smallest positive integer value of n (I suggest either trial and error or technology).

f. Solve {n \choose 5} (0.95)^5 (0.05)^{n-5} = 0.99 for the smallest positive integer value of n (I suggest either trial and error or technology).

And there's no answer. Perhaps the question was meant to be "How many pumps should you order to have at least a 95% chance of getting at least 5 good ones?"
__________________
1. There are two things you should never try to prove ...... the impossible and the obvious.

2. If you always do what you've always done, you'll always get what you've always got.

3. Lack of planning on your part does not constitute an emergency on my part.

4. Pressure makes diamonds.

Last edited by mr fantastic; 11-19-2008 at 04:01 AM. Reason: Error correction from mistakes in editing of cut and pastes. Fixed error in e. and f.
Reply With Quote
  #3  
Old 11-19-2008, 03:27 AM
Member
 
Join Date: Apr 2008
Posts: 56
Country:
Thanks: 3
Thanked 0 Times in 0 Posts
ccdelia7 is on a distinguished road
Default

In parts c and d, aren't "4 choose 5" and "4 choose 6" equal to zero?
Reply With Quote
  #4  
Old 11-19-2008, 03:34 AM
mr fantastic's Avatar
Flow Master
 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 7,025
Country:
Thanks: 1,261
Thanked 2,746 Times in 2,462 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by ccdelia7 View Post
In parts c and d, aren't "4 choose 5" and "4 choose 6" equal to zero?
I made some mistakes in my editing of the cut and pastes I did. These mistakes have been fixed.
__________________
1. There are two things you should never try to prove ...... the impossible and the obvious.

2. If you always do what you've always done, you'll always get what you've always got.

3. Lack of planning on your part does not constitute an emergency on my part.

4. Pressure makes diamonds.
Reply With Quote
The following users thank mr fantastic for this useful post:
Donate to MHF
  #5  
Old 11-19-2008, 04:12 AM
Member
 
Join Date: Apr 2008
Posts: 56
Country:
Thanks: 3
Thanked 0 Times in 0 Posts
ccdelia7 is on a distinguished road
Default

Are you sure the equations for e and f are accurate? Using the two equations, we would have to buy less than 5 pumps to satisfy the equations themselves.
Reply With Quote
  #6  
Old 11-19-2008, 04:22 AM
mr fantastic's Avatar
Flow Master
 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 7,025
Country:
Thanks: 1,261
Thanked 2,746 Times in 2,462 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by ccdelia7 View Post
Are you sure the equations for e and f are accurate? Using the two equations, we would have to buy less than 5 pumps to satisfy the equations themselves.
Like I said, there's no answer if you require exactly 5 good pumps.

The questions are probably meant to be:

e. How many pumps should you order to have at least a 95% chance of getting at least 5 good ones?

f. How many pumps should you order to have at least a 99% chance of getting at least 5 good ones?

In which case:

e. You need to solve (using technology) \Pr(Y \leq 4) \leq 0.05 for the smallest positive integer value of n. I get n = 6.

f. You need to solve (using technology) \Pr(Y \leq 4) \leq 0.01 for the smallest positive integer value of n. I get n = 7.
__________________
1. There are two things you should never try to prove ...... the impossible and the obvious.

2. If you always do what you've always done, you'll always get what you've always got.

3. Lack of planning on your part does not constitute an emergency on my part.

4. Pressure makes diamonds.
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2008 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.