You are on page 1of 15

Manufacturing Technology (ME461)

Instructor: Shantanu Bhattacharya

Review of previous lecture


Setting up the forms for recording the data. Checklist necessary for X and R charts. Starting the control charts and plotting both the charts. Conclusions drawn from the chart. Possible relationships of a process in control to upper and lower control limit. Possible relationship of a process in control to a single specification. Milling of a slot in an aircraft terminal block.

Revision of theory of Probability


Definition: Probability is concerned with the likelihood of an event occurring. The scale of probability of an event varies from 0 to1. If an event cannot occur on a trial, then the probability of its occurrence is 0. If another event is certain to occur then its probability of occurrence is 1. As an example suppose that a trial is drawing a piece at random from some production line, and that the event in question is that the piece drawn is a defective or non conforming one. Let us suppose that the probability of a defective is 0.05. This means that 5% of the time when we draw a random piece from the line, it is defective. The complementary event is that the piece drawn is a good one. Its probability is .95. P(good or defective) = 1 Occurrence ratio Suppose that we have a production process for which the probability of a piece containing at least one minor defect is constantly 0.08. We then say that the probability is 0.08 for a minor defective. Now what happens to the observed proportion of minor defectives as we continue to sample? This observed proportion of minor defectives is what we know as the occurrence ratio.

Theory of probability Let p = constant probability of a minor defective


Where the letter p means the probability and the prime means population probability. d = no. of defectives observed n = no. of pieces inspected or tested p = d/n = sample proportion of defectives. Let us see how p = d/n behave as we sample more and more, that is, increase n? Would we not expect that the observed occurrence ratio p= d/n would tend to approach p = 0.08. We start with five samples of 10, then samples of 50. The first 2 columns are for current sample of 10 or of 50. The 3rd and the 4th column are for the total sample size and the cumulative total no. of defectives. The 5th column is based on the 3rd and 4th columns and gives the current overall proportion defectives and the occurrence ratio (total defective/ total inspected).

Sample n 10 10 10 10 D 0 1 1 1 n 10 20 30 40

Totals d 0 1 2 3

Occurrence ratio P = d/ n .0000 .0050 .0667 .0750

The proportion defective only tends to approach p =0.08. Sometimes it gets closer, sometimes it backs away from p. Before the total sample size was 100, the occurrence ratio was below .08. Between 100 and 150 it was 0.08 and thereafter above. Principle: We can say that the p= d/n is an estimate of the constant probability of population p. How close the estimate will be depends on sample size n, the value of p and also upon chance.

10
50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50

0
5 4 6 4 8 1 3 5 3 5 5 5 4 3 6 4 7 4 4

50
100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000

3
8 12 18 22 30 31 34 39 42 47 52 57 61 64 70 74 81 85 89

.0600
.0800 .0800 .0900 .0880 .1000 .0886 .0850 .0867 .0840 .0855 .0867 .0877 .0871 .0853 .0875 .0871 .0900 .0895 .0890

Probability laws
Consider again the production line producing pieces with a constant probability .08 of the piece being a minor defective, and such that each piece is independent of the other produced.

This means that the probability of the next piece being a defective is 0.08 and the piece being good is .92 irrespective of the preceding piece.
Now let us suppose that we draw a sample of two pieces and inspect them.

The outcomes are that the sample may contain 0, 1 or 2 defectives. Let us find the probabilities of this outcome or events.
For the probability of the samples containing no defectives, we must have good pieces on both draws.

Probability Laws

Probability Laws
If 2 events A and B might occur on a trial or experiment, but the occurrence of either one prevents the occurrence of the other, then events A and B are called mutually exclusive. For two such events P(A) + P (B) = P( A or B, mutually exclusive events) We have seen this in the earlier example in the 1 good case P (1 Good) = .0736 +0.0736 If one of the two events A and A is certain to occur on a trial, but both cannot simultaneously occur, then A and A are called complementary events. For any such pair of events

We have seen this in the example of a single draw where p was given as 0.08.

Laws of Probability
Two events A and B are independent if the occurrence or non occurrence of A does not affect the probability of B occuring. Whenever a process produces defectives independently, or at random, so that the probability of a defective on the next piece does not depend upon what the preceding pieces were like, then we have the case of independent events. Such a process is said to be in control, that is stable, even though some non conformity is produced. Not all processes do behave in this manner. For example: We consider the production of 3000 piston ring castings. The sample of 100 contain 25 defectives whereas the remaining 2900 only 4. This was because the defectives occur in bunches from a certain defect producing condition. Particularly in this case it was found that the castings were made from stacks of molds, and if the iron is not hot enough when poured into a stack, many castings may be defective. Under such conditions, whether a piece is good or defective does have an influence on the probability of the next one being defective. If two events A and B are independent, then we have : P(Both A and B occurring) = P(A). P(B)

