# Thread: probability distribution

1. ## probability distribution

Suppose there are 1 million parts which have 1% defective parts i.e 1 million parts have 10000 defective parts. Now suppose we are taking different sample sizes from 1 million like 10%, 30%, 50%, 70%, 90% of 1 million parts and we need to calculate the probability of finding maximum 5000 defective parts from these sample sizes. As 1 million parts has 1% defective parts so value of success p is 0.01 and failure q is 0.99. Now suppose we are adding 100,000 parts in one million parts which makes total 1,000,000 parts but this newly added 100,000 parts do not have any defective parts. So now what will be the value of success p in total 1,000,000 parts to find 5000 defective parts? plz also give justification for choosing value of p?

2. ## Re: probability distribution

Hey irum.

If you are looking at the distribution of a maximum, then have you considered the order statistic?

3. ## Re: probability distribution

Originally Posted by chiro
Hey irum.

If you are looking at the distribution of a maximum, then have you considered the order statistic?
sorry i couldn't understand your question and yes I am looking for probability of finding at most 5000 defective parts in 1,100,000 parts

4. ## Re: probability distribution

The order statistic looks at a range of distribution including the maximum of a sample:

Order statistic - Wikipedia, the free encyclopedia

5. ## Re: probability distribution

Originally Posted by chiro
The order statistic looks at a range of distribution including the maximum of a sample:

Order statistic - Wikipedia, the free encyclopedia
you are talking about cumulative distribution function? yes I am using it for finding maximum 5000 defective parts but my question was what will be the value of success p in this scenario?

6. ## Re: probability distribution

Once you have the distribution and the region you simply calculate P(A < X < B) for some distribution X and some interval [A,B]

7. ## Re: probability distribution

u r not getting my point. I just want to ask value of p for calculating distribution.

8. ## Re: probability distribution

If all parts are independent of each other, then you just treat the new values as an independent random samples.

In independence, you have P(A|B) = P(A) which is what the above means mathematically.

Also if everything is an I.I.D. sample then it means that if you have x defects and y successes then the probability of defects will be x/(x+y) and if you are using a Normal distribution assumption then x/(x+y) will be in both tails.