practical doe –“tricks of the trade” inc. stat-ease, · practical doe –“tricks of the...

55
Practical DOE – “Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the Voice over Internet Protocol (VoIP) system, I will mute all. Please email Questions to me which I answer after the presentation. -- Pat Presented by Pat Whitcomb, Founder Stat-Ease, Inc., Minneapolis, MN [email protected] Presentation is posted at www.statease.com/webinar.html ©2017 Stat-Ease, Inc.

Upload: others

Post on 08-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE – “Tricks of the Trade”

June 2017 Webinar 1

There are many attendees today! To avoid disrupting

the Voice over Internet Protocol (VoIP) system, I will mute

all. Please email Questions to me which I answer after the

presentation.

-- Pat

Presented by Pat Whitcomb, Founder

Stat-Ease, Inc., Minneapolis, MN

[email protected]

Presentation is posted at www.statease.com/webinar.html

©2017

Stat

-Eas

e, Inc

.

Page 2: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Employing Cpk (or Ppk) to optimize your DOE

Combining categoric factors

A Couple of Case Studies

The Loose Collet

A Case to Test Your Metal

June 2017 Webinar 2

©2017

Stat

-Eas

e, Inc

.

Page 3: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Expand your search without sacrificing precision.

5 times the volume with no loss in precision!

Employing Cpk (or Ppk) to optimize your DOE

Combining categoric factors

A Couple of Case Studies

The Loose Collet

A Case to Test Your Metal

June 2017 Webinar 3

©2017

Stat

-Eas

e, Inc

.

Page 4: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Four Factor CCD – Case Study #1

alpha = 2.0 (rotatable and spherical)

June 2017 Webinar 4

There are four factors

(k=4), but picture only

shows three factors.

©2017

Stat

-Eas

e, Inc

.

Page 5: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Four Factor CCD – Case Study #1

Standard Error of the Mean

Prediction standard error of the expected value:

x0 – the location in the design space (i.e. the x coordinates for all model

terms).

X – the experimental design (i.e. where the runs are in the design space).

In this four factor CCD, the factorial and axial points have:

StdErr = 3.43744

5

12

0 0 0 0ˆvar T TPV x y x X X x s

0

ˆ0 0yStdErr x s PV x

June 2017 Webinar

©2017

Stat

-Eas

e, Inc

.

Page 6: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Four Factor CCD – Case Study #1

alpha = 2.0 (rotatable and spherical)

June 2017 Webinar 6

-2.00 -1.00 0.00 1.00 2.00

-2.00

-1.00

0.00

1.00

2.00

A: Heating (C / 30 min)

B:

p

H

66

-2.00 -1.00 0.00 1.00 2.00

-2.00

-1.00

0.00

1.00

2.00

A: Heating (C / 30 min)

B:

p

H

Slice at: C = 0, D = 0 Slice at: C = +1, D = +1

Yellow border at StdErr = 3.43744

©2017

Stat

-Eas

e, Inc

.

Page 7: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Four Factor CCD – Case Study #1

Maximize Protein with StdErr ≤ 3.43744

June 2017 Webinar 7

©2017

Stat

-Eas

e, Inc

.

Page 8: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

-2.00 -1.20 -0.40 0.40 1.20 2.00

-2.00

-1.00

0.00

1.00

2.00

Protein (%)

A: Heating (C / 30 min)

C:

Re

do

x p

ot

(v

olt)

20

40

60

80

86

Prediction 86.311

-2.00 -1.20 -0.40 0.40 1.20 2.00

-2.00

-1.00

0.00

1.00

2.00

Std Error of Protein

A: Heating (C / 30 min)

C:

Re

do

x p

ot

(v

olt)

2

3.43743

4 4

4 4

5 5

5 5

6 6

6 6

3

SE Mean 3.43743

A: Heating B: pH C: Redox pot D: Na lauryl Protein StdErr

-1.579 0.234 -1.008 -0.660 86.311 3.437

Four Factor CCD – Case Study #1

Maximize Protein with StdErr ≤ 3.43744

June 2017 Webinar 8

©2017

Stat

-Eas

