SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
‹#› Het begint met een idee
Experiment design
(advanced)
Ivano Malavolta
Vrije Universiteit Amsterdam
Advanced design types
Instrumentation
2
Roadmap
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
3
Line of reasoning
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
We can have the following cases:
● 1 factor and 2 treatments (1F-2T)
● 1 factor and >2 treatments (1F-MT)
● 2 factors and 2 treatments (2F-2T)
● >2 factors, each one with >=2 treatments (MF-MT)
4
Advanced design types
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
5
2 factors
● Things become more complex
● Interaction must be modeled:
○ 𝜏i : effect of treatment i (level of factor A)
○ 𝛽j : effect of treatment j (level of factor B)
○ (𝜏𝛽)ij : effect of the interaction between 𝜏i and 𝛽j
● Two factors may interact with each other
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
6
Definition of effect
Ivano Malavolta / S2 group / Experiment design
● Null hypothesis: no difference in means
● Typical model of an outcome (dependent variable):
○ Yij = 𝜇 + Ti + error
Outcome for
subject j
under
treatment i
Average
of all
values
Effect of
treatment i
(offset)
Vrije Universiteit Amsterdam
7
Definition of effect
Ivano Malavolta / S2 group / Experiment design
𝜇 = avg(Y) Ti = avg(Yi) - avg(Y)
𝜇 𝜇 + Ti
𝜑(Y)
Y
Vrije Universiteit Amsterdam
8
Interaction
Interaction: non-additive effects between factors
Additive model
Yij = 𝜇 + 𝜏i + 𝛽j + error
Non-Additive model
Yij = 𝜇 + 𝜏i + 𝛽j + (𝜏𝛽)ij + error
https://goo.gl/XUq8tp
Vrije Universiteit Amsterdam
9
2 factors, 2 treatments (2F-2T)
Ivano Malavolta / S2 group / Experiment design
● Example:
○ Objects: 8 applications
○ Factor 1: Connection Protocol
■ Treatment 1: HTTP
■ Treatment 2: HTTPS
○ Factor 2: Sorting Algorithm
■ Treatment 1: BubbleSort
■ Treatment 2: QuickSort
Vrije Universiteit Amsterdam
10
2F-2T: factorial design
Ivano Malavolta / S2 group / Experiment design
● Consider all possible combinations of treatments
● Each treatment is randomly assigned to experimental objects
● Balanced design: each combination is assigned to an equal number of objects
Factor 1:
Connection Protocol
Treatment 1:
HTTP
Treatment 2:
HTTPS
Factor 2:
Sorting
Treatment 1:
BubbleSort
Application 4,6 Application 1,7
Treatment 2:
QuickSort
Application 2,3 Application 5,8
Vrije Universiteit Amsterdam
11
2F-2T: factorial design
Ivano Malavolta / S2 group / Experiment design
● 𝜇i: mean of the dependent variable for treatment i
● 𝜇i=avg(P)
● 𝜏i : effect of treatment i (HTTP/HTTPS) of factor A (Conn. Protocol)
● 𝛽j : effect of treatment j (Bubble/Quick) of factor B (Sorting)
● (𝜏𝛽)ij : effect of the interaction between 𝜏i and 𝛽j
Vrije Universiteit Amsterdam
12
2F-2T: factorial design
Ivano Malavolta / S2 group / Experiment design
Null hypothesis: H0A: 𝜏1 = 𝜏2 = 0
Null hypothesis: H0B: 𝛽1 = 𝛽2 = 0
Null hypothesis: H0AB: (𝜏𝛽)ij = 0 ∀ i,j
Vrije Universiteit Amsterdam
13
2F-2T: factorial design
Ivano Malavolta / S2 group / Experiment design
Alternative hypothesis: H1A: ∃ i | 𝜏i ≠ 0
Alternative hypothesis: H1AB: ∃ (i,j) | (𝜏𝛽)ij ≠ 0
Alternative hypothesis: H1B: ∃ j | 𝛽j ≠ 0
Vrije Universiteit Amsterdam
14
2F-2T: 2-stage nested design
Ivano Malavolta / S2 group / Experiment design
● Example:
○ Objects: 8 applications
○ Factor 1: Interface
■ Treatment 1: Web-based
■ Treatment 2: Client-based
○ Factor 2: Programming Language
■ Treatment 1,1: PHP
■ Treatment 1,2: ASP
■ Treatment 2,1: Java
■ Treatment 2,2: C++
Vrije Universiteit Amsterdam
15
2F-2T: 2-stage nested design
Ivano Malavolta / S2 group / Experiment design
● One of the two factors has different treatments with respect to the other factor
● Balanced design, randomized application
Factor 1:
Interface
Treatment 1:
Web-based
Treatment 2:
Client-based
Factor 2:
Programming Language
Factor 2:
Programming Language
Treatment 1,1:
PHP
Treatment 1,2:
ASP
Treatment 2,1:
Java
Treatment 1,2:
C++
Application 1,3 Application 6,2 Application 7,8 Application 5,4
Vrije Universiteit Amsterdam
16
More than 2 factors
Ivano Malavolta / S2 group / Experiment design
● Number of experimental groups explodes
● Total number of trials is at least n*n
● More trials = more subjects (larger sample size)
Vrije Universiteit Amsterdam
17
Factorial designs
FULL-COVERAGE
○ every possible combination of all the alternatives of all
the factors
N = #trials
k = #factors
ni = #levels for i-th factor
Vrije Universiteit Amsterdam
18
Factorial designs
Discover the effects of each factor and its interactions with the
other factors
BEWARE: combinatorial curse
N = #trials
k = #factors
ni = #levels for i-th factor
SOLUTIONS?
Vrije Universiteit Amsterdam
19
Latin square designs
Ivano Malavolta / S2 group / Experiment design
● Latin Square: an n x n array with n different symbols
● Divide factors in main factor and co-factors (or blocking factor)
○ Levels of the main factors are the "letters” (in the cells)
○ Levels of the co-factors are rows and columns
● All levels of the main factor occurs per each blocking factor
Vrije Universiteit Amsterdam
20
Latin square designs
Ivano Malavolta / S2 group / Experiment design
● 3 factors
○ Code Size: Small, Medium, Large (Main Factor)
○ Programming Language: Java, C++, C (Blocking Factor)
○ Operating System: Windows, Linux, OS X (Blocking Factor)
● Total number of groups:
○ Full 33 factorial design: 27
○ Latin Square: 9
Vrije Universiteit Amsterdam
21
Latin square designs
Ivano Malavolta / S2 group / Experiment design
Factor 1:
Programming Language
Treatment 1:
Java
Treatment 2:
C++
Treatment 3:
C
Factor 2:
Operating
System
Treatment 1:
Windows Small Medium Large
Treatment 2:
Linux Medium Large Small
Treatment 2:
OS X Large Small Medium
Vrije Universiteit Amsterdam
22
Another example
● Main factor: object-orientation of language (A, B, C, D)
● Co-factor 1: size of the project (Very small to Very large)
● Co-factor 2: team experience (T1, T2, T3, T4)
Vrije Universiteit Amsterdam
23
Pitfalls of Latin squares
Ivano Malavolta / S2 group / Experiment design
● Incomplete or partial design
○ Key: balancing + randomization
● Assumption: factors do not interact
● Randomization is limited by design
Vrije Universiteit Amsterdam
24
Latin squares applicabile to 1-factor studies
● 1 factor - 1 block
Uninteresting factor
Factor of interest
Vrije Universiteit Amsterdam
25
Latin squares applicabile to 1-factor studies
● 1 factor à2 blocks
It is equivalent to superimposing two different Latin squares:
Vrije Universiteit Amsterdam
26
Instrumentation
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
27
Instrumentation
● Instrumentation must not affect our control of the experiment
Goal: Provide a way to conduct and monitor the experiment
● Types of instrumentation:
○ Objects (e.g. servers, apps)
○ Guidelines (checklists, documentation)
○ Measurement tools (power meters, profiling software, etc.)
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
● You know how to design an experiment
● Experiment design is an essential choice when doing an
experiment
● Constraints on statistical methods
● If possible, use a simple design
● Maximize the usage of the available objects
▪ automation will be your friend here
28
What this lecture means to you?
Ivano Malavolta / S2 group / Experiment design
Vrije Universiteit Amsterdam
29 Ivano Malavolta / S2 group / Experiment design
Readings
Chapter 8 Chapter 5
IMPORTANT - Checklist for making a good experiment design
(section 5.9)

