1 / 382

IE341: Introduction to Design of Experiments

IE341: Introduction to Design of Experiments. Single factor ANOVAs with more than 2 levels 7 Completely randomized designs 12 Fixed effects models 14

barid
Download Presentation

IE341: Introduction to Design of Experiments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IE341: Introduction to Design of Experiments

  2. Single factor ANOVAs with more than 2 levels 7 Completely randomized designs 12 Fixed effects models 14 Decomposition of total sum of squares 18 ANOVA table 24 Testing model adequacy 31 Multiple comparison methods 38 Random effects model 48 Repeated measures design 53 Randomized complete blocks design 59 Latin Square 69 Graeco Latin Square 74 Regression approach to ANOVA 78 Factorial designs 86 Regression model version 98 2-factor experiments 110 3-factor experiments 122 Tests for quadratic effects 133 Blocking 144 2k factorial designs 150 Single replicate designs 165 Addition of center points 177 Fractional factorials 189 Design resolution 196 Complementary ½ fractions 208 ¼ fractions 217 Taguchi approach to experimentation 225 Random Effects model 236 Mixed models 251 ANCOVA 258 Nested designs 270 2-stage nested designs 271 3- stage and m-stage nested designs 281 Split-plot designs 287 Split-split-plot designs 299 Transformations 307 Log transformation of standard deviations 307 Logic transformations of odds ratios 313 Kruskal-Wallis rank transformation 316 Response Surface Methodology 322 First order 327 Second order and CCD 342 Canonical analysis 353 Response Surface designs 360 Central Composite Design (CCD) 363 Box-Behnken Designs 365 Mixture Experiments 368 Simplex designs 372 Table of Contents

  3. Last term we talked about testing the difference between two independent means. For means from a normal population, the test statistic is where the denominator is the estimated standard deviation of the difference between two independent means. This denominator represents the random variation to be expected with two different samples. Only if the difference between the sample means is much greater than the expected random variation do we declare the means different.

  4. We also covered the case where the two means are not independent, and what we must do to account for the fact that they are dependent.

  5. And finally, we talked about the difference between two variances, where we used the F ratio. The Fdistribution is a ratio of two chi-square variables. So if s21 and s22 possess independent chi-square distributions with v1 and v2 df, respectively, then has the Fdistribution with v1 and v2 df.

  6. All of this is valuable if we are testing only two means. But what if we want to test to see if there is a difference among three means, or four, or ten? What if we want to know whether fertilizer A or fertilizer B or fertilizer C is best? In this case, fertilizer is called a factor, which is the condition under test. A, B, C, the three types of fertilizer under test, are called levels of the factor fertilizer. Or what if we want to know if treatment A or treatment B or treatment C or treatment D is best? In this case, treatment is called a factor. A,B,C,D, the four types of treatment under test, are called levels of the factor treatment. It should be noted that the factor may be quantitative or qualitative.

  7. Enter the analysis of variance! ANOVA, as it is usually called, is a way to test the differences between means in such situations. Previously, we tested single-factor experiments with only two treatment levels. These experiments are called single-factor because there is only one factor under test. Single-factor experiments are more commonly called one-way experiments. Now we move to single-factor experiments with more than two treatment levels.

  8. Let’s start with some notation. Yij = ith observation in the jth level N = total number of experimental observations = the grand mean of all N experimental observations = the mean of the observations in the jth level nj = number of observations in the jth level; the nj are called replicates. Replication of the design refers to using more than one experimental unit for each level.

  9. If there are the same number n replicates for each treatment, the design is said to be balanced. Designs are more powerful if they are balanced, but balance is not always possible. Suppose you are doing an experiment and the equipment breaks down on one of the tests. Now, not by design but by circumstance, you have unequal numbers of replicates for the levels. In all the formulas, we used nj as the number of replicates in treatment j, notn, so there is no problem.

  10. Notation continued = the effect of the jth level J = number of treatment levels eij = the “error” associated with the ith observation in the jth level, assumed to be independent normally distributed random variables with mean = 0 and variance = σ2, which are constant for all levels of the factor.

  11. For all experiments, randomization is critical. So to draw any conclusions from the experiment, we must require that the treatments be run in random order. We must also assign the experimental units to the treatments randomly. If all this randomization occurs, the design is called a completely randomized design.

  12. ANOVA begins with a linear statistical model

  13. This model is for a one-way or single-factor ANOVA. The goal of the model is to test hypotheses about the treatment effects and to estimate them. If the treatments have been selected by the experimenter, the model is called a fixed-effects model. For fixed-effects models, we are interested in differences between treatment means. In this case, the conclusions will apply only to the treatments under consideration.

  14. Another type of model is the random effects model or components of variance model. In this situation, the treatments used are a random sample from large population of treatments. Here the τi are random variables and we are interested in their variability, not in the differences among the means being tested.

  15. First, we will talk about fixed effects, completely randomized, balanced models. In the model we showed earlier, the τj are defined as deviations from the grand mean so It follows that the mean of the jth treatment is

  16. Now the hypothesis under test is: Ho: μ1= μ2 = μ3 = … μJ Ha: μj≠ μk for at least one j,k pair The test procedure is ANOVA, which is a decomposition of the total sum of squares into its components parts according to the model.

  17. The total SS is and ANOVA is about dividing it into its component parts. SS= variability of the differences among the J levels SSε = pooled variability of the random error within levels

  18. This is easy to see because But the cross-product term vanishes because

  19. So SStotal = SS treatments + SS error Most of the time, this is called SStotal = SS between + SS within Each of these terms becomes an MS (mean square) term when divided by the appropriate df.

  20. The dffor SSerror = N-J because and the df for SSbetween = J-1 because there are J levels.

  21. Now the expected values of each of these terms are E(MSerror) = σ2 E(MStreatments) =

  22. Now if there are no differences among the treatment means, then for all j. So we can test for differences with our old friend F with J-1 and N -J df. Under Ho, both numerator and denominator are estimates of σ2 so the result will not be significant. Under Ha, the result should be significant because the numerator is estimating the treatment effects as well as σ2.

  23. The results of an ANOVA are presented in an ANOVA table. For this one-way, fixed-effects, balanced model: Source SS df MS p Model SSbetweenJ-1 MSbetween p Error SSwithinN-J MSwithin Total SStotalN-1

  24. Let’s look at a simple example. A product engineer is investigating the tensile strength of a synthetic fiber to make men’s shirts. He knows from prior experience that the strength is affected by the weight percent of cotton in the material. He also knows that the percent should range between 10% and 40% so that the shirts can receive permanent press treatment.

  25. The engineer decides to test 5 levels: 15%, 20%, 25%, 30%, 35% and to have 5 replicates in this design. His data are

  26. In this tensile strength example, the ANOVA table is In this case, we would reject Ho and declare that there is an effect of the cotton weight percent. Source SS df MS p Model 475.76 4 118.94<0.01 Error 161.20 20 8.06 Total 636.96 24

  27. We can estimate the treatment parameters by subtracting the grand mean from the treatment means. In this example, τ1 = 9.80 – 15.04 = -5.24 τ2 = 15.40 – 15.04 = +0.36 τ3 = 17.60 – 15.04 = -2.56 τ4 = 21.60 – 15.04 = +6.56 τ5 = 10.80 – 15.04 = -4.24 Clearly, treatment 4 is the best because it provides the greatest tensile strength.

  28. Now you could have computed these values from the raw data yourself instead of doing the ANOVA. You would get the same results, but you wouldn’t know if treatment 4 was significantly better. But if you did a scatter diagram of the original data, you would see that treatment 4 was best, with no analysis whatsoever. In fact, you should always look at the original data to see if the results do make sense. A scatter diagram of the raw data usually tells as much as any analysis can.

  29. How do you test the adequacy of the model? The model assumes certain assumptions that must hold for the ANOVA to be useful. Most importantly, that the errors are distributed normally and independently. The error for each observation, sometimes called the residual, is

  30. A residual check is very important for testing for nonconstant variance. The residuals should be structureless, that is, they should have no pattern whatsoever, which, in this case, they do not.

  31. These residuals show no extreme differences in variation because they all have about the same spread. They also do not show the presence of any outlier. An outlier is a residual value that is vey much larger than any of the others. The presence of an outlier can seriously jeopardize the ANOVA, so if one is found, its cause should be carefully investigated.

  32. A histogram of residuals shows that the distribution is slightly skewed. Small departures from symmetry are of less concern than heavy tails.

  33. Another check is for normality. If we do a normal probability plot of the residuals, we can see whether normality holds.

  34. A normal probability plot is made with ascending ordered residuals on the x-axis and their cumulative probability points, 100(k-.5)/n, on the y-axis. k is the order of the residual and n = number of residuals. There is no evidence of an outlier here. The previous slide is not exactly a normal probability plot because the y-axis is not scaled properly. But it does gives a pretty good suggestion of linearity.

  35. A plot of residuals vs run order is useful to detect correlation between the residuals, a violation of the independence assumption. Runs of positive or of negative residuals indicates correlation. None is observed here.

  36. One of the goals of the analysis is to choose among the level means. If the results of the ANOVA shows that the factor is significant, we know that at least one of the means stands out from the rest. But which one or ones? The procedures for making these mean comparisons are called multiple comparison methods. These methods use linear combinations called contrasts.

  37. A contrast is a particular linear combination of level means, such as to test the difference between level 4 and level 5. Or if one wished to test the average of levels 1 and 3 vs the average of levels 4 and 5, he would use . In general, where

  38. An important case of contrasts is called orthogonal contrasts. Two contrasts with coefficients cj and dj are orthogonal if or in a balanced design if

  39. There are many ways to choose the orthogonal contrast coefficients for a set of levels. For example, if level 1 is a control and levels 2 and 3 are two real treatments, a logical choice is to compare the average of the two treatments with the control: and then the two treatments against one another: These two contrasts are orthogonal because

  40. Only J-1 orthogonal contrasts may be chosen because the J levels have only J-1 df. So for only three levels, the contrasts chosen exhaust those available for this experiment. Contrasts must be chosen before seeing the data so that experimenters aren’t tempted to contrast the levels with the greatest differences.

  41. For the tensile strength experiment with 5 levels and thus 4 df, the 4 contrasts are: C1= 0(5)(9.8)+0(5)(15.4)+0(5)(17.6)-1(5)(21.6)+1(5)(10.8) =-54 C2= +1(5)(9.8)+0(5)(15.4)+1(5)(17.6)-1(5)(21.6)-1(5)(10.8) =-25 C3= +1(5)(9.8)+0(5)(15.4)-1(5)(17.6)+0(5)(21.6)+0(5)(10.8) =-39 C4= -1(5)(9.8)+4(5)(15.4)-1(5)(17.6)-1(5)(21.6)-1(5)(10.8) = 9 These 4 contrasts completely partition the SStreatments. Then the SS for each contrast is formed:

  42. So for the 4 contrasts we have:

  43. Now the revised ANOVA table is Source SS df MS p Weight % 475.76 4 118.94 <0.001 C1 291.60 1 291.60 <0.001 C2 31.25 1 31.25 <0.06 C3 152.10 1 152.10 <0.001 C4 0.81 1 0.81 <0.76 Error 161.20 20 8.06 Total 636.96 24

  44. So contrast 1 (level 5 – level 4) and contrast 3 (level 1 – level 3) are significant. Although the orthogonal contrast approach is widely used, the experimenter may not know in advance which levels to test or they may be interested in more than J-1 comparisons. A number of other methods are available for such testing.

  45. These methods include: Scheffe’s Method Least Significant Difference Method Duncan’s Multiple Range Test Newman-Keuls test There is some disagreement about which is the best method, but it is best if all are applied only after there is significance in the overall F test.

  46. Now let’s look at the random effects model. Suppose there is a factor of interest with an extremely large number of levels. If the experimenter selects J of these levels at random, we have a random effects model or a components of variance model.

  47. The linear statistical model is as before, except that both and are random variables instead of simply . Because and are independent, the variance of any observation is These two variances are called variance components, hence the name of the model.

  48. The requirements of this model are that the are NID(0,σ2), as before, and that the are NID(0, ) and that and are independent. The normality assumption is not required in the random effects model. As before, SSTotal = SStreatments + SSerror And the E(MSerror) = σ2. But now E(MStreatments) = σ2 + n So the estimate of is

  49. The computations and the ANOVA table are the same as before, but the conclusions are quite different. Let’s look at an example. A textile company uses a large number of looms. The process engineer suspects that the looms are of different strength, and selects 4 looms at random to investigate this.

More Related