e, Inc

.

Page 9: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Four Factor CCD – Case Study #1

Maximize Protein

A B C D y

Heating pH Redox pot Na lauryl Protein StdErr

Factor range ±1.00 cube (too restrictive) (max SE = 3.43744)

-1.000 -0.157 -0.870 -0.999 84.696 2.595

Factor range ±2.00 cube (too liberal) (max SE = 13.3764)

-2.000 0.636 -2.000 -2.000 89.644 10.321

SE ≤ 3.43744 sphere (just right) (max SE = 3.43744)

-1.579 0.234 -1.008 -0.660 86.311 3.437

increases volume of search by 393% over ±1 cube

June 2017 Webinar 9

©2017

Stat

-Eas

e, Inc

.

Page 10: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Historical Data – Case Study #2

Not Space Filling for Cube or Sphere

AB AC BC

Points projected in two-dimensional planes.

June 2017 Webinar 10

2

2

2

2

2

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A:Mw (gm)

B:W

t%

O

H (

wt%

)

2

2

2

2

2

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A:Mw (gm)

C:M

on

om

er

(

wt%

)

2

2

2

2

2

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

B:Wt% OH (wt%)

C:M

on

om

er

(

wt%

)

©2017

Stat

-Eas

e, Inc

.

Page 11: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Historical Data – Case Study #2

Limit Search to StdErr ≤ 31.7524

C = -1 C = 0 C = +1

Highest Standard Error at a design point = 31.7524

June 2017 Webinar 11

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A: Mw (gm)

B: W

t%

O

H (

wt%

)

31.7524

31.7524

31.7524

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A: Mw (gm)

B: W

t%

O

H (

wt%

)

31.7524

2

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A: Mw (gm)

B: W

t%

O

H (

wt%

)

31.75242

©2017

Stat

-Eas

e, Inc

.

Page 12: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Historical Data – Case Study #2

Maximize Tack with StdErr ≤ 31.7524

June 2017 Webinar 12

©2017

Stat

-Eas

e, Inc

.

Page 13: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Historical Data – Case Study #2

Maximum Tack with StdErr ≤ 31.7524

June 2017 Webinar 13

Design-Expert® SoftwareFactor Coding: CodedOverlay Plot

TackStdErr(Tack)

Design Points

X1 = A: MwX2 = B: Wt% OH

Coded FactorC: Monomer = 1.000

-1.00 -0.50 0.00 0.50 1.00

-1.00

-0.50

0.00

0.50

1.00

A: Mw (gm)

B: W

t% O

H (

wt%

)

StdErr(Tack): 31.7524

2

Tack: 1192.97X1 -1.00X2 -0.62

©2017

Stat

-Eas

e, Inc

.

Page 14: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Conclusions: Using Standard Error

to Constrain Optimization

Advantages:

Defines a search area that matches design properties:

• Spheres for rotatable CCDs.

• Cubes for face centered CCDs.

• Irregular shapes for optimal designs and historical data.

Modifies search area for reduced models and missing data.

June 2017 Webinar 14

©2017

Stat

-Eas

e, Inc

.

Page 15: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Employing Cpk (or Ppk) to optimize your DOE

Incorporate specifications in your optimization.

Combining categoric factors

A Couple of Case Studies

The Loose Collet

A Case to Test Your Metal

June 2017 Webinar 15

©2017

Stat

-Eas

e, Inc

.

Page 16: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Process Capability RefresherCpk statistic

June 2017 Webinar 16

pk

Minimum USL , LSLC

3 ˆ

LSLLower

Specification Limit

USLUpper

Specification Limit

-LSL USL-

Cpk defines the potential

capability of the process,

with regard to where the

process is centered.

©2017

Stat

-Eas

e, Inc

.

Page 17: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Process Capability RefresherPpk statistic

Ppk statistic is used to determine how “in control” the process has been

over time.

The difference between Cpk and Ppk is the estimate of sigma:

Cpk uses a short term estimate of sigma

Ppk uses a long term estimate of sigma

June 2017 Webinar 17

upper lower

s s

pk upper lowerminimum

USL Y Y LSLZ , Z

