Z-score and Negative Binomial

In summary, the first problem requires finding the minimum sample size n in order to have a probability of at least 0.99 for a random sample from a normal distribution. The answer is n = 10. For the second problem, the probability that an improperly adjusted machine will produce five or more items before being stopped can be calculated using the negative binomial formula. The average number of items produced by an improperly adjusted machine before being stopped can be found using the expected value formula for a negative binomial distribution. The answer is 17.33 items.
  • #1
squaremeplz
124
0

Homework Statement



1. Let Y_1, Y_2, ... Y_n be a random sample from a normal distribution with mean = 2 and variance = 4. How large must n be in order that

P(1.9 <= Y <= 2.1) >= 0.99

(there is a bar _ above the Y in the problem.)

2. When a machine is improperly adjusted, it has a probability of .15 of producing a defective item. Each day the machine is run until three defective items are produced. If this occurs, it is stopped and checked for adjustment. What is the probability that an improperly adjusted machine will produce five or more items before being stopped? What is the average number of items an improperly adjusted machine will produce before being stopped.


Homework Equations



1. (Y - mean)/[(s.d.)/sqrt(n)]

2. Negative binomial formula:

p_x(k) = (k-1, r-1) * p^r * (1-p)^(k-r), k = r, r+1, ...

(k-1, r-1) is a binomial.

The Attempt at a Solution



1. I got:

P( (1.9-2) / (4 / sqrt(n) ) <= (Y - 2) / ( 4 / sqrt (n) ) <= (2.1 - 2) / ( 4 / sqrt (n) ) ) >= .99

p(-sqrt(n) * .1/4 <= Z <= sqrt(n) * .1/4) >= .99

At this point I checked the table for cumulative areas under the standard distribution and got

2.4 = sqrt(n) * (.1/4)

n = 10?

2. I don't know how to set this one up...

p = .15 that an improperly adjusted machine will produce a defective item.

and we want P( X >= 5)

or

P( X >= 5) = 1 - P( 2 defects out of the first 3 made and the 3rd defective one on the 4th)

that is,

P(X >= 5) = 1 - P( X < 5)

then r = 3 and k = 3,4,5,6

P(X >= 5) 1 - [ (sum from k=3 to 6) (k-1, 2) * (.15)^3 * (.85)^(k-3)]

I know k has to start at 3, but what's the limit of k here, 4 trials? Any input is greatly appreciated.
 
Last edited:
Physics news on Phys.org
  • #2


Hello,

For the first problem, you have correctly set up the equation and solved for n. Your answer of n = 10 is correct.

For the second problem, you are on the right track. The limit of k would be 4, since that is the number of trials it takes to produce 3 defective items. So your final equation would be:

P(X >= 5) = 1 - [ (sum from k=3 to 4) (k-1, 2) * (.15)^3 * (.85)^(k-3)]

To find the average number of items an improperly adjusted machine will produce before being stopped, you can use the formula for the expected value of a negative binomial distribution:

E(X) = r * (1-p)/p

Plugging in the given values, we get:

E(X) = 3 * (1-.15)/.15 = 17.33 items

I hope this helps! If you have any further questions, please let me know.
 

1. What is a Z-score?

A Z-score, also known as a standard score, is a statistical measurement that indicates how many standard deviations a data point is above or below the mean of a data set. It is calculated by taking the difference between a data point and the mean, and then dividing that difference by the standard deviation.

2. Why is the Z-score important?

The Z-score is important because it helps to standardize data and allows for comparison between different data sets. It also allows us to determine the relative position of a data point within a data set, and to identify outliers or extreme values.

3. What is a Negative Binomial distribution?

A Negative Binomial distribution is a probability distribution that is used to model the number of successes in a series of independent trials, where each trial has a binary outcome (success or failure). It is often used in situations where the number of trials needed to achieve a certain number of successes is unknown.

4. How is the Negative Binomial distribution related to the Z-score?

The Negative Binomial distribution can be used to calculate the probability of a certain number of successes in a series of trials. The Z-score, on the other hand, can be used to determine the likelihood of a data point falling within a certain range of values. They are not directly related, but both are useful in statistical analysis.

5. When should a Negative Binomial distribution be used?

A Negative Binomial distribution should be used when the number of trials needed to achieve a certain number of successes is unknown, and when the probability of success is constant for each trial. It is commonly used in fields such as epidemiology, biology, and economics to model the occurrence of events over time.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
766
  • Calculus and Beyond Homework Help
Replies
10
Views
457
Replies
12
Views
395
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
878
  • Calculus and Beyond Homework Help
Replies
15
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
283
  • Calculus and Beyond Homework Help
Replies
3
Views
822
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
518
Back
Top