SlideShare a Scribd company logo
Process/product optimization 
using design of experiments and 
response surface methodology 
M. Mäkelä 
Sveriges landbruksuniversitet 
Swedish University of Agricultural Sciences 
Department of Forest Biomaterials and Technology 
Division of Biomass Technology and Chemistry 
Umeå, Sweden
DOE and RSM 
You 
DOE RSM 
Design of experiments (DOE) 
 Planning experiments 
→ Maximum information from 
minimized number of experiments 
Response Surface Methodology (RSM) 
 Identifying and fitting an appropriate 
response surface model 
→ Statistics, regression modelling & 
optimization
What to expect? 
 Background and philosophy 
 Theory 
 Nomenclature 
 Practical demonstrations and exercises (Matlab) 
What not? 
 Matrix algebra 
 Detailed equation studies 
 Statistical basics 
 Detailed listing of possible designs
Contents 
Practical course, arranged in 4 individual sessions: 
 Session 1 – Introduction, factorial design, first order models 
 Session 2 – Matlab exercise: factorial design 
 Session 3 – Central composite designs, second order models, ANOVA, 
blocking, qualitative factors 
 Session 4 – Matlab exercise: practical optimization example on given data
Session 1 
Introduction 
 Why experimental design 
Factorial design 
 Design matrix 
 Model equation = coefficients 
 Residual 
 Response contour
If the current location is 
known, a response surface 
provides information on: 
- Where to go 
- How to get there 
- Local maxima/minima 
Response surfaces
Is there a difference? 
vs. ? 
Mäkelä et al., Appl. Energ. 131 (2014) 490.
Research problem 
܂,۾ 
 A and B constant reagents 
 C reaction product (response), to be maximized 
 T and P reaction conditions (continuous factors), can be regulated
Response as a contour plot 
What kind of equation could 
describe C behaviour as a 
function of T and P? 
C = f(T,P)
What else do we want to know? 
 Which factors and interactions are important 
 Positions of local optima (if they exist) 
 Surface and surface function around an 
optimum 
 Direction towards an optimum 
 Statistical significance
How can we do it? 
The expert method
How can we do it? 
The shotgun method
How can we do it? 
The ”Soviet” method 
 xk possibilities with k 
factors on x levels 
 2 factors on 4 levels = 16 
experiments
How can we do it? 
The classical method 
P fixed 
x 
T fixed
How can we do it? 
Factorial design 
 ΔT, ΔP 
 Factor interaction (diagonal)
Why experimental design? 
 Reduce the number of experiments 
→ Cost, time 
 Extract maximal information 
 Understand what happens 
 Predict future behaviour
Challenges 
 Multiple factors on multiple levels 
 6 factors on 3 levels, 36 experiments 
 Reduce number of factors 
 Only 2 levels 
→ Discard factors 
= SCREENING 
1 
2 
3
Factorial design 
T 
3 
P 
N:o T P 
1 80 2 
2 120 2 
3 80 3 
4 120 3 
2 
80 120
Factorial design 
T 
1 
P 
-1 1 
-1 
In coded levels 
N:o T T 
coded 
P P 
coded 
1 80 -1 2 -1 
2 120 1 2 -1 
3 80 -1 3 1 
4 120 1 3 1 
The smallest possible full factorial design!
Factorial design 
45 75 
T 
1 
P 
25 35 
-1 1 
-1 
Design matrix: 
N:o T P C 
1 -1 -1 25 
2 1 -1 35 
3 -1 1 45 
4 1 1 75
Factorial design 
45 75 
T 
1 
P 
25 35 
-1 1 
-1 
Average T effect: 
T = ଻ହାଷହ 
ଶ െ ସହାଶହ 
ଶ ൌ 20 
Average P effect: 
P = ଻ହାସହ 
ଶ െ ଷହାଶହ 
ଶ ൌ 30 
Interaction (TxP) effect: 
TxP = ଻ହାଶହ 
ଶ െ ଷହାସହ 
ଶ ൌ 10
Research problem 
܂,۾,۹ 
 A and B constant reagents 
 C reaction product (response), to be maximized 
 T, P and K reaction conditions (continuous factors) at two different levels 
 Number of experiments 23 = 9 ([levels][factors]) 