3 ˆ 3 ˆ

P (Z , Z )

Ppk allows for variation from

a centered process.

ˆsσ is calculated from data gathered over time to capture long term variation.

©2017

Stat

-Eas

e, Inc

.

Page 18: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Propagation of ErrorTool to Improve Cpk & Ppk

POE independent of factor level POE dependent on factor level

June 2017 Webinar 18

Control Factor

Effect of Input

on Response

A B

Control Factor

Response

A B

Effect of Inputon Response

©2017

Stat

-Eas

e, Inc

.

Page 19: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Propagation of ErrorAchieve Target with Less Variation

To illustrate the theory, the control

factors were used in two steps:

first to decrease variation and

second to move back on target.

In practice, numerical optimization

can be used to simultaneously

obtain all the goals.

June 2017 Webinar 19

Curvilinear factors used

to reduce variation

Linear factors used

to return to target

©2017

Stat

-Eas

e, Inc

.

Page 20: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Propagation of ErrorGoal: Minimize Propagated Error (POE)

First order:

Second order:

June 2017 Webinar 20

i

i

2 222 2k k k

2 2 4 2 2 2

ˆ ii ii ii jj e2Yi 1 i 1 i ji i j

2k2

1 k ii2i 1

f 1 f f

x 2 x x x

1 fy f x ,...,x

2 x

i

2

2 2 2

ˆ x eYi i

1 k

f

x

y f x ,...,x

2 2

ˆe residual YMS from the ANOVA and POE

Statistical

detail

©2017

Stat

-Eas

e, Inc

.

Page 21: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Process Capability RefresherCpk versus Ppk statistic

The difference between Cpk and Ppk is the estimate of sigma:

Cpk uses a short term estimate of sigma

Ppk uses a long term estimate of sigma

Design of Experiments (DOE):

The residual MSE ( ) estimates short variation (Cpk)

Propagation of error estimates long term variation (Ppk like)

June 2017 Webinar 21

i

2 222 2k k k

2 2 4 2 2 2

ˆ ii ii ii jj e2Yi 1 i 1 i ji i j

f 1 f f

x 2 x x x

2

e

©2017

Stat

-Eas

e, Inc

.

Page 22: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Employing Cpk (or Ppk) to optimize your DOE

Lathe Case Study

The experimenters run a three factor Box-Behnken design:

The key response is delta, i.e. the deviation of the finished part’s dimension

from its nominal value. Delta is measured in mils, 1 mil = 0.001 inches.

June 2017 Webinar 22

©2017

Stat

-Eas

e, Inc

.

Page 23: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Employing Cpk (or Ppk) to optimize your DOE

Lathe Case Study

June 2017 Webinar 23

©2017

Stat

-Eas

e, Inc

.

Page 24: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Employing Cpk (or Ppk) to optimize your DOE

Lathe Case Study

Variation of Inputs:

Specifications: Delta = 0.000 ± 0.400

Goal is to maximize Ppk:

June 2017 Webinar 24

Variable Std Dev: ෝ𝝈ii

A – Speed 5 fpm

B – Feed 0.00175 ipr

C – Depth 0.0125 inches

©2017

Stat

-Eas

e, Inc

.

Page 25: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Employing Cpk (or Ppk) to optimize your DOE

Lathe Case Study

delta: Cpk = 1.66

delta (POE): Cpk = 1.11 (more like Ppk)

June 2017 Webinar 25

©2017

Stat

-Eas

e, Inc

.

Page 26: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Conclusions: Employing Cpk (or Ppk)

to optimize your DOE

Advantages:

Brings specifications into the optimization.

Can use POE to better represent long term variability.

In multiple response optimization the various process

capabilities can be weighted by importance of response.

Can explore what if questions, e.g. what if there was better

control of various factors; e.g. compare Cpk without POE to

Cpk with POE (Ppk).

June 2017 Webinar 26

©2017

Stat

-Eas

e, Inc

.

Page 27: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Employing Cpk (or Ppk) to optimize your DOE

Combining categoric factors

Reduce redundancy and number of runs.

A Couple of Case Studies