As a second example of probability, let us consider drawing without replacement from a lot of N=6 speedometers, of which 1 is defective Let N = no. of pieces in one lot and D= no. of defective pieces in a lot Now consider the very simple case in which we just draw a random sample of 1 from a lot of 6. Random means that each of the six meters is equally likely to be chosen for the sample. Probability of each is 1/6. There are only two kind of meters good and defective with P(good) = 5/6 and P(defective) = 1/6. Now next consider drawing a sample of n= 2 from the lot having N =6, of which D=1 is defective. This may contain no. of defectives either d=0 or 1. This is a case of two consecutive drawings which are not independent. Take first the case of the sample yielding no defectives, that is, two good meters. We need P(2 good) = P(good, good) = P(good on first draw). P(good on 2nd draw given good on 1st draw) = 5/6. 4/5 = 2/3

Example of Dependence and Equal Likelihood

Counting samples (Permutations and combinations)


In combinations we consider for example we have n objects which we can distinguish between. Now how many distinct samples, each of one, can we draw from a lot of N=10? Obviously the answer is 10. So, we call this a combination of N objects taken 1 at a time, or in symbols : C(N,1) = N. Next consider samples of two, from say four good pieces (g1, g2, g3 and g4). Then the number of distinct unordered samples may be found from the number of distinct ordered samples. For example: for ordered samples g1g2, g2g1, g1g3, g3g1, g1g4, g4g1, g2g3, g3g2, g2g4, g4g2, g3g4, g4g3 The no. of unordered samples are only half as much , that is, six, because, for example, the one unordered pair g2g4 corresponds to two ordered pairs g2g4 and g4g2. Now let us consider lots of 10 distinct pieces. The number of possible ordered samples, each of two is 10.9, because there are 10 choices for the first piece and having made a choice their remain 9 choices for the second piece. So we have 90 ordered samples and exactly of this unordered. (45)

Counting samples (Permutations and combinations)


Now let us go to a sample of 3 from a lot of 10. The no. of distinct ordered samples is 10.9.8; 10 choices for the first, 9 choices for the second and 8 choices for the third. But now six of this ordered samples correspond to just one unordered sample. For example: g1g4g6, g1g6g4, g4g1g6, g4g6g1, g6g1g4, g6g4g1 all correspond to g1g4g6 unordered sample. Hence the number of distinct or unordered samples or combinations is 10.9.8/6 = 120

Ordered samples are also called permutations and they are calculated by the general formulae P(n,r) = n! / (n-r)! In the earlier case P(10,3) = 10!/ 7! = 10.9.8 = 720
We call the number of distinct unordered samples a combination and is given by the genera formulae C(n,r) = n!/ r! (n-r)! In earlier case this would be = 10!/ 3!. 7! = 10.9.8/ 3.2.1 = 120.

Counted data: Defects and defectives


Inspecting or testing n pieces , we may search for defects or non conformances in the n pieces and record the total number of such defects. This is measuring quality by a count of defects.
In inspecting or testing n pieces, we may consider whether each of n pieces does contain any defects. Each piece having one or more defects is called a defective. This measure is known as the count of defectives. We shall consistently use the following symbols here and in later discussions: n = number of units in a sample. d = number of defective units in the sample of n units. p = d/n= sample of fraction defective = proportion of defective units in the sample. q= 1-p = sample fraction good d= np = no. of defective units in the sample.

Binomial distribution for defectives:


Suppose we had a process with population fraction defective of p = .10. For a sample size of 4 there could be

Either 0, 1, 2, 3 or 4 defectives can exist.

Binomial distribution for defectives


First find the probability of drawing a sample with all pieces good.
So for P(d=0) = P(4 good) = [P(good)]4 = (0.9)4 = .6561 Thus about 2/3 of the time, we draw a sample of n=4 pieces from the process, all four will be good ones. Now next we seek P (3 good, 1 defective) . P (3 good, 1 defective) = P(g,g,g,d) + P(g,g,d,g) + P (g,d,g,g) + P (d,g,g,g) = (.9)(.9)(.9)(.1) + (.9) (.9)(.1)(.9) + (.9) (.1)(.9)(.9) + (.1) (.9)(.9)(.9) = 4(.9)^3 (.1) = .2916. Next consider samples with d=2; they have two defectives and two good ones. How many distinct orders are there for such samples? Six: ggdd. gdgd, gddg, dgdg, ddgg, dggd, the probability for each one of these sample outcomes is (0.9)2(0.1)2 . P(d=2) = 6 (0.9)2(0.1)2 = .0486 Similarly for d=3 there are only 4 orders of sampling results P(d=3) = 4 (0.9)2(0.1)2 =.0036 Finally for d =4, all four must be defective P(d=4) = .0001

Binomial distribution for Defectives


The sum of all the 4 outcomes are 1. We can also represent the various coefficients viz, 4,6,4 of the products of the powers of .9 and .1 as C(4,1) =4, C(4,2) = 6, C(4,3)= 4 respectively. This reasoning enables us to write all the four probabilities in 1 formulae P(d) = C(4,d) (0.9)4-d(0.1)d This is also a representative of the dth term of a Binomial distribution of n =4 and the p =0.9 and q= 0.1. d P(d) P= d/n In general 0 .6561 .00 P(d) = C(n,d) (p)n-d(q)d 1 .2916 .25 2 3 4 Total .0486 .0036 .0001 1.0000 .50 .75 1.00

You might also like