Contenu connexe

Tendances

[03-A] Experiment planning
[03-A] Experiment planning[03-A] Experiment planning
[03-A] Experiment planningIvano Malavolta
 
[13 - B] Experiment reporting
[13 - B] Experiment reporting[13 - B] Experiment reporting
[13 - B] Experiment reportingIvano Malavolta
 
The Green Lab - [09 B] Experiment validity
The Green Lab - [09  B] Experiment validityThe Green Lab - [09  B] Experiment validity
The Green Lab - [09 B] Experiment validityIvano Malavolta
 
The Green Lab - [02 B] Experiment scoping
The Green Lab - [02 B] Experiment scopingThe Green Lab - [02 B] Experiment scoping
The Green Lab - [02 B] Experiment scopingIvano Malavolta
 
The Green Lab - [03 A] Experiment planning
The Green Lab - [03 A] Experiment planningThe Green Lab - [03 A] Experiment planning
The Green Lab - [03 A] Experiment planningIvano Malavolta
 
[09-A] Statistical tests and effect size
[09-A] Statistical tests and effect size[09-A] Statistical tests and effect size
[09-A] Statistical tests and effect sizeIvano Malavolta
 
[03-B] Measurement theory basics
[03-B] Measurement theory basics[03-B] Measurement theory basics
[03-B] Measurement theory basicsIvano Malavolta
 
