You are on page 1of 26

ANALISIS DATA-S1

DESIGN OF EXPERIMENTS Santi Wulan Purnami, S.Si, M.Si, Ph.D

INSTITUT TEKNOLOGI SEPULUH NOPEMBER


(ITS)
DEPARTMENT OF STATISTICS
Surabaya - Indonesia
What is DOE
the systematic procedure carried out under
controlled conditions in order to discover an
unknown effect, to test or establish a
hypothesis

a type of research method in which you


manipulate one or more independent and
measure their effect on one or more
dependent variables

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 2


DOE Process

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 3


1. Define Problem
You want to know how phone use before bedtime affects
sleep patterns.

Specifically, you ask how the number of minutes a person


uses their phone before sleep affects the number of hours
they sleep.

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 4


2. Determine
Objective

Dependen
variable

d en
p e n b le Bagaimana
n de rua

b le n g
I va solusi?

ria di
va oun
nf
its.ac.id/statistika @its_statistics Co
intip.in/StatYT “Data Analytics for Wise Decisions” 5
3. Determine Factors and
Response

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 6


3. Determine Factors and
Response

Factor: Response:
Phone use sleep
• Nominal • Continuous:
• Ordinal hours of sleep

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 7


Which test to use when?
Response

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 8


Response

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 9


Response

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 10


4. Design
experiments

Factor: Phone
use Response: sleep
• Nominal/ordinal
• Continuous: hours
• Level: Yes/no of sleep
• Level:
no/low/high

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 11


4. Design experiments
No phone Phone use

No Sleep No Sleep No Sleep (hours) difference


(hours) (hours) No phone Phone use
1 5 1 4 1 5 4
2 6 2 5 2 6 5
3 8 3 4 3 8 4
4 6 4 6 4 6 6
5 7 5 5 5 7 5
… … … … …
n n n n n

independent dependent

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 12


5. Collect data
Study size: the more subjects you include, the
greater your experiment’s statistical power

randomly assign your subjects to treatment


groups

include a control group, which receives no


treatment.

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 13


Randomization
• every subject is assigned to a
treatment group at random.
completely
randomized design

• subjects are first grouped according to


randomized a characteristic they share, and then
randomly assigned to treatments
block design within those groups (stratified random
design)

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 14


Example
Completely randomized design Randomized block design
Phone use and sleep Subjects are all randomly assigned Subjects are first grouped by age,
a level of phone use using a and then phone use treatments
random number generator. are randomly assigned within
these groups.

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 15


its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 16
Independent vs.
repeated measures
• individuals receive only one of the
independent possible levels of an experimental
treatment.
measures design

repeated • every individual receives each of


the experimental treatments
measures consecutively, and their responses
to each treatment are measured.
design

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 17


Example
Independent measures design Repeated measures design
Phone use and sleep Subjects are randomly assigned a Subjects are assigned consecutively
level of phone use (low, medium, to low, medium, and high levels of
or high) and follow that level of phone use throughout the
phone use throughout the experiment, and the order in which
experiment. they follow these treatments is
randomized.
between-subjects design or within-subjects design or repeated-
classic ANOVA design measures ANOVA design

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 18


ANOVA
Tugas : Review ANOVA
1. Cari data dengan kriteria 1 Faktor, 3 level
2. Tulis proses DOE (mulai problem, tujuan, desain
eksperimen, analis dll)

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 19


Factorial ANOVA
A factorial ANOVA is an Analysis of Variance test with more than one independent
variable, or “factor“

A two-way ANOVA has two factors (independent variables) and one dependent variable. For
example, time spent studying and prior knowledge are factors that affect how well you do on
a test.

A three-way ANOVA has three factors (independent variables) and one dependent variable.
For example, time spent studying, prior knowledge, and hours of sleep are factors that affect
how well you do on a test

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 20


Post Hoc Test
A post hoc test is used only after we find a statistically significant result and
need to determine where our differences truly came from.

Test:
1. ?
2. ?
3. ?
4. etc

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 21


Manova
Multivariate analysis of variance (MANOVA) is an extension of the
univariate analysis of variance (ANOVA).

The MANOVA extends this analysis by taking into account multiple


continuous dependent variables

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 22


Manova
Assumptions:

1.Independent Random Sampling:


2.Level and Measurement of the Variables:
the independent variables are categorical and the dependent variables are continuous
or scale variables.
3. Absence of multicollinearity: The dependent variables cannot be too correlated to
each other.
4. Normality: Multivariate normality is present in the data.
5. Homogeneity of Variance: Variance between groups is equal.

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 23


ANCOVA
an extension of ANOVA

ANCOVA can be used in two ways (Leech et. al,


2005):
1. To control for covariates
(typically continuous or variables on a
particular scale) that aren’t the main focus of
your study.
2. To study combinations of categorical and
continuous or variables on a scale as predictors

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 24


ANCOVA
Assumptions:
1. Normality: the dependent variable should be roughly normal for each of
category of independent variables.
2. Data should show homogeneity of variance.
3. The covariate and dependent variable (at each level of independent
variable) should be linearly related.
4. Your data should be homoscedastic of Y for each value of X.
5. The covariate and the independent variable shouldn’t interact. In other
words, there should be homogeneity of regression slopes.

its.ac.id/statistika @its_statistics intip.in/StatYT “Data Analytics for Wise Decisions” 25


DEPARTMENT OF STATISTICS

- TERIMA KASIH -

its.ac.id/statistika @its_statistics 26
intip.in/StatYT “Data Analytics for Wise Decisions”

You might also like