How to select proper factor levels?
Research problem 
Empirical model: 
ݕࢉ ൌ ݂ ܂, ۾, ۹ ൅ ߝ 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ⋯ ൅ ߚ௞ݔ௞ ൅ ߝ 
In matrix notation: 
ܡ ൌ ܆܊ ൅ ܍ → 
yଵ 
yଶ 
⋮ 
y୬ 
ൌ 
1 ݔଵଵ ݔଶଵ ⋯ ݔଵ௞ 
1 ݔଵଶ ݔଶଶ ⋯ ݔଶ௞ 
1 ⋮ ⋮ ⋱ ⋮ 
1 ݔଵ௡ ݔଶ௡ ⋯ ݔ௡௞ 
b଴ 
bଵ 
⋮ 
b୩ 
൅ 
eଵ 
eଶ 
⋮ 
e୬ 
Measure Choose 
Unknown!
Factorial design 
First step 
 Selection and coding of factor levels 
→ Design matrix 
T = [80, 120] 
P = [2, 3] 
K = [0.5, 1] 
0.5 
3 
1 
P 
2 
80 120 
T 
K
Factorial design 
Factorial design matrix 
Notice symmetry in diffent colums 
 Inner product of two colums is zero 
 E.g. T’P = 0 
This property is called orthogonality 
N:o Order T P K 
1 -1 -1 -1 
2 1 -1 -1 
3 -1 1 -1 
4 1 1 -1 
5 -1 -1 1 
6 1 -1 1 
7 -1 1 1 
8 1 1 1 
Randomize!
Orthogonality 
For a first-order orthogonal design, X’X is a diagonal matrix: 
܆ ൌ 
െ1 െ1 
1 െ1 
െ1 1 
1 1 
, ܆ᇱ ൌ െ1 1 െ1 1 
െ1 െ1 1 1 
2x4 
܆ᇱ܆ ൌ െ1 1 െ1 1 
െ1 െ1 1 1 
4x2 
െ1 െ1 
1 െ1 
െ1 1 
1 1 
2x2 
ൌ 4 0 
0 4 
If two columns are orthogonal, corresponding variables are linearly independent, 
i.e., assessed independent of each other.
Factorial design 
Design matrix: 
N:o T P K Resp. 
(C) 
1 -1 -1 -1 60 
2 1 -1 -1 72 
3 -1 1 -1 54 
4 1 1 -1 68 
5 -1 -1 1 52 
6 1 -1 1 83 
7 -1 1 1 45 
8 1 1 1 80 
-1 
1 
1 
45 80 
54 68 
52 83 
60 72 
-1 
-1 1 
T 
P 
K
Factorial design 
Model equation, main terms: 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߝ 
where 
ݕ denotes response 
ݔ௜ factor (T, P or K) 
ߚ௜ coefficient 
ߝ residual 
ߚ଴ mean term (average level) 
N:o T P K Resp. 
(C) 
1 -1 -1 -1 60 
2 1 -1 -1 72 
3 -1 1 -1 54 
4 1 1 -1 68 
5 -1 -1 1 52 
6 1 -1 1 83 
7 -1 1 1 45 
8 1 1 1 80
Factorial design 
Equation = coefficients 
܊ ൌ 
b଴ 
bଵ 
bଶ 
bଷ 
ൌ 
64.2 
11.5 
െ2.5 
0.8 
 bo average value (mean term) 
 Large coefficient → important factor 
 Interactions usually present 
Due to coding, the coefficients are comparable!
Factorial design 
Model equation with interactions: 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߚଵଶݔଵݔଶ ൅ ߚଵଷݔଵݔଷ ൅ ߚଶଷݔଶݔଷ ൅ ߚଵଶଷݔଵݔଶݔଷ ൅ ߝ 
N:o T P K TxP TxK PxK TxPxK Resp. (C) 
1 -1 -1 -1 1 60 
2 1 -1 -1 -1 72 
3 -1 1 -1 1 54 
4 1 1 -1 -1 68 
5 -1 -1 1 -1 52 
6 1 -1 1 1 83 
7 -1 1 1 -1 45 
8 1 1 1 1 80
Factorial design 
- + 
T 
+ 
- 
P 
+ 
- 
K 
- + 
TxP 
- + 
TxK 
PxK 
+ 
- 
Main effects and interactions:
Factorial design 
Equation = coefficients 
܊ ൌ 
b଴ 
bଵ 
bଶ 
bଷ 
bଵଶ 
bଵଷ 
bଶଷ 
bଵଶଷ 
ൌ 
64.2 
11.5 
െ2.5 
0.8 
0.8 
5.0 
0 
0.3 
 Large interaction b13 (TxK) 
 Important interaction, main effects cannot be removed 