The Loose Collet

A Case to Test Your Metal

June 2017 Webinar 27

©2017

Stat

-Eas

e, Inc

.

Page 28: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Combining Categoric FactorsCWA detection Case Study

Goal: Prove effectiveness of a remote detection system for a

chemical-warfare agent (CWA).

Factors and levels:

A. CWA (Threshold, Objective)

B. Interferent (None, Burning diesel, Burning plastic)

C. Time (Day, Night)

D. Distance (1 km, 3 km, 5 km)

E. Environment (Desert, Tropical, Arctic, Urban, Forest)

F. Season (Summer, Winter)

G. Temperature (High, Low)

H. Humidity (High, Low)

June 2017 Webinar 28

©2017

Stat

-Eas

e, Inc

.

Page 29: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Combining Categoric FactorsCWA detection Case Study

Looking at the last four factors, there are too many combinations

(40) and not all of these combinations are meaningful:

E. Environment (Desert, Tropical, Arctic, Urban, Forest)

F. Season (Summer, Winter)

G. Temperature (High, Low)

H. Humidity (High, Low)

Not meaningful: Tropical with low temperature and low humidity

Arctic with high temperature and high humidity

Solution is to combine these four categorical factors into one.

June 2017 Webinar 29

©2017

Stat

-Eas

e, Inc

.

Page 30: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Combining Categoric FactorsCWA detection Case Study

The eight most meaningful combinations:

June 2017 Webinar 30

Background Temperature Humidity

Desert Winter Low Low

Desert Summer High Low

Tropical High High

Arctic Low Low

Urban Winter Low Low

Urban Summer High High

Forest Winter Low Low

Forest Summer High High©20

17 S

tat-E

ase,

Inc.

Page 31: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Conclusions:

Combining Categoric Factors

June 2017 Webinar 31

Advantages:

Number of runs reduced.

• Runs reduced by 80% (1,440 to 288) for CWA.

All the combinations can be run and result in meaningful

results.

Can fit a full model.

Preventing meaningless (or impossible) runs that result in

missing data thereby creating an aliased model.

©2017

Stat

-Eas

e, Inc

.

Page 32: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Employing Cpk (or Ppk) to optimize your DOE

Combining categoric factors

A Couple of Case Studies

The Loose Collet

Diagnostics plus subject matter

knowledge save the day.

A Case to Test Your Metal

June 2017 Webinar 32

©2017

Stat

-Eas

e, Inc

.

Page 33: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose Collet *Background (page 1 of 2)

1. A computer controlled lathe feeds in bar stock, cuts it, machines

the surface and releases a part. The collet holds the part in

place as it is being machined. The operator programs the

speed (rate of spin) and feed (depth of cut). The operator hand

tightens the collet.

2. The response is surface finish, measured on the same one inch

section of each part. The higher the reading the rougher the

surface. Low readings (a smooth surface) are desirable.

* William H. Collins and Carol B. Collins, Quality Engineering, Vol. 6, No.4, 1994, p. 547.

June 2017 Webinar 33

©2017

Stat

-Eas

e, Inc

.

Page 34: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletBackground (page 1 of 2)

3. The factors studied are:

4. The design run was a 24 replicated factorial.

5. Determine what is causing rough surface?

June 2017 Webinar 34

Factor -1 +1 Units

A Speed 2500 4500 rpm

B Feed 0.003 0.009 in/rev

C Collet Loose Tight

D Tool wear New after 250 parts

©2017

Stat

-Eas

e, Inc

.

Page 35: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletAnalysis Replicated 24

June 2017 Webinar 35

Design-Expert® SoftwareFinish

Error estimates

Shapiro-Wilk testW-value = 0.792p-value = 0.024A: SpeedB: FeedC: ColletD: Tool wear

Positive Effects Negative Effects

0.00 35.91 71.81 107.72 143.63

0

10

20

30

50

70

80

90

95

99

Half-Normal Plot

|Standardized Effect|

Ha

lf-N

orm

al %

Pro

babili

ty

A-Speed

B-Feed

C-Collet

AB

AC

BC

ABC

©2017

Stat