The Green Lab - [02 A] The experimental process
The Green Lab - [02 A] The experimental processThe Green Lab - [02 A] The experimental process
The Green Lab - [02 A] The experimental processIvano Malavolta
 
[13 - A] Experiment validity
[13 - A] Experiment validity[13 - A] Experiment validity
[13 - A] Experiment validityIvano Malavolta
 
The Green Lab - [07-A] Data Analysis
The Green Lab - [07-A] Data AnalysisThe Green Lab - [07-A] Data Analysis
The Green Lab - [07-A] Data AnalysisGiuseppe Procaccianti
 
The Green Lab - [11-A] Data Visualization
The Green Lab - [11-A] Data VisualizationThe Green Lab - [11-A] Data Visualization
The Green Lab - [11-A] Data VisualizationGiuseppe Procaccianti
 
[07-B] Statistical hypothesis testing
[07-B] Statistical hypothesis testing[07-B] Statistical hypothesis testing
[07-B] Statistical hypothesis testingIvano Malavolta
 
[01-B] Empirical software engineering
[01-B] Empirical software engineering[01-B] Empirical software engineering
[01-B] Empirical software engineeringIvano Malavolta
 
The Green Lab - [13 B] Future research challenges
The Green Lab - [13 B] Future research challengesThe Green Lab - [13 B] Future research challenges
The Green Lab - [13 B] Future research challengesIvano Malavolta
 
The Green Lab - [12-A] Data visualization in R
The Green Lab - [12-A] Data visualization in RThe Green Lab - [12-A] Data visualization in R
The Green Lab - [12-A] Data visualization in RGiuseppe Procaccianti
 
[07-A] Descriptive Statistics and data exploration
[07-A] Descriptive Statistics and data exploration[07-A] Descriptive Statistics and data exploration
[07-A] Descriptive Statistics and data explorationIvano Malavolta
 
Analysis results-of-multiple-choice-tests
Analysis results-of-multiple-choice-testsAnalysis results-of-multiple-choice-tests
Analysis results-of-multiple-choice-testsyousra_zarli
 
Cause effect graphing technique
Cause effect graphing techniqueCause effect graphing technique
Cause effect graphing techniqueAnkush Kumar
 

Tendances (20)

[03-A] Experiment planning
[03-A] Experiment planning[03-A] Experiment planning
[03-A] Experiment planning
 
[13 - B] Experiment reporting
[13 - B] Experiment reporting[13 - B] Experiment reporting
[13 - B] Experiment reporting
 
The Green Lab - [09 B] Experiment validity
The Green Lab - [09  B] Experiment validityThe Green Lab - [09  B] Experiment validity
The Green Lab - [09 B] Experiment validity
 
The Green Lab - [02 B] Experiment scoping
The Green Lab - [02 B] Experiment scopingThe Green Lab - [02 B] Experiment scoping
The Green Lab - [02 B] Experiment scoping
 
The Green Lab - [03 A] Experiment planning
The Green Lab - [03 A] Experiment planningThe Green Lab - [03 A] Experiment planning
The Green Lab - [03 A] Experiment planning
 
[09-A] Statistical tests and effect size
[09-A] Statistical tests and effect size[09-A] Statistical tests and effect size
[09-A] Statistical tests and effect size
 
[03-B] Measurement theory basics
[03-B] Measurement theory basics[03-B] Measurement theory basics
[03-B] Measurement theory basics
 