→ Which coefficients to include?
Factorial design 
An estimate of model error needed 
 Center-points 
 Duplicated experiments 
 Model residual 
܍ ൌ ܡ െ ܆܊ ൌ ܡ െ ࢟ෝ 
ݕ௜ 
݁௜ 
ݕො௜
Factorial design 
Error estimation allows significant testing 
Remove insignificant coefficients 
 Leave main effects 
 Important interaction, main effect 
cannot be removed
Factorial design 
Error estimation allows significant testing 
Remove insignificant coefficients 
 Leave main effects 
 Important interaction, main effect 
cannot be removed 
Recalculate significance upon removal!
Factorial design 
Model residuals 
 Checking model adequacy 
 Finding outliers 
 Normally distributed 
→ Random error 
Several ways to present residuals 
 Possibility for response transformation
Factorial design 
R2 statistic 
 Explained variability of 
measured response 
R2 = 0.9962 
 99.6% explained
Factorial design 
More things to look at 
 Normal distribution of coefficients 
 Residual 
 Standardized residual 
 Residual histogram 
 Residual vs. time 
 ANOVA
Factorial design
Factorial design 
Prediction: 
T = 110 
K = 0.9 
P = 2 (min. level) 
Coded location: 
ܠܕ ൌ 1 0.5 െ1 0.6 0.3 
Predicted response: 
ݕො௠ ൌ 74.5 േ 2.4
Session 1 
Introduction 
 Why experimental design 
Factorial design 
 Design matrix 
 Model equation = coefficients 
 Residual 
 Response contour
Nomenclature 
Factorial design 
Screening 
Design matrix 
Model equation 
Response 
Effect (main/interaction) 
Coefficient 
Significance 
Contour 
Residual
Contents 
Practical course, arranged in 4 individual sessions: 
 Session 1 – Introduction, factorial design, first order models 
 Session 2 – Matlab exercise: factorial design 
 Session 3 – Central composite designs, second order models, ANOVA, 
blocking, qualitative factors 
 Session 4 – Matlab exercise: practical optimization example on given data
Thank you for listening! 
 Please send me an email that you are attending the course 
mikko.makela@slu.se

More Related Content

PPTX
Explainable AI for non-expert users
PPTX
Transformation of Random variables & noise concepts
PPTX
Nonlinear programming 2013
PDF
Tqm product reliability
PDF
CART: Not only Classification and Regression Trees
PPT
Irt 1 pl, 2pl, 3pl.pdf
PDF
Notes nyquist plot and stability criteria
Explainable AI for non-expert users
Transformation of Random variables & noise concepts
Nonlinear programming 2013
Tqm product reliability
CART: Not only Classification and Regression Trees
Irt 1 pl, 2pl, 3pl.pdf
Notes nyquist plot and stability criteria

Similar to S1 - Process product optimization using design experiments and response surface methodolgy (20)