-Eas

e, Inc

.

Page 36: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletAnalysis Replicated 24

June 2017 Webinar 36

©2017

Stat

-Eas

e, Inc

.

Page 37: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletDiagnostic Plots Replicated 24

Residual Plots(runs 1, 4 & 20 are highlighted)

June 2017 Webinar 37

Externally Studentized Residuals

Norm

al %

Pro

babili

ty

Normal Plot of Residuals

-6.00 -4.00 -2.00 0.00 2.00 4.00 6.00

1

5

10

20

30

50

70

80

90

95

99

Predicted

Exte

rnally

Stu

dentize

d R

esid

uals

Residuals vs. Predicted

-6.00

-4.00

-2.00

0.00

2.00

4.00

6.00

0 100 200 300 400 500

3.58606

-3.58606

0

Run Number

Exte

rnally

Stu

dentized R

esid

uals

Residuals vs. Run

-6.00

-4.00

-2.00

0.00

2.00

4.00

6.00

1 6 11 16 21 26 31

3.58606

-3.58606

0

©2017

Stat

-Eas

e, Inc

.

Page 38: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletRaw Data

The residuals from runs 1, 4 and 20 seem unusually large:

These three runs occur when at slow feed and a loose collet. When measuring

the surface finish, it was noted that this treatment combination produced an

unusual finish. The surface profile looked like a sine wave. The problem is clear;

the bar oscillated and caused an uneven cut pattern.

June 2017 Webinar 38

Factor Factor Factor Factor Response

Std Run A:Speed B:Feed C:Collet D:Tool wear Finish

rpm in/rev

1 10 2500 0.003 Loose New 101

2 16 2500 0.003 Loose New 130

3 4 4500 0.003 Loose New 273

4 1 4500 0.003 Loose New 691

5 15 2500 0.009 Loose New 253

16 27 4500 0.009 Tight New 245

17 20 2500 0.003 Loose After 250 298

18 25 2500 0.003 Loose After 250 87

31 31 4500 0.009 Tight After 250 216

32 7 4500 0.009 Tight After 250 217

©2017

Stat

-Eas

e, Inc

.

Page 39: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletGraph Columns

What we’ve learned so far:

A loose collet is consistently

bad.

Never use a loose collet in

production.

Next steps:

Ignore loose collet data.

Reanalyze the remaining data

(a replicated 23 factorial).

June 2017 Webinar 39

22

Loose Tight

0

100

200

300

400

500

600

700

C:Collet

Fin

ish

©2017

Stat

-Eas

e, Inc

.

Page 40: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletAnalysis w/o Loose Collet

June 2017 Webinar 40

0.00 46.22 92.44 138.66 184.88

0

10

20

30

50

70

80

90

95

99

Half-Normal Plot

|Standardized Effect|

Half-N

orm

al %

Pro

babili

ty

B-Feed

©2017

Stat

-Eas

e, Inc

.

Page 41: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

The Loose ColletAnalysis w/o Loose Collet

June 2017 Webinar 41

Take Away:

Feed (depth of cut) is the only

factor that affects surface finish

when you use a tight collet!

A simple solution that could have

been complicated if we had:

• Not paid attention to the

residual plots.

• Not used our subject matter

knowledge to ignore loose

collets!

B: Feed (in/rev)

0.003 0.005 0.006 0.007 0.009

Fin

ish

0

50

100

150

200

250

One Factor

©2017

Stat

-Eas

e, Inc

.

Page 42: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE “Tricks of the Trade”

Using standard error to constrain optimization

Employing Cpk (or Ppk) to optimize your DOE

Combining categoric factors

A Couple of Case Studies

The Loose Collet

A Case to Test Your Metal

Trick to detect outlier and investigation

save the day.

June 2017 Webinar 42

©2017

Stat

-Eas

e, Inc

.

Page 43: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal *Background (page 1 of 2)

A customer of Stat-Ease examined his aluminum casting process using a

fractional factorial design. He studied five factors in a 25-1 factorial

design:

A) Hot oil temperature

B) Trip in mm

C) Molten aluminum temperature

D) Fast shot velocity