The Green Lab - [02 A] The experimental process
The Green Lab - [02 A] The experimental processThe Green Lab - [02 A] The experimental process
The Green Lab - [02 A] The experimental process
 
[13 - A] Experiment validity
[13 - A] Experiment validity[13 - A] Experiment validity
[13 - A] Experiment validity
 
The Green Lab - [07-A] Data Analysis
The Green Lab - [07-A] Data AnalysisThe Green Lab - [07-A] Data Analysis
The Green Lab - [07-A] Data Analysis
 
The Green Lab - [11-A] Data Visualization
The Green Lab - [11-A] Data VisualizationThe Green Lab - [11-A] Data Visualization
The Green Lab - [11-A] Data Visualization
 
[07-B] Statistical hypothesis testing
[07-B] Statistical hypothesis testing[07-B] Statistical hypothesis testing
[07-B] Statistical hypothesis testing
 
[01-B] Empirical software engineering
[01-B] Empirical software engineering[01-B] Empirical software engineering
[01-B] Empirical software engineering
 
The Green Lab - [13 B] Future research challenges
The Green Lab - [13 B] Future research challengesThe Green Lab - [13 B] Future research challenges
The Green Lab - [13 B] Future research challenges
 
The Green Lab - [12-A] Data visualization in R
The Green Lab - [12-A] Data visualization in RThe Green Lab - [12-A] Data visualization in R
The Green Lab - [12-A] Data visualization in R
 
[07-A] Descriptive Statistics and data exploration
[07-A] Descriptive Statistics and data exploration[07-A] Descriptive Statistics and data exploration
[07-A] Descriptive Statistics and data exploration
 
Analysis results-of-multiple-choice-tests
Analysis results-of-multiple-choice-testsAnalysis results-of-multiple-choice-tests
Analysis results-of-multiple-choice-tests
 
Resume_xuezhi
Resume_xuezhiResume_xuezhi
Resume_xuezhi
 
Cause effect graphing technique
Cause effect graphing techniqueCause effect graphing technique
Cause effect graphing technique
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 

Similaire à [05-B] Experiment design (advanced)

Setting up an A/B-testing framework
Setting up an A/B-testing frameworkSetting up an A/B-testing framework
Setting up an A/B-testing frameworkAgnes van Belle
 
Visual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationVisual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationDaniele Di Mitri
 
Planning for power systems
Planning for power systemsPlanning for power systems
Planning for power systemsOlivier Teytaud
 
Introduction to Epistemic Network Analysis
Introduction to Epistemic Network AnalysisIntroduction to Epistemic Network Analysis
Introduction to Epistemic Network AnalysisVitomir Kovanovic
 
Shantanu Kulkarni Research Career Interests
Shantanu Kulkarni Research Career InterestsShantanu Kulkarni Research Career Interests
Shantanu Kulkarni Research Career Interestssdkulkar
 
Algorithms
AlgorithmsAlgorithms
AlgorithmsDevMix
 
(141205) Masters_Thesis_Defense_Sundong_Kim
(141205) Masters_Thesis_Defense_Sundong_Kim(141205) Masters_Thesis_Defense_Sundong_Kim
(141205) Masters_Thesis_Defense_Sundong_KimSundong Kim
 
Analysis of algorithms
Analysis of algorithmsAnalysis of algorithms
Analysis of algorithmsGanesh Solanke
 
Dynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsDynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsOlivier Teytaud
 
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)Teck Nam Ang
 
130321 zephyrin soh - on the effect of exploration strategies on maintenanc...
130321   zephyrin soh - on the effect of exploration strategies on maintenanc...130321   zephyrin soh - on the effect of exploration strategies on maintenanc...
130321 zephyrin soh - on the effect of exploration strategies on maintenanc...Ptidej Team
 
Literate programming and reproducible research
Literate programming and reproducible researchLiterate programming and reproducible research
Literate programming and reproducible researchEric Fraga
 
YMER210765.pdffffffff fddddddddddddddddd
YMER210765.pdffffffff fdddddddddddddddddYMER210765.pdffffffff fddddddddddddddddd
YMER210765.pdffffffff fddddddddddddddddd031SolankiViveka
 

Similaire à [05-B] Experiment design (advanced) (15)

Setting up an A/B-testing framework
Setting up an A/B-testing frameworkSetting up an A/B-testing framework
Setting up an A/B-testing framework
 
Visual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationVisual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentation
 
