DOE in Minitab

35
Introduction to Design of Experiments University of California at Berkeley Mechanical Engineering Department Summer, 2001 by Michael Montero

description

minitab tutorial

Transcript of DOE in Minitab

Page 1: DOE in Minitab

Introduction to Design of Experiments

University of California at BerkeleyMechanical Engineering DepartmentSummer, 2001

by Michael Montero

Page 2: DOE in Minitab

Part 1Full Factorial Design and Analysis (2 levels)

Part 2Fractional Factorial Design and Analysis (2 levels)

Part 3Software Introduction and 3-Level or Higher Designs

Introduction to DOE - Part 3

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 3: DOE in Minitab

Available DOE Software

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Example: Minitab v11.21

• Windows Based (Windows 9x, NT, and 2000)• Spreadsheet-like interface and command line interface• User-friendly menus • 2k full and fractional factorial designs (regular and non-regular)• Response surface building• Analysis of Variance (ANOVA)• Multiple linear regression• Statistical Process Control (SPC), time-series analysis (autoregression)• Reproducibility and Repeatability (R&R)• And more...

SAS JMP MixsoftS-Plus Nutek Qualitek-4Genstat StatSoftMinitab Adept Scientific DOE_PC IVState-Ease, Design-Expert Process Builder STRATEGYEchip S-Matrix CARDStatgraphics Qualitron Systems DoESSystat RSD Associates MatrexUmetrics MODDE 6

Commercial Software for Experimental Design

DOE Specific

General Statistical Package

Page 4: DOE in Minitab

Minitab Example: Injection Molding Experiment

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Injection Molding Experiment(Box, G. E. P., Hunter, W. G., and Hunter J.S., “Statistics for Experimenters: AnIntroduction to Design, Data Analysis, and Model Building”, Wiley Interscience, p. 413,1978.)

Problem: Identify important factors effecting part shrinkage.Less shrinkage is better.

DOE: 48IV2 −

Design Generators

Page 5: DOE in Minitab

Minitab: Create Factorial Design Step by Step

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

1

Page 6: DOE in Minitab

Minitab: Factorial Designs Dialog Box

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Predefined Designs

Custom Designs

Screening Design

Select # of Factors

Summary of Possible 2-Level Designs

Design Selection

2

534

Page 7: DOE in Minitab

Minitab: Summary of 2-Level Designs

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

4

Page 8: DOE in Minitab

Minitab: Design Selection

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

5

Page 9: DOE in Minitab

Minitab: Factorial Designs Dialog Box Cont’d

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

6

7 8

Define Factors

Output Selection

Additional Options

Page 10: DOE in Minitab

Minitab: Define Factors and Actual Level Values

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

6

Page 11: DOE in Minitab

Minitab: Additional Design Options

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

7

Choose if you wantto fold on certainfactors

Randomize orderof tests

Store design incurrent worksheet

Choose whichfraction to use

AB

C

AB

C

I = + ABC I = - ABC

Page 12: DOE in Minitab

Minitab: Output Selection

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

8

Display confounding patternup to selected order

Generators, defining relation,and design matrix displayed

Page 13: DOE in Minitab

Minitab: Command Session Window

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 14: DOE in Minitab

Minitab: Worksheet or Data Window

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Design Matrix

Type in or paste in response values

Page 15: DOE in Minitab

Minitab: Analyze Factorial Design

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

9

Page 16: DOE in Minitab

Minitab: Select Response

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

9

Select terms inmodel by order

10

1112

Response, effectsand residual plots

Store effects, residuals,etc. in worksheet

Page 17: DOE in Minitab

Minitab: Select Terms for Effects Calculation and StoreResults in Worksheet

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

10

11

Store effects inworksheet

Store residualsand fits inworksheet

Page 18: DOE in Minitab

Minitab: Graphical Options

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

12

Normal ProbabilityPlot of Effects Pareto Chart Select Confidence

Residual plots

Page 19: DOE in Minitab

Minitab: Effect Calculations

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 20: DOE in Minitab

Minitab: Plots

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Normal Plot of Effects

Pareto Chart of Effects

Page 21: DOE in Minitab

Minitab: Factorial Plots

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 22: DOE in Minitab

Minitab: Setup of Factorial Plots

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 23: DOE in Minitab

Minitab: Main and Interaction Plots

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

All Main Effects Plot

AE Interaction Plot

Page 24: DOE in Minitab

Minitab: C

alculator

M. G

. Montero

UC-Berkeley, Mechanical Engineering

Page 25: DOE in Minitab

Minitab: Calculator Used to Construct AE Column

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 26: DOE in Minitab

Minitab: Multiple Regression

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Page 27: DOE in Minitab

Minitab: Linear Fit

M. G

. Montero

UC-Berkeley, Mechanical Engineering

Page 28: DOE in Minitab

Three level or Higher Factor Levels

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Laser-assisted Composite Mfg. Experiment(Mazumdar and Hoa, 1995.)

Problem: Verify if laser power truly effects compositestrength (measured by short-beam-shear test)

DOE: 31

ANOVA: Analysis of variance indicates that laser power does significantly effect (Fcalc > Fcrit)composite strength. Next, look into whether the relationship between the factor and response islinear or quadratic over the three levels.

Replicates will allow forestimate of error

αααα = 0.10

Page 29: DOE in Minitab

Linear and Quadratic Contrasts

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

linear contrast = y3 - y1 = -1y1 + 0y2 + 1y3