E) Dwell time

The fraction defective out of 100 parts, was recorded for each design

point. To his dismay, none of the factors seemed to make any difference.

* From Stat-Ease client files: Dave DeVowe, Tool Products

June 2017 Webinar 43

©2017

Stat

-Eas

e, Inc

.

Page 44: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal *Background (page 2 of 2)

June 2017 Webinar 44

Look at the Response Data

Note:

Lots of variation

in the response!

©2017

Stat

-Eas

e, Inc

.

Page 45: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your MetalAnalysis – First Pass

June 2017 Webinar 45

Notice all the effects fall in a line!

Design-Expert® Software

ArcSin( Sqrt(Defects) )

Shapiro-Wilk test

W-value = 0.974

p-value = 0.909

A: Hot Oil

B: Trip

C: Metal

D: Fast Shot

E: Dwell

Positive Effects

Negative Effects

0.00 0.09 0.18 0.27 0.36

0

10

20

30

50

70

80

90

95

99

Half-Normal Plot

|Standardized Effect|

Half-N

orm

al %

Pro

babili

ty

Select significant terms - see Tips

Line defaults to fit smallest 50% of effects©2017

Stat

-Eas

e, Inc

.

Page 46: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your MetalAnalysis – Second Pass

Lots of variation in the responses, but no effects!

Procedure to detect a possible outlier:

1. Pick a couple of the most extreme effects on the

half normal plot.

2. Look for a potential outlier.

3. Judge influence of potential outlier.

4. Investigate the suspected outlier.

5. “Ignore” the outlier and reanalyze the design.

June 2017 Webinar 46

©2017

Stat

-Eas

e, Inc

.

Page 47: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

1. Pick a couple of the most extreme

effects on the half normal plot.

June 2017 Webinar 47

Design-Expert® Software

ArcSin( Sqrt(Defects) )

Shapiro-Wilk test

W-value = 0.921

p-value = 0.295

A: Hot Oil

B: Trip

C: Metal

D: Fast Shot

E: Dwell

Positive Effects

Negative Effects

0.00 0.09 0.18 0.27 0.36

0

10

20

30

50

70

80

90

95

99

Half-Normal Plot

|Standardized Effect|

Half-N

orm

al %

Pro

babili

tyB-Trip

D-Fast Shot

BD

©2017

Stat

-Eas

e, Inc

.

Page 48: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal

2. Look for a potential outlier. (page 1 of 2)

June 2017 Webinar 48

Design-Expert® Software

ArcSin( Sqrt(Defects) )

Color points by value of

ArcSin( Sqrt(Defects) ):

1.571

0.247

Std # 1 Run # 9

X: -5.997

Y: 3.1

Externally Studentized Residuals

Norm

al %

Pro

babili

ty

Normal Plot of Residuals

-6.00 -4.00 -2.00 0.00 2.00

1

5

10

20

30

50

70

80

90

95

99

©2017

Stat

-Eas

e, Inc

.

Page 49: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal

2. Look for a potential outlier. (page 2 of 2)

June 2017 Webinar 49

Run Number

Exte

rnally

Stu

dentized R

esid

uals

Residuals vs. Run

-6.00

-4.00

-2.00

0.00

2.00

4.00

1 4 7 10 13 16

3.76544

-3.76544

0

Predicted

Exte

rnally

Stu

dentized R

esid

uals

Residuals vs. Predicted

-6.00

-4.00

-2.00

0.00

2.00

4.00

0.40 0.60 0.80 1.00 1.20

3.76544

-3.76544

0

©2017

Stat

-Eas

e, Inc

.

Page 50: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal

3. Judge influence of potential outlier.

June 2017 Webinar 50

Run Number

Cook's

Dis

tance

Cook's Distance

0

0.2

0.4

0.6

0.8

1

1 4 7 10 13 16

0.888478

0

Run Number

DF

FIT

S

DFFITS vs. Run

-4

-3

-2

-1

0

1

2

1 4 7 10 13 16

1.5

-1.5

0

©2017

Stat

-Eas

e, Inc

.

Page 51: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your Metal