Planning for power systems
Planning for power systemsPlanning for power systems
Planning for power systems
 
Introduction to Epistemic Network Analysis
Introduction to Epistemic Network AnalysisIntroduction to Epistemic Network Analysis
Introduction to Epistemic Network Analysis
 
Shantanu Kulkarni Research Career Interests
Shantanu Kulkarni Research Career InterestsShantanu Kulkarni Research Career Interests
Shantanu Kulkarni Research Career Interests
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
(141205) Masters_Thesis_Defense_Sundong_Kim
(141205) Masters_Thesis_Defense_Sundong_Kim(141205) Masters_Thesis_Defense_Sundong_Kim
(141205) Masters_Thesis_Defense_Sundong_Kim
 
Analysis of algorithms
Analysis of algorithmsAnalysis of algorithms
Analysis of algorithms
 
Python4HPC.pptx
Python4HPC.pptxPython4HPC.pptx
Python4HPC.pptx
 
Dynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsDynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systems
 
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)
Introduction to Design of Experiments by Teck Nam Ang (University of Malaya)
 
130321 zephyrin soh - on the effect of exploration strategies on maintenanc...
130321   zephyrin soh - on the effect of exploration strategies on maintenanc...130321   zephyrin soh - on the effect of exploration strategies on maintenanc...
130321 zephyrin soh - on the effect of exploration strategies on maintenanc...
 
PMP Preparation - 11 Risk Management
PMP Preparation - 11 Risk ManagementPMP Preparation - 11 Risk Management
PMP Preparation - 11 Risk Management
 
Literate programming and reproducible research
Literate programming and reproducible researchLiterate programming and reproducible research
Literate programming and reproducible research
 
YMER210765.pdffffffff fddddddddddddddddd
YMER210765.pdffffffff fdddddddddddddddddYMER210765.pdffffffff fddddddddddddddddd
YMER210765.pdffffffff fddddddddddddddddd
 

Plus de Ivano Malavolta

Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...Ivano Malavolta
 
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)
The Green Lab - Research cocktail  @Vrije Universiteit Amsterdam (October 2020)The Green Lab - Research cocktail  @Vrije Universiteit Amsterdam (October 2020)
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)Ivano Malavolta
 
Software sustainability and Green IT
Software sustainability and Green ITSoftware sustainability and Green IT
Software sustainability and Green ITIvano Malavolta
 
Navigation-aware and Personalized Prefetching of Network Requests in Android ...
Navigation-aware and Personalized Prefetching of Network Requests in Android ...Navigation-aware and Personalized Prefetching of Network Requests in Android ...
Navigation-aware and Personalized Prefetching of Network Requests in Android ...Ivano Malavolta
 
How Maintainability Issues of Android Apps Evolve [ICSME 2018]
How Maintainability Issues of Android Apps Evolve [ICSME 2018]How Maintainability Issues of Android Apps Evolve [ICSME 2018]
How Maintainability Issues of Android Apps Evolve [ICSME 2018]Ivano Malavolta
 
Collaborative Model-Driven Software Engineering: a Classification Framework a...
Collaborative Model-Driven Software Engineering: a Classification Framework a...Collaborative Model-Driven Software Engineering: a Classification Framework a...
Collaborative Model-Driven Software Engineering: a Classification Framework a...Ivano Malavolta
 
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...Ivano Malavolta
 
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...Ivano Malavolta
 