quadratic contrast = (y3 - y2) - (y2 - y1) = 1y1 - 2y2 + 1y3 =

To define the quadratic contrast, one can use the following argument. If relationshipis linear, then (y3 - y2) and (y2 - y1) should approximately be the same:

= 1y1 - 2y2 + 1y3≈≈≈≈ 0 if relationship is linear

So, in vector form:

linear contrast = (-1 0 1)(y1 y2 y3)T

quad. contrast = (1 -2 1)(y1 y2 y3)T

Linear Contrast Vector (u)

Quad. Contrast Vector (v)

Where dot product of contrast vectors equals 0. Contrast vectors are orthogonal to oneanother ensuring that the contrasts are independent of one another:

u • v = (-1 0 1) • (1 -2 1) = (-1)(1) + (0)(-2) + (1)(1) = 0

Response Vector

Page 30: DOE in Minitab

0.0034

Linear and Quadratic Effects

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Length (u) = [(-1)2 + (0)2 + (1)2]1/2=

Scale vectors so that they both have unit lengths. Hence, divide contrast vectorby length of vector:

2

Length (v) = [(1)2 + (-2)2 + (1)2]1/2= 6

Linear and Quadratic Effect Estimates:

( ) ( ) 636.8=•−= T321l yyy101

21A

( ) ( ) 109.0−=•−= T321q yyy121

61A

αααα = 0.10ANOVA:

Linear term is significant (Fcalc>Fcrit) whilequadratic term is not (Fcalc<Fcrit)

AVE = 30.921

21.2490.003

Page 31: DOE in Minitab

Predictive Model and Orthogonal Polynomials

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

To be able to predict composite strength through the range of the design space (40 to 60Watts), we must extend the notion of orthogonal contrasts to orthogonal polynomials:

ε+++=6

)(2

)( 21 xPAxPAAVEy ql

Where:

( )10110

501 −=−=−= x

∆mx(x)P

( )12132

10503

323

22

2 −=��

��

�−�

� −=��

��

�−�

� −= x∆

mx(x)P

, when x ={40,50,60} respectively

, when x ={40,50,60} respectively

x ≡ laser power∆ ≡ distance between consecutive levelsm ≡ middle level

Example: What is composite strength when laser is powered at 55 Watts?

( )[ ]6

321050)(553

0.1092

1050)(558.63630.921y2 −−

−−+=

34.03.05563.05330.921y =++=

Page 32: DOE in Minitab

Extending Orthogonal Polynomials

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

• Model can be extended for any level equally spaced (4, 5, 6, etc.)• Analysis is the same using factorial plots, normal plot of effects, and

confidence intervals or ANOVA for statistical testing• Analysis of equal level DOEs with more than one factor is the same but we

must also consider interaction estimates (For example 32)�Al x Bl�Al x Bq�Aq x Bl�Aq x Bq

• Also in mixed-level designs (For example 2131)

�A x Bl�A x Bq

• Polynomials with fourth and higher degrees, however, should be avoidedunless response’s behavior can be justified by a physical model

�Data can be well fitted by using higher-degree polynomial model butthe resulting fitted model will lack predictive power

� In regression analysis, this is referred to as overfitting�Average variance of the regression parameter estimates is proportional

to the number of regression parameters in the model.→Overfitting inflates variance and lowers accuracy of predictive

model (Draper and Smith, 1998)• Higher degree polynomials become harder to interpret

Page 33: DOE in Minitab

Further Topics: 3-Level Fractional Factorial Designs

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

3k-p designs rely on generators and defining relation not based onmultiplicative column but modulus calculus:

Example: 34-1

(Generator: D = ABC) where xD = xA + xB + xC (mod 3)

So:3/3 = 1 remainder 01/3 = 0.3 remainder 12/3 = 0.6 remainder 2

Where: x = coded value (0, 1, or 2)

Column D’s coded pattern is generated by the xA + xB + xC (mod 3) relation

Page 34: DOE in Minitab

Further Topics: 2m4n Mixed Designs

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

2m4n designs can be generated from fractional factorial 2k-p designs bymethod of column replacement:

Example: 27-4 (Generators Not Shown)

2441

Page 35: DOE in Minitab

Statistical Literature

M. G. Montero

UC

-Ber

kele

y, M

echa

nica

l Eng

inee

ring

Box, G. E. P., Hunter, W. G. and Hunter, J.S., Statistics for Experimenters: An Introduction toDesign, Data Analysis, and Model Building, Wiley Series in Probability and Statistics, 1978.

Devor, R. E., Chang, T. and Sutherland, J. W., Statistical Quality Design and Control:Contemporary Concepts and Methods, Macmillan, 1992.

Ross, P. J., Taguchi Techniques for Quality Engineering, McGraw Hill, 2nd Edition, 1996.

Wu, C. F. J. and Hamada, M., Experiments: Planning, Analysis, and Parameter DesignOptimization, Wiley Series in Probability and Statistics, 2000.

Myers, R. H. and Montgomery, D. C., Response Surface Methodology: Process and ProductOptimization Using Designed Experiments, Wiley Series in Probability and Statistics, 1995

Experimental Design and Optimization

Statistics and Multiple Linear RegressionWalpole, R. E., Myers and R. H., Myers, S. L., Probability and Statistics for Engineers andScientists, Prentice Hall, 6th edition, 1998.

Sen, A. and Srivastava, M., Regression Analysis: Theory, Methods, and Applications, Springer-Verlag, 1990.