June 2017 Webinar 51

4. Investigate the suspected outlier.

(The operator confirmed problems with run 9 (std 1))

5. “Ignore” the outlier and reanalyze the design.

Design-Expert® Software

ArcSin( Sqrt(Defects) )

Shapiro-Wilk test

W-value = 0.941

p-value = 0.529

A: Hot Oil

B: Trip

C: Metal

D: Fast Shot

E: Dwell

Positive Effects

Negative Effects

0.00 0.10 0.20 0.30 0.39 0.49

0

10

20

30

50

70

80

90

95

99

Half-Normal Plot

|Standardized Effect|

Half-N

orm

al %

Pro

babili

ty

B-Trip

D-Fast Shot

BD

©2017

Stat

-Eas

e, Inc

.

Page 52: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

A Case to Test Your MetalAnalysis – Second Pass

June 2017 Webinar 52

Do not use a 390 “Trip” with a 1.60 “Fast Shot”:

Design-Expert® Software

Factor Coding: Actual

Original Scale

Defects (Fraction)

X1 = B: Trip

X2 = D: Fast Shot

Actual Factors

A: Hot Oil = 400

C: Metal = 1280

E: Dwell = 4.50

D- 1.60

D+ 2.20

B: Trip (mm)

D: Fast Shot (mm)

390 395 400 405 410

Defe

cts

(F

raction)

0.00

0.20

0.40

0.60

0.80

1.00

Interaction

©2017

Stat

-Eas

e, Inc

.

Page 53: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

References

1. Gerald J. Hahn and Samuel S. Shapiro (1994), Statistical Models in Engineering, John Wiley

and Sons, Inc.

2. G. C. Derringer, “A Balancing Act: Optimizing a Product’s Properties”, Quality Progress,

June 1994.

3. Gerald J. Hahn and William Q. Meeker (1991), Statistical Intervals A Guide for Practitioners,

John Wiley and Sons, Inc.

4. Steven DE Gryze, Ivan Langhans and Martina Vandebroek, Using the Intervals for Prediction:

A Tutorial on Tolerance Intervals for Ordinary Least-Squares Regression, Chemometrics and

Intelligent Laboratory Systems, 87 (2007) 147 – 154.

5. Mark J. Anderson and Patrick J. Whitcomb (2007), 2nd edition, DOE Simplified – Practical

Tools for Effective Experimentation, Productivity, Inc.

6. Mark J. Anderson and Patrick J. Whitcomb (2005), RSM Simplified – Optimizing Processes

Using Response Surface Methods for Design of Experiments, Productivity, Inc.

7. Raymond H. Myers, Douglas C. Montgomery and Christine M. Anderson-Cook (2009), 3rd

edition, Response Surface Methodology, John Wiley and Sons, Inc.

June 2017 Webinar 53

©2017

Stat

-Eas

e, Inc

.

Page 54: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

545454

Stat-Ease Training: Sharpen Up via Computer-Intensive Workshops

Shari Kraber,Workshop Manager & Master [email protected]

PreDOEWeb-Based (optional)

Stat-Ease Academy

Experiment DesignMade Easy

Response Surface Methods for Process Optimization

Mixture and CombinedDesigns for

Optimal Formulations

Robust Designand

Tolerance Analysis

Basic Statistics forDesign of Experiments

Designed Experiments forPharma, Life Sciences,

Assay Optimization, Food Science

Factorial Split-Plot Designs

Stat-Ease Academy

www.statease.com/training/stat-ease-academy.html

Plus more classes here!Modern DOE for Process Optimization

June 2017 Webinar

©2017

Stat

-Eas

e, Inc

.

Page 55: Practical DOE –“Tricks of the Trade” Inc. Stat-Ease, · Practical DOE –“Tricks of the Trade” June 2017 Webinar 1 There are many attendees today! To avoid disrupting the

Practical DOE – “Tricks of the Trade”

Reminder, this presentation is posted at:

www.statease.com/training/webinar.html

If you have additional questions email them to:

[email protected]

Thank you for joining me today!

June 2017 Webinar 55

©2017

Stat

-Eas

e, Inc

.