Modeling behaviour via UML state machines [Software Design] [Computer Science...
Modeling behaviour via UML state machines [Software Design] [Computer Science...Modeling behaviour via UML state machines [Software Design] [Computer Science...
Modeling behaviour via UML state machines [Software Design] [Computer Science...Ivano Malavolta
 
Object-oriented design patterns in UML [Software Design] [Computer Science] [...
Object-oriented design patterns in UML [Software Design] [Computer Science] [...Object-oriented design patterns in UML [Software Design] [Computer Science] [...
Object-oriented design patterns in UML [Software Design] [Computer Science] [...Ivano Malavolta
 
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...Ivano Malavolta
 
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...Ivano Malavolta
 
Modeling and abstraction, software development process [Software Design] [Com...
Modeling and abstraction, software development process [Software Design] [Com...Modeling and abstraction, software development process [Software Design] [Com...
Modeling and abstraction, software development process [Software Design] [Com...Ivano Malavolta
 
[2017/2018] Agile development
[2017/2018] Agile development[2017/2018] Agile development
[2017/2018] Agile developmentIvano Malavolta
 
Reconstructing microservice-based architectures
Reconstructing microservice-based architecturesReconstructing microservice-based architectures
Reconstructing microservice-based architecturesIvano Malavolta
 
[2017/2018] AADL - Architecture Analysis and Design Language
[2017/2018] AADL - Architecture Analysis and Design Language[2017/2018] AADL - Architecture Analysis and Design Language
[2017/2018] AADL - Architecture Analysis and Design LanguageIvano Malavolta
 
[2017/2018] Architectural languages
[2017/2018] Architectural languages[2017/2018] Architectural languages
[2017/2018] Architectural languagesIvano Malavolta
 
[2017/2018] Introduction to Software Architecture
[2017/2018] Introduction to Software Architecture[2017/2018] Introduction to Software Architecture
[2017/2018] Introduction to Software ArchitectureIvano Malavolta
 
[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineeringIvano Malavolta
 

Plus de Ivano Malavolta (20)

Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
 
The H2020 experience
The H2020 experienceThe H2020 experience
The H2020 experience
 
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)
The Green Lab - Research cocktail  @Vrije Universiteit Amsterdam (October 2020)The Green Lab - Research cocktail  @Vrije Universiteit Amsterdam (October 2020)
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)
 
Software sustainability and Green IT
Software sustainability and Green ITSoftware sustainability and Green IT
Software sustainability and Green IT
 
Navigation-aware and Personalized Prefetching of Network Requests in Android ...
Navigation-aware and Personalized Prefetching of Network Requests in Android ...Navigation-aware and Personalized Prefetching of Network Requests in Android ...
Navigation-aware and Personalized Prefetching of Network Requests in Android ...
 
How Maintainability Issues of Android Apps Evolve [ICSME 2018]
How Maintainability Issues of Android Apps Evolve [ICSME 2018]How Maintainability Issues of Android Apps Evolve [ICSME 2018]
How Maintainability Issues of Android Apps Evolve [ICSME 2018]
 
Collaborative Model-Driven Software Engineering: a Classification Framework a...
Collaborative Model-Driven Software Engineering: a Classification Framework a...Collaborative Model-Driven Software Engineering: a Classification Framework a...
Collaborative Model-Driven Software Engineering: a Classification Framework a...
 
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
 
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
 
Modeling behaviour via UML state machines [Software Design] [Computer Science...
Modeling behaviour via UML state machines [Software Design] [Computer Science...Modeling behaviour via UML state machines [Software Design] [Computer Science...
Modeling behaviour via UML state machines [Software Design] [Computer Science...
 
Object-oriented design patterns in UML [Software Design] [Computer Science] [...
Object-oriented design patterns in UML [Software Design] [Computer Science] [...Object-oriented design patterns in UML [Software Design] [Computer Science] [...
Object-oriented design patterns in UML [Software Design] [Computer Science] [...
 
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
 
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
 
Modeling and abstraction, software development process [Software Design] [Com...
Modeling and abstraction, software development process [Software Design] [Com...Modeling and abstraction, software development process [Software Design] [Com...
Modeling and abstraction, software development process [Software Design] [Com...
 
[2017/2018] Agile development
[2017/2018] Agile development[2017/2018] Agile development
[2017/2018] Agile development
 
Reconstructing microservice-based architectures
Reconstructing microservice-based architecturesReconstructing microservice-based architectures
Reconstructing microservice-based architectures
 
[2017/2018] AADL - Architecture Analysis and Design Language
[2017/2018] AADL - Architecture Analysis and Design Language[2017/2018] AADL - Architecture Analysis and Design Language
[2017/2018] AADL - Architecture Analysis and Design Language
 
[2017/2018] Architectural languages
[2017/2018] Architectural languages[2017/2018] Architectural languages
[2017/2018] Architectural languages
 
[2017/2018] Introduction to Software Architecture
[2017/2018] Introduction to Software Architecture[2017/2018] Introduction to Software Architecture
[2017/2018] Introduction to Software Architecture
 
[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering
 

Dernier

Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 

Dernier (20)

Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

[05-B] Experiment design (advanced)

  • 1. ‹#› Het begint met een idee Experiment design (advanced) Ivano Malavolta
  • 2. Vrije Universiteit Amsterdam Advanced design types Instrumentation 2 Roadmap Ivano Malavolta / S2 group / Experiment design
  • 3. Vrije Universiteit Amsterdam 3 Line of reasoning Ivano Malavolta / S2 group / Experiment design
  • 4. Vrije Universiteit Amsterdam We can have the following cases: ● 1 factor and 2 treatments (1F-2T) ● 1 factor and >2 treatments (1F-MT) ● 2 factors and 2 treatments (2F-2T) ● >2 factors, each one with >=2 treatments (MF-MT) 4 Advanced design types Ivano Malavolta / S2 group / Experiment design
  • 5. Vrije Universiteit Amsterdam 5 2 factors ● Things become more complex ● Interaction must be modeled: ○ 𝜏i : effect of treatment i (level of factor A) ○ 𝛽j : effect of treatment j (level of factor B) ○ (𝜏𝛽)ij : effect of the interaction between 𝜏i and 𝛽j ● Two factors may interact with each other Ivano Malavolta / S2 group / Experiment design
  • 6. Vrije Universiteit Amsterdam 6 Definition of effect Ivano Malavolta / S2 group / Experiment design ● Null hypothesis: no difference in means ● Typical model of an outcome (dependent variable): ○ Yij = 𝜇 + Ti + error Outcome for subject j under treatment i Average of all values Effect of treatment i (offset)
  • 7. Vrije Universiteit Amsterdam 7 Definition of effect Ivano Malavolta / S2 group / Experiment design 𝜇 = avg(Y) Ti = avg(Yi) - avg(Y) 𝜇 𝜇 + Ti 𝜑(Y) Y
  • 8. Vrije Universiteit Amsterdam 8 Interaction Interaction: non-additive effects between factors Additive model Yij = 𝜇 + 𝜏i + 𝛽j + error Non-Additive model Yij = 𝜇 + 𝜏i + 𝛽j + (𝜏𝛽)ij + error https://goo.gl/XUq8tp
  • 9. Vrije Universiteit Amsterdam 9 2 factors, 2 treatments (2F-2T) Ivano Malavolta / S2 group / Experiment design ● Example: ○ Objects: 8 applications ○ Factor 1: Connection Protocol ■ Treatment 1: HTTP ■ Treatment 2: HTTPS ○ Factor 2: Sorting Algorithm ■ Treatment 1: BubbleSort ■ Treatment 2: QuickSort
  • 10. Vrije Universiteit Amsterdam 10 2F-2T: factorial design Ivano Malavolta / S2 group / Experiment design ● Consider all possible combinations of treatments ● Each treatment is randomly assigned to experimental objects ● Balanced design: each combination is assigned to an equal number of objects Factor 1: Connection Protocol Treatment 1: HTTP Treatment 2: HTTPS Factor 2: Sorting Treatment 1: BubbleSort Application 4,6 Application 1,7 Treatment 2: QuickSort Application 2,3 Application 5,8
  • 11. Vrije Universiteit Amsterdam 11 2F-2T: factorial design Ivano Malavolta / S2 group / Experiment design ● 𝜇i: mean of the dependent variable for treatment i ● 𝜇i=avg(P) ● 𝜏i : effect of treatment i (HTTP/HTTPS) of factor A (Conn. Protocol) ● 𝛽j : effect of treatment j (Bubble/Quick) of factor B (Sorting) ● (𝜏𝛽)ij : effect of the interaction between 𝜏i and 𝛽j
  • 12. Vrije Universiteit Amsterdam 12 2F-2T: factorial design Ivano Malavolta / S2 group / Experiment design Null hypothesis: H0A: 𝜏1 = 𝜏2 = 0 Null hypothesis: H0B: 𝛽1 = 𝛽2 = 0 Null hypothesis: H0AB: (𝜏𝛽)ij = 0 ∀ i,j
  • 13. Vrije Universiteit Amsterdam 13 2F-2T: factorial design Ivano Malavolta / S2 group / Experiment design Alternative hypothesis: H1A: ∃ i | 𝜏i ≠ 0 Alternative hypothesis: H1AB: ∃ (i,j) | (𝜏𝛽)ij ≠ 0 Alternative hypothesis: H1B: ∃ j | 𝛽j ≠ 0
  • 14. Vrije Universiteit Amsterdam 14 2F-2T: 2-stage nested design Ivano Malavolta / S2 group / Experiment design ● Example: ○ Objects: 8 applications ○ Factor 1: Interface ■ Treatment 1: Web-based ■ Treatment 2: Client-based ○ Factor 2: Programming Language ■ Treatment 1,1: PHP ■ Treatment 1,2: ASP ■ Treatment 2,1: Java ■ Treatment 2,2: C++
  • 15. Vrije Universiteit Amsterdam 15 2F-2T: 2-stage nested design Ivano Malavolta / S2 group / Experiment design ● One of the two factors has different treatments with respect to the other factor ● Balanced design, randomized application Factor 1: Interface Treatment 1: Web-based Treatment 2: Client-based Factor 2: Programming Language Factor 2: Programming Language Treatment 1,1: PHP Treatment 1,2: ASP Treatment 2,1: Java Treatment 1,2: C++ Application 1,3 Application 6,2 Application 7,8 Application 5,4
  • 16. Vrije Universiteit Amsterdam 16 More than 2 factors Ivano Malavolta / S2 group / Experiment design ● Number of experimental groups explodes ● Total number of trials is at least n*n ● More trials = more subjects (larger sample size)
  • 17. Vrije Universiteit Amsterdam 17 Factorial designs FULL-COVERAGE ○ every possible combination of all the alternatives of all the factors N = #trials k = #factors ni = #levels for i-th factor
  • 18. Vrije Universiteit Amsterdam 18 Factorial designs Discover the effects of each factor and its interactions with the other factors BEWARE: combinatorial curse N = #trials k = #factors ni = #levels for i-th factor SOLUTIONS?
  • 19. Vrije Universiteit Amsterdam 19 Latin square designs Ivano Malavolta / S2 group / Experiment design ● Latin Square: an n x n array with n different symbols ● Divide factors in main factor and co-factors (or blocking factor) ○ Levels of the main factors are the "letters” (in the cells) ○ Levels of the co-factors are rows and columns ● All levels of the main factor occurs per each blocking factor
  • 20. Vrije Universiteit Amsterdam 20 Latin square designs Ivano Malavolta / S2 group / Experiment design ● 3 factors ○ Code Size: Small, Medium, Large (Main Factor) ○ Programming Language: Java, C++, C (Blocking Factor) ○ Operating System: Windows, Linux, OS X (Blocking Factor) ● Total number of groups: ○ Full 33 factorial design: 27 ○ Latin Square: 9
  • 21. Vrije Universiteit Amsterdam 21 Latin square designs Ivano Malavolta / S2 group / Experiment design Factor 1: Programming Language Treatment 1: Java Treatment 2: C++ Treatment 3: C Factor 2: Operating System Treatment 1: Windows Small Medium Large Treatment 2: Linux Medium Large Small Treatment 2: OS X Large Small Medium
  • 22. Vrije Universiteit Amsterdam 22 Another example ● Main factor: object-orientation of language (A, B, C, D) ● Co-factor 1: size of the project (Very small to Very large) ● Co-factor 2: team experience (T1, T2, T3, T4)
  • 23. Vrije Universiteit Amsterdam 23 Pitfalls of Latin squares Ivano Malavolta / S2 group / Experiment design ● Incomplete or partial design ○ Key: balancing + randomization ● Assumption: factors do not interact ● Randomization is limited by design
  • 24. Vrije Universiteit Amsterdam 24 Latin squares applicabile to 1-factor studies ● 1 factor - 1 block Uninteresting factor Factor of interest
  • 25. Vrije Universiteit Amsterdam 25 Latin squares applicabile to 1-factor studies ● 1 factor à2 blocks It is equivalent to superimposing two different Latin squares:
  • 26. Vrije Universiteit Amsterdam 26 Instrumentation Ivano Malavolta / S2 group / Experiment design
  • 27. Vrije Universiteit Amsterdam 27 Instrumentation ● Instrumentation must not affect our control of the experiment Goal: Provide a way to conduct and monitor the experiment ● Types of instrumentation: ○ Objects (e.g. servers, apps) ○ Guidelines (checklists, documentation) ○ Measurement tools (power meters, profiling software, etc.) Ivano Malavolta / S2 group / Experiment design
  • 28. Vrije Universiteit Amsterdam ● You know how to design an experiment ● Experiment design is an essential choice when doing an experiment ● Constraints on statistical methods ● If possible, use a simple design ● Maximize the usage of the available objects ▪ automation will be your friend here 28 What this lecture means to you? Ivano Malavolta / S2 group / Experiment design
  • 29. Vrije Universiteit Amsterdam 29 Ivano Malavolta / S2 group / Experiment design Readings Chapter 8 Chapter 5 IMPORTANT - Checklist for making a good experiment design (section 5.9)