PDF
S2 - Process product optimization using design experiments and response surfa...
PDF
S3 - Process product optimization design experiments response surface methodo...
PDF
S4 - Process/product optimization using design of experiments and response su...
PPT
Optimization
PPTX
Chetan dhal-Optimization techniques in pharmaceutics, formulation and processing
PPT
optimization mano.ppt
PPTX
Statistical design, respons surface method,
PPT
Experimental design
PPTX
Optimization techniques
PPT
design of experiments
PDF
Design of experiments
PPT
design of experiments.ppt
PPTX
Cadds8.pptx
PPTX
Optimization technique in pharmaceutical product development.pptx
PDF
RM_05_DOE.pdf
PPT
Doe08 gen fact
PPTX
Unit 5. Design and Analysis of experiments: Factorial Design: Definition, 22,...
PDF
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL SCIENCES
S2 - Process product optimization using design experiments and response surfa...
S3 - Process product optimization design experiments response surface methodo...
S4 - Process/product optimization using design of experiments and response su...
Optimization
Chetan dhal-Optimization techniques in pharmaceutics, formulation and processing
optimization mano.ppt
Statistical design, respons surface method,
Experimental design
Optimization techniques
design of experiments
Design of experiments
design of experiments.ppt
Cadds8.pptx
Optimization technique in pharmaceutical product development.pptx
RM_05_DOE.pdf
Doe08 gen fact
Unit 5. Design and Analysis of experiments: Factorial Design: Definition, 22,...
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL SCIENCES
Ad

More from CAChemE (20)

PDF
Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
PDF
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
PDF
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
PDF
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
PPTX
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
PPTX
Simulador de reactores químicos - COCO Simulator - Free
PPTX
Python en ciencia e ingenieria: lecciones aprendidas
PPTX
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
PPTX
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
PPTX
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
PPTX
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
PPTX
Instalar Python 2.7 y 3 en Windows (Anaconda)
PDF
El uso de Python en la Ingenieria Química - Charla Completa
PPTX
Reactor de flujo piston con MATLAB Octave
PPTX
Reactor flujo piston en MATLAB - Octave - Craqueo termico
PPTX
Simulación de reactores químicos con octave
PPTX
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
PDF
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
PDF
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
PDF
Python para resolver EDPs - Ingeniería Química - PyConES 2013
Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
Simulador de reactores químicos - COCO Simulator - Free
Python en ciencia e ingenieria: lecciones aprendidas
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
Instalar Python 2.7 y 3 en Windows (Anaconda)
El uso de Python en la Ingenieria Química - Charla Completa
Reactor de flujo piston con MATLAB Octave
Reactor flujo piston en MATLAB - Octave - Craqueo termico
Simulación de reactores químicos con octave
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
Python para resolver EDPs - Ingeniería Química - PyConES 2013
Ad

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Digital Logic Computer Design lecture notes
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
DOCX
573137875-Attendance-Management-System-original
PPTX
Welding lecture in detail for understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Project quality management in manufacturing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Digital Logic Computer Design lecture notes
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Lecture Notes Electrical Wiring System Components
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
573137875-Attendance-Management-System-original
Welding lecture in detail for understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Internet of Things (IOT) - A guide to understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Project quality management in manufacturing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

S1 - Process product optimization using design experiments and response surface methodolgy

  • 1. Process/product optimization using design of experiments and response surface methodology M. Mäkelä Sveriges landbruksuniversitet Swedish University of Agricultural Sciences Department of Forest Biomaterials and Technology Division of Biomass Technology and Chemistry Umeå, Sweden
  • 2. DOE and RSM You DOE RSM Design of experiments (DOE)  Planning experiments → Maximum information from minimized number of experiments Response Surface Methodology (RSM)  Identifying and fitting an appropriate response surface model → Statistics, regression modelling & optimization
  • 3. What to expect?  Background and philosophy  Theory  Nomenclature  Practical demonstrations and exercises (Matlab) What not?  Matrix algebra  Detailed equation studies  Statistical basics  Detailed listing of possible designs
  • 4. Contents Practical course, arranged in 4 individual sessions:  Session 1 – Introduction, factorial design, first order models  Session 2 – Matlab exercise: factorial design  Session 3 – Central composite designs, second order models, ANOVA, blocking, qualitative factors  Session 4 – Matlab exercise: practical optimization example on given data
  • 5. Session 1 Introduction  Why experimental design Factorial design  Design matrix  Model equation = coefficients  Residual  Response contour
  • 6. If the current location is known, a response surface provides information on: - Where to go - How to get there - Local maxima/minima Response surfaces
  • 7. Is there a difference? vs. ? Mäkelä et al., Appl. Energ. 131 (2014) 490.
  • 8. Research problem ܂,۾  A and B constant reagents  C reaction product (response), to be maximized  T and P reaction conditions (continuous factors), can be regulated
  • 9. Response as a contour plot What kind of equation could describe C behaviour as a function of T and P? C = f(T,P)
  • 10. What else do we want to know?  Which factors and interactions are important  Positions of local optima (if they exist)  Surface and surface function around an optimum  Direction towards an optimum  Statistical significance
  • 11. How can we do it? The expert method
  • 12. How can we do it? The shotgun method
  • 13. How can we do it? The ”Soviet” method  xk possibilities with k factors on x levels  2 factors on 4 levels = 16 experiments
  • 14. How can we do it? The classical method P fixed x T fixed
  • 15. How can we do it? Factorial design  ΔT, ΔP  Factor interaction (diagonal)
  • 16. Why experimental design?  Reduce the number of experiments → Cost, time  Extract maximal information  Understand what happens  Predict future behaviour
  • 17. Challenges  Multiple factors on multiple levels  6 factors on 3 levels, 36 experiments  Reduce number of factors  Only 2 levels → Discard factors = SCREENING 1 2 3
  • 18. Factorial design T 3 P N:o T P 1 80 2 2 120 2 3 80 3 4 120 3 2 80 120
  • 19. Factorial design T 1 P -1 1 -1 In coded levels N:o T T coded P P coded 1 80 -1 2 -1 2 120 1 2 -1 3 80 -1 3 1 4 120 1 3 1 The smallest possible full factorial design!
  • 20. Factorial design 45 75 T 1 P 25 35 -1 1 -1 Design matrix: N:o T P C 1 -1 -1 25 2 1 -1 35 3 -1 1 45 4 1 1 75
  • 21. Factorial design 45 75 T 1 P 25 35 -1 1 -1 Average T effect: T = ଻ହାଷହ ଶ െ ସହାଶହ ଶ ൌ 20 Average P effect: P = ଻ହାସହ ଶ െ ଷହାଶହ ଶ ൌ 30 Interaction (TxP) effect: TxP = ଻ହାଶହ ଶ െ ଷହାସହ ଶ ൌ 10
  • 22. Research problem ܂,۾,۹  A and B constant reagents  C reaction product (response), to be maximized  T, P and K reaction conditions (continuous factors) at two different levels  Number of experiments 23 = 9 ([levels][factors]) How to select proper factor levels?
  • 23. Research problem Empirical model: ݕࢉ ൌ ݂ ܂, ۾, ۹ ൅ ߝ ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ⋯ ൅ ߚ௞ݔ௞ ൅ ߝ In matrix notation: ܡ ൌ ܆܊ ൅ ܍ → yଵ yଶ ⋮ y୬ ൌ 1 ݔଵଵ ݔଶଵ ⋯ ݔଵ௞ 1 ݔଵଶ ݔଶଶ ⋯ ݔଶ௞ 1 ⋮ ⋮ ⋱ ⋮ 1 ݔଵ௡ ݔଶ௡ ⋯ ݔ௡௞ b଴ bଵ ⋮ b୩ ൅ eଵ eଶ ⋮ e୬ Measure Choose Unknown!
  • 24. Factorial design First step  Selection and coding of factor levels → Design matrix T = [80, 120] P = [2, 3] K = [0.5, 1] 0.5 3 1 P 2 80 120 T K
  • 25. Factorial design Factorial design matrix Notice symmetry in diffent colums  Inner product of two colums is zero  E.g. T’P = 0 This property is called orthogonality N:o Order T P K 1 -1 -1 -1 2 1 -1 -1 3 -1 1 -1 4 1 1 -1 5 -1 -1 1 6 1 -1 1 7 -1 1 1 8 1 1 1 Randomize!
  • 26. Orthogonality For a first-order orthogonal design, X’X is a diagonal matrix: ܆ ൌ െ1 െ1 1 െ1 െ1 1 1 1 , ܆ᇱ ൌ െ1 1 െ1 1 െ1 െ1 1 1 2x4 ܆ᇱ܆ ൌ െ1 1 െ1 1 െ1 െ1 1 1 4x2 െ1 െ1 1 െ1 െ1 1 1 1 2x2 ൌ 4 0 0 4 If two columns are orthogonal, corresponding variables are linearly independent, i.e., assessed independent of each other.
  • 27. Factorial design Design matrix: N:o T P K Resp. (C) 1 -1 -1 -1 60 2 1 -1 -1 72 3 -1 1 -1 54 4 1 1 -1 68 5 -1 -1 1 52 6 1 -1 1 83 7 -1 1 1 45 8 1 1 1 80 -1 1 1 45 80 54 68 52 83 60 72 -1 -1 1 T P K
  • 28. Factorial design Model equation, main terms: ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߝ where ݕ denotes response ݔ௜ factor (T, P or K) ߚ௜ coefficient ߝ residual ߚ଴ mean term (average level) N:o T P K Resp. (C) 1 -1 -1 -1 60 2 1 -1 -1 72 3 -1 1 -1 54 4 1 1 -1 68 5 -1 -1 1 52 6 1 -1 1 83 7 -1 1 1 45 8 1 1 1 80
  • 29. Factorial design Equation = coefficients ܊ ൌ b଴ bଵ bଶ bଷ ൌ 64.2 11.5 െ2.5 0.8  bo average value (mean term)  Large coefficient → important factor  Interactions usually present Due to coding, the coefficients are comparable!
  • 30. Factorial design Model equation with interactions: ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߚଵଶݔଵݔଶ ൅ ߚଵଷݔଵݔଷ ൅ ߚଶଷݔଶݔଷ ൅ ߚଵଶଷݔଵݔଶݔଷ ൅ ߝ N:o T P K TxP TxK PxK TxPxK Resp. (C) 1 -1 -1 -1 1 60 2 1 -1 -1 -1 72 3 -1 1 -1 1 54 4 1 1 -1 -1 68 5 -1 -1 1 -1 52 6 1 -1 1 1 83 7 -1 1 1 -1 45 8 1 1 1 1 80
  • 31. Factorial design - + T + - P + - K - + TxP - + TxK PxK + - Main effects and interactions:
  • 32. Factorial design Equation = coefficients ܊ ൌ b଴ bଵ bଶ bଷ bଵଶ bଵଷ bଶଷ bଵଶଷ ൌ 64.2 11.5 െ2.5 0.8 0.8 5.0 0 0.3  Large interaction b13 (TxK)  Important interaction, main effects cannot be removed → Which coefficients to include?
  • 33. Factorial design An estimate of model error needed  Center-points  Duplicated experiments  Model residual ܍ ൌ ܡ െ ܆܊ ൌ ܡ െ ࢟ෝ ݕ௜ ݁௜ ݕො௜
  • 34. Factorial design Error estimation allows significant testing Remove insignificant coefficients  Leave main effects  Important interaction, main effect cannot be removed
  • 35. Factorial design Error estimation allows significant testing Remove insignificant coefficients  Leave main effects  Important interaction, main effect cannot be removed Recalculate significance upon removal!
  • 36. Factorial design Model residuals  Checking model adequacy  Finding outliers  Normally distributed → Random error Several ways to present residuals  Possibility for response transformation
  • 37. Factorial design R2 statistic  Explained variability of measured response R2 = 0.9962  99.6% explained
  • 38. Factorial design More things to look at  Normal distribution of coefficients  Residual  Standardized residual  Residual histogram  Residual vs. time  ANOVA
  • 40. Factorial design Prediction: T = 110 K = 0.9 P = 2 (min. level) Coded location: ܠܕ ൌ 1 0.5 െ1 0.6 0.3 Predicted response: ݕො௠ ൌ 74.5 േ 2.4
  • 41. Session 1 Introduction  Why experimental design Factorial design  Design matrix  Model equation = coefficients  Residual  Response contour
  • 42. Nomenclature Factorial design Screening Design matrix Model equation Response Effect (main/interaction) Coefficient Significance Contour Residual
  • 43. Contents Practical course, arranged in 4 individual sessions:  Session 1 – Introduction, factorial design, first order models  Session 2 – Matlab exercise: factorial design  Session 3 – Central composite designs, second order models, ANOVA, blocking, qualitative factors  Session 4 – Matlab exercise: practical optimization example on given data
  • 44. Thank you for listening!  Please send me an email that you are attending the course mikko.makela@slu.se