SlideShare ist ein Scribd-Unternehmen logo
1 von 57
Learning Objectives
• Understand the differences between various
experimental designs and when to use them.
• Compute and interpret the results of a one-way
ANOVA.
• Compute and interpret the results of a random block
design.
• Compute and interpret the results of a two-way
ANOVA.
• Understand and interpret interactions between
variables.
• Know when and how to use multiple comparison
techniques.
Introduction to Design of Experiments
• Experimental Design
– A plan and a structure to test hypotheses in which
the researcher controls or manipulates one or more
variables.
Introduction to Design of Experiments
Independent Variable
• Treatment variable - one that the experimenter
controls or modifies in the experiment.
• Classification variable - a characteristic of the
experimental subjects that was present prior to the
experiment, and is not a result of the experimenter’s
manipulations or control.
• Levels or Classifications - the subcategories of the
independent variable used by the researcher in the
experimental design.
• Independent variables are also referred to as factors.
Independent Variable
• Manipulation of the independent variable
depends on the concept being studied
• Researcher studies the phenomenon under
conditions of varying aspects of the variable
Introduction to
Design of Experiments

• Dependent Variable
- the response to the different levels of the
independent variable

• Analysis of Variance (ANOVA) – a group of
statistical techniques used to analyze
experimental designs.
- ANOVA begins with notion that individual items
being studied are all the same
Three Types of Experimental Designs
• Completely Randomized Design – subjects are
assigned randomly to treatments; single
independent variable.
• Randomized Block Design – includes a blocking
variable; single independent variable.
• Factorial Experiments – two or more independent
variables are explored at the same time; every level
of each factor are studied under every level of all
other factors.
Completely Randomized Design
• The completely randomized design contains only
one independent variable with two or more
treatment levels.
• If two treatment levels of the independent variable
are present, the design is the same used to test the
difference in means of two independent
populations which uses the t test to analyze the
data.
Completely Randomized Design
Machine Operator
1

2

3

Independent Variable

4

Valve Opening
Measurements

.
.
.

.
.
.

.
.
.

.
.
.

Dependent
Variable
Completely Randomized Design
• A technique has been developed that analyzes all
the sample means at one time and precludes the
buildup of error rate: ANOVA.
• A completely randomized design is analyzed by one
way analysis of variance (One-Way Anova).
One-Way ANOVA:
Procedural Overview
𝐻0 : 𝜇1 = 𝜇2 = 𝜇3 = … . = 𝜇 𝑘
𝐻 𝑎 : at least one of the means is different from others
𝑀𝑆𝐶
𝐹=
𝑀𝑆𝐸
If 𝐹 > 𝐹 𝐶 reject 𝐻0
If 𝐹 ≤ 𝐹 𝐶 do not reject 𝐻0
Analysis of Variance
• The null hypothesis states that the population
means for all treatment levels are equal.
• Even if one of the population means is different
from the other, the null hypothesis is rejected.
• Testing the hypothesis is done by portioning the
total variance of data into the following two
variances:
- Variance resulting from the treatment (columns)
- Error variance or that portion of the total variance
unexplained by the treatment
One-Way ANOVA:
Sums of Squares Definitions
Analysis of Variance
• The total sum of square of variation is partitioned
into the sum of squares of treatment columns and
the sum of squares of error.
• ANOVA compares the relative sizes of the treatment
variation and the error variation.
• The error variation is unaccounted for variation and
can be viewed at the point as variation due to
individual differences in the groups.
• If a significant difference in treatment is present,
the treatment variation should be large relative to
the error variation.
One-Way ANOVA:
Computational Formulas

• ANOVA is used to determine statistically
whether the variance between the treatment
level means is greater than the variances
within levels (error variance)
• Assumptions underlying ANOVA
 Normally distributed populations
 Observations represent random samples from
the population
 Variances of the population are equal
One-Way ANOVA:
Computational Formulas

ANOVA is computed with the three sums of
squares:
• Total – Total Sum of Squares (SST); a measure of
all variations in the dependent variable
• Treatment – Sum of Squares Columns (SSC);
measures the variations between treatments or
columns since independent variable levels are
present in columns
• Error – Sum of Squares of Error (SSE); yields the
variations within treatments (or columns)
One-Way ANOVA:
Preliminary Calculations
1

2

3

4

6.33

6.26

6.44

6.29

6.26

6.36

6.38

6.23

6.31

6.23

6.58

6.19

6.29

6.27

6.54

6.21

6.4

6.19

6.56

6.5

6.34

6.19

6.58

6.22
Tj

T1 = 31.59

T2 = 50.22

T3 = 45.42

T4 = 24.92

T = 152.15

nj

n1 = 5

n2 = 8

n3 = 7

n4 = 4

N = 24

Mean

6.318000

6.277500

6.488571

6.230000

6.339583
One-Way ANOVA:
Sum of Squares Calculations
One-Way ANOVA:
Sum of Squares Calculations
One-Way ANOVA:
Computational Formulas
• Other items
□ MSC – Mean Squares Columns
□ MSE – Mean Squares Error
□ MST – Mean Squares Total

• F value – determined by dividing the
treatment variance (MSC) by the error
variance (MSE)
□ F value is a ratio of the treatment variance to
the error variance
One-Way ANOVA: Mean Square
and F Calculations
Analysis of Variance for Valve Openings
Source of Variance

df

Between
Error
Total

3
20
23

SS

MS

0.23658 0.078860
0.15492 0.007746
0.39150

F

10.18
F Table
• F distribution table is in Table A7.
• Associated with every F table are two unique df
variables: degrees of freedom in the numerator,
and degrees of freedom in the denominator.
• Statistical computer software packages for
computing ANOVA usually give a probability for the
F value, which allows hypothesis testing decisions
for any values of alpha .
A portion of F Table

F

.05,3, 20

df1
1

df2

2

3

4

5

6

7

8

9

1

161.45

199.50

215.71

224.58

230.16

233.99

236.77

238.88

240.54

…

…

…

…

…

…

…

…

…

…

18

4.41

3.55

3.16

2.93

2.77

2.66

2.58

2.51

2.46

19

4.38

3.52

3.13

2.90

2.74

2.63

2.54

2.48

2.42

20

4.35

3.49

3.10

2.87

2.71

2.60

2.51

2.45

2.39

21

4.32

3.47

3.07

2.84

2.68

2.57

2.49

2.42

2.37
One-Way ANOVA:
Procedural Summary




1
2

=3

Rejection Region

= 20

Non rejection
Region

Since F = 10.18 > F = 3.10, reject H0.
c

=

F

.05,9,11

= 3.10

Critical Value
Multiple Comparison Tests
• ANOVA techniques useful in testing hypothesis
about differences of means in multiple groups.
• Advantage: Probability of committing a Type I error
is controlled.
• Multiple Comparison techniques are used to
identify which pairs of means are significantly
different given that the ANOVA test reveals overall
significance.
Multiple Comparison Tests
• Multiple comparisons are used when an overall
significant difference between groups has been
determined using the F value of the analysis of
variance
• Tukey’s honestly significant difference (HSD) test
requires equal sample sizes
 Takes into consideration the number of treatment levels,
value of mean square error, and sample size
Multiple Comparison Tests
• Tukey’s Honestly Significant Difference (HSD) – also
known as the Tukey’s T method – examines the
absolute value of all differences between pairs of
means from treatment levels to determine if there
is a significant difference.
• Tukey-Kramer Procedure is used when sample sizes
are unequal.
Tukey’s Honestly Significant
Difference (HSD) Test

If comparison for a pair of means is greater than
HSD, then the means of the two treatment levels
are significantly different.
Demonstration Example Problem
A company has three manufacturing plants, and
company officials want to determine whether there is
a difference in the average age of workers at the three
locations. The following data are the ages of five
randomly selected workers at each plant. Perform a
one-way ANOVA to determine whether there is a
significant difference in the mean ages of the workers
at the three plants. Use α = 0.01 and note that the
sample sizes are equal.
Data from Demonstration Example
PLANT (Employee Age)
1
29
27
30
27
28
Group Means
nj
C=3
dfE = N - C = 12

2
32
33
31
34
30

3
25
24
24
25
26

28.2
5

32.0
5

24.8
5

MSE = 1.63
Tukey’s HSD test
• Since sample sizes are equal, Tukey’s HSD tests
can be used to compute multiple comparison tests
between groups
• To compute the HSD, the values of MSE, n and
q must be determined
q Value for ∝ = 0.01
Number of Populations
Degrees of
Freedom
1

2

3

4

5

90

135

164

186

2

14

19

22.3

24.7

3

8.26

10.6

12.2

13.3

4

6.51

8.12

9.17

9.96

11

4.39

5.14

5.62

5.97

12

4.32

5.04

5.50

5.84

.
.

...

q

= 504
.
.01,3,12
Tukey’s HSD Test
for the Employee Age Data

All three comparisons are greater than 2.88. Thus the
mean ages between any and all pairs of plants are
significantly different.
Tukey-Kramer Procedure:
The Case of Unequal Sample Sizes
Example: Mean Valve openings
produced by four operators
A valve manufacturing wants to test whether there are
any differences in the mean valve openings produced
by four different machine operators. The data follow.
Example: Mean Valve openings
produced by four operators

Operator
1
2
3
4

Sample Size
5
8
7
4

Mean
6.3180
6.2775
6.4886
6.2300
Example: Tukey-Kramer Results for
the Four Operators
Pair
1 and 2

Critical
Difference
.1405

|Actual
Differences|
.0405

1 and 3

.1443

.1706*

1 and 4

.1653

.0880

2 and 3

.1275

.2111*

2 and 4

.1509

.0475

3 and 4

.1545

.2586*

*denotes significant at =.05
Randomized Block Design
• Randomized block design - focuses on one
independent variable (treatment variable) of
interest.
• Includes a second variable (blocking variable) used
to control for confounding or concomitant
variables.
• A Blocking Variable can have an effect on the
outcome of the treatment being studied
• A blocking variable is a variable a researchers wants
to control but not a treatment variable of interest.
Randomized Block Design
Independent Variable
1

2

3

4

.
.

.

Blocking
Variable

.
.
.

.
.
.

.
.
.

.
.
.
.

Individual
Observations
Examples: Blocking Variable
• In the study of growth patterns of varieties of seeds
for a given type of plant, different plots of ground
work as blocks.
• Machine number, worker, shift, day of the week etc.
• Gender, Age, Intelligence, Economic level of
subjects
• Brand, Supplier, Vehicle etc.
Randomized Block Design
• Repeated measures design - is a design in which
each block level is an individual item or person, and
that person or item is measured across all
treatments
• A special case of Randomized Block Design
Randomized Block Design
• The sum of squares in a completely randomized
design is
 SST = SSC + SSE
• In a randomized block design, the sum of squares is
 SST = SSC + SSR + SSE
• SSR (blocking effects) comes out of the SSE
 Some error in variation in randomized design are
due to the blocking effects of the randomized
block design
Randomized Block Design Treatment
Effects: Procedural Overview
• The observed F value for treatments computed
using the randomized block design formula is tested
by comparing it to a table F value.
• If the observed F value is greater than the table
value, the null hypothesis is rejected for that alpha
value.
• If the F value for blocks is greater than the critical
F value, the null hypothesis that all block
population means are equal is rejected.
Randomized Block Design Treatment
Effects: Procedural Overview
Randomized Block Design:
Computational Formulas
C

SSC = n ( X j  X )
j =1
n

SSR = C  ( X
i =1
n
n

i X )

2

df
df

SSE =   ( X ij  X i  X i  X )
j =1 i =1
n
n

SST =   ( X ij  X )
j =1 i =1

SSC
MSC =
C 1
SSR
MSR =
n 1
SSE
MSE =
N  n  C 1
MSC
F treatments = MSE
MSR
=
F blocks MSE

2

where: i
j
C
n

=
=
=
=

2

R

df

E

df

2

C

E

= C 1
= n 1
=  C  1 n  1 = N  n  C  1
= N 1

block group (row)
a treatment level (column)
number of treatment levels (columns)
number of observations in each treatment level (number of blocks - rows)

X = individual observation
X = treatment (column) mean
X = block (row) mean
ij

j

i

X = grand mean
N = total number of observations

SSC
SSR
SSE
SST

=
=
=
=

sum of squares columns (treatment)
sum of squares rows (blocking)
sum of squares error
sum of squares total
Randomized Block Design:
Tread-Wear Example
As an example of the application of the randomized
block design, consider a tire company that developed a
new tire. The company conducted tread-wear tests on
the tire to determine whether there is a significant
difference in tread wear if the average speed with
which the automobile is driven varies. The company
set up an experiment in which the independent
variable was speed of automobile. There were three
treatment levels.
Randomized Block Design:
Tread-Wear Example
Speed
Supplier

Slow

Medium

Fast

Block
Means
( X )
i

1

4.5

3.1

3.77

2

n=5

3.7
3.4

3.9

2.8

3.37

3

3.5

4.1

3.0

3.53

4

3.2

3.5

2.6

3.10

5

3.9

4.8

3.4

4.03

3.54

4.16

2.98

3.56

Treatment
Means( X )
j

C=3

N = 15

X
Randomized Block Design:
Sum of Squares Calculations (Part 1)
Randomized Block Design:
Sum of Squares Calculations (Part 2)
Randomized Block Design:
Mean Square Calculations
Analysis of Variance
for the Tread-Wear Example
Source of Variance
Treatment
Block
Error
Total

SS
3.484
1.541
0.143
5.176

df
2
4
8
14

MS
F
1.742 97.45
0.38525 21.72
0.017875
Randomized Block Design
Treatment Effects: Procedural Summary
Randomized Block Design
Treatment Effects: Procedural Overview
Randomized Block Design:
Tread-Wear Example
• Because the observed value of F for treatment
(97.45) is greater than this critical F value, the null
hypothesis is rejected.
 At least one of the population means of the
treatment levels is not the same as the others.
 There is a significant difference in tread wear for
cars driven at different speeds
• The F value for treatment with the blocking was
97.45 and without the blocking was 12.44
 By using the random block design, a much larger
observed F value was obtained.
Factorial Design (Two way Anova)
Column Treatment

.
.

.

Row
Treatment

.
.
.

.
.
.

.
.
.

.
.
.
.

Cells
Two-Way ANOVA: Hypotheses
Formulas for Computing a
Two-Way ANOVA

Weitere ähnliche Inhalte

Was ist angesagt?

11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solution
Krunal Shah
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 

Was ist angesagt? (20)

One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis Tests
 
Chapter 11
Chapter 11 Chapter 11
Chapter 11
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
estimation
estimationestimation
estimation
 
BA401_Genentech
BA401_GenentechBA401_Genentech
BA401_Genentech
 
Chi square Test Using SPSS
Chi square Test Using SPSSChi square Test Using SPSS
Chi square Test Using SPSS
 
FUNCTIONAL LEVEL STRATEGY.pptx
FUNCTIONAL LEVEL STRATEGY.pptxFUNCTIONAL LEVEL STRATEGY.pptx
FUNCTIONAL LEVEL STRATEGY.pptx
 
Zara : it for fast fashion
Zara : it for fast fashionZara : it for fast fashion
Zara : it for fast fashion
 
Test for the proportion of success and difference between of proportion of s...
Test for the  proportion of success and difference between of proportion of s...Test for the  proportion of success and difference between of proportion of s...
Test for the proportion of success and difference between of proportion of s...
 
Chap008
Chap008Chap008
Chap008
 
Chi square
Chi squareChi square
Chi square
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
TruEarth Healthy Food
TruEarth Healthy FoodTruEarth Healthy Food
TruEarth Healthy Food
 
Chapter 08
Chapter 08 Chapter 08
Chapter 08
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter 09
Chapter 09 Chapter 09
Chapter 09
 
11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solution
 
Propecia section b_group3
Propecia section b_group3Propecia section b_group3
Propecia section b_group3
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 

Andere mochten auch (6)

Experimental design data analysis
Experimental design data analysisExperimental design data analysis
Experimental design data analysis
 
497experiments
497experiments497experiments
497experiments
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Introduction to Anova
Introduction to AnovaIntroduction to Anova
Introduction to Anova
 

Ähnlich wie Statr session 19 and 20

(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
SilvaGraf83
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
MoseStaton39
 

Ähnlich wie Statr session 19 and 20 (20)

Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
QM Unit II.pptx
QM Unit II.pptxQM Unit II.pptx
QM Unit II.pptx
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
Worked examples of sampling uncertainty evaluation
Worked examples of sampling uncertainty evaluationWorked examples of sampling uncertainty evaluation
Worked examples of sampling uncertainty evaluation
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
 
Experimental Design
Experimental  DesignExperimental  Design
Experimental Design
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologists
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Variance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeriVariance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeri
 
data analysis in research.pptx
data analysis in research.pptxdata analysis in research.pptx
data analysis in research.pptx
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
EXPERIMENTAL RESEARCH DESIGN
EXPERIMENTAL RESEARCH DESIGNEXPERIMENTAL RESEARCH DESIGN
EXPERIMENTAL RESEARCH DESIGN
 
EXPERIMENTAL RESEARCH DESIGN
EXPERIMENTAL RESEARCH DESIGNEXPERIMENTAL RESEARCH DESIGN
EXPERIMENTAL RESEARCH DESIGN
 

Mehr von Ruru Chowdhury

Mehr von Ruru Chowdhury (19)

The One With The Wizards and Dragons. Prelims
The One With The Wizards and Dragons. PrelimsThe One With The Wizards and Dragons. Prelims
The One With The Wizards and Dragons. Prelims
 
The One With The Wizards and Dragons. Finals
The One With The Wizards and Dragons. FinalsThe One With The Wizards and Dragons. Finals
The One With The Wizards and Dragons. Finals
 
Statr session 25 and 26
Statr session 25 and 26Statr session 25 and 26
Statr session 25 and 26
 
Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24
 
Statr session 21 and 22
Statr session 21 and 22Statr session 21 and 22
Statr session 21 and 22
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
 
Statr session 15 and 16
Statr session 15 and 16Statr session 15 and 16
Statr session 15 and 16
 
Statr session14, Jan 11
Statr session14, Jan 11Statr session14, Jan 11
Statr session14, Jan 11
 
Statr sessions 11 to 12
Statr sessions 11 to 12Statr sessions 11 to 12
Statr sessions 11 to 12
 
Nosql part3
Nosql part3Nosql part3
Nosql part3
 
Nosql part1 8th December
Nosql part1 8th December Nosql part1 8th December
Nosql part1 8th December
 
Nosql part 2
Nosql part 2Nosql part 2
Nosql part 2
 
Statr sessions 9 to 10
Statr sessions 9 to 10Statr sessions 9 to 10
Statr sessions 9 to 10
 
R part iii
R part iiiR part iii
R part iii
 
R part II
R part IIR part II
R part II
 
Statr sessions 7 to 8
Statr sessions 7 to 8Statr sessions 7 to 8
Statr sessions 7 to 8
 
R part I
R part IR part I
R part I
 
Statr sessions 4 to 6
Statr sessions 4 to 6Statr sessions 4 to 6
Statr sessions 4 to 6
 
Statistics with R
Statistics with R Statistics with R
Statistics with R
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Kürzlich hochgeladen (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Statr session 19 and 20

  • 1. Learning Objectives • Understand the differences between various experimental designs and when to use them. • Compute and interpret the results of a one-way ANOVA. • Compute and interpret the results of a random block design. • Compute and interpret the results of a two-way ANOVA. • Understand and interpret interactions between variables. • Know when and how to use multiple comparison techniques.
  • 2. Introduction to Design of Experiments • Experimental Design – A plan and a structure to test hypotheses in which the researcher controls or manipulates one or more variables.
  • 3. Introduction to Design of Experiments Independent Variable • Treatment variable - one that the experimenter controls or modifies in the experiment. • Classification variable - a characteristic of the experimental subjects that was present prior to the experiment, and is not a result of the experimenter’s manipulations or control. • Levels or Classifications - the subcategories of the independent variable used by the researcher in the experimental design. • Independent variables are also referred to as factors.
  • 4. Independent Variable • Manipulation of the independent variable depends on the concept being studied • Researcher studies the phenomenon under conditions of varying aspects of the variable
  • 5. Introduction to Design of Experiments • Dependent Variable - the response to the different levels of the independent variable • Analysis of Variance (ANOVA) – a group of statistical techniques used to analyze experimental designs. - ANOVA begins with notion that individual items being studied are all the same
  • 6. Three Types of Experimental Designs • Completely Randomized Design – subjects are assigned randomly to treatments; single independent variable. • Randomized Block Design – includes a blocking variable; single independent variable. • Factorial Experiments – two or more independent variables are explored at the same time; every level of each factor are studied under every level of all other factors.
  • 7. Completely Randomized Design • The completely randomized design contains only one independent variable with two or more treatment levels. • If two treatment levels of the independent variable are present, the design is the same used to test the difference in means of two independent populations which uses the t test to analyze the data.
  • 8. Completely Randomized Design Machine Operator 1 2 3 Independent Variable 4 Valve Opening Measurements . . . . . . . . . . . . Dependent Variable
  • 9. Completely Randomized Design • A technique has been developed that analyzes all the sample means at one time and precludes the buildup of error rate: ANOVA. • A completely randomized design is analyzed by one way analysis of variance (One-Way Anova).
  • 10. One-Way ANOVA: Procedural Overview 𝐻0 : 𝜇1 = 𝜇2 = 𝜇3 = … . = 𝜇 𝑘 𝐻 𝑎 : at least one of the means is different from others 𝑀𝑆𝐶 𝐹= 𝑀𝑆𝐸 If 𝐹 > 𝐹 𝐶 reject 𝐻0 If 𝐹 ≤ 𝐹 𝐶 do not reject 𝐻0
  • 11. Analysis of Variance • The null hypothesis states that the population means for all treatment levels are equal. • Even if one of the population means is different from the other, the null hypothesis is rejected. • Testing the hypothesis is done by portioning the total variance of data into the following two variances: - Variance resulting from the treatment (columns) - Error variance or that portion of the total variance unexplained by the treatment
  • 12. One-Way ANOVA: Sums of Squares Definitions
  • 13. Analysis of Variance • The total sum of square of variation is partitioned into the sum of squares of treatment columns and the sum of squares of error. • ANOVA compares the relative sizes of the treatment variation and the error variation. • The error variation is unaccounted for variation and can be viewed at the point as variation due to individual differences in the groups. • If a significant difference in treatment is present, the treatment variation should be large relative to the error variation.
  • 14. One-Way ANOVA: Computational Formulas • ANOVA is used to determine statistically whether the variance between the treatment level means is greater than the variances within levels (error variance) • Assumptions underlying ANOVA  Normally distributed populations  Observations represent random samples from the population  Variances of the population are equal
  • 15. One-Way ANOVA: Computational Formulas ANOVA is computed with the three sums of squares: • Total – Total Sum of Squares (SST); a measure of all variations in the dependent variable • Treatment – Sum of Squares Columns (SSC); measures the variations between treatments or columns since independent variable levels are present in columns • Error – Sum of Squares of Error (SSE); yields the variations within treatments (or columns)
  • 16. One-Way ANOVA: Preliminary Calculations 1 2 3 4 6.33 6.26 6.44 6.29 6.26 6.36 6.38 6.23 6.31 6.23 6.58 6.19 6.29 6.27 6.54 6.21 6.4 6.19 6.56 6.5 6.34 6.19 6.58 6.22 Tj T1 = 31.59 T2 = 50.22 T3 = 45.42 T4 = 24.92 T = 152.15 nj n1 = 5 n2 = 8 n3 = 7 n4 = 4 N = 24 Mean 6.318000 6.277500 6.488571 6.230000 6.339583
  • 17. One-Way ANOVA: Sum of Squares Calculations
  • 18. One-Way ANOVA: Sum of Squares Calculations
  • 19. One-Way ANOVA: Computational Formulas • Other items □ MSC – Mean Squares Columns □ MSE – Mean Squares Error □ MST – Mean Squares Total • F value – determined by dividing the treatment variance (MSC) by the error variance (MSE) □ F value is a ratio of the treatment variance to the error variance
  • 20. One-Way ANOVA: Mean Square and F Calculations
  • 21. Analysis of Variance for Valve Openings Source of Variance df Between Error Total 3 20 23 SS MS 0.23658 0.078860 0.15492 0.007746 0.39150 F 10.18
  • 22. F Table • F distribution table is in Table A7. • Associated with every F table are two unique df variables: degrees of freedom in the numerator, and degrees of freedom in the denominator. • Statistical computer software packages for computing ANOVA usually give a probability for the F value, which allows hypothesis testing decisions for any values of alpha .
  • 23. A portion of F Table F .05,3, 20 df1 1 df2 2 3 4 5 6 7 8 9 1 161.45 199.50 215.71 224.58 230.16 233.99 236.77 238.88 240.54 … … … … … … … … … … 18 4.41 3.55 3.16 2.93 2.77 2.66 2.58 2.51 2.46 19 4.38 3.52 3.13 2.90 2.74 2.63 2.54 2.48 2.42 20 4.35 3.49 3.10 2.87 2.71 2.60 2.51 2.45 2.39 21 4.32 3.47 3.07 2.84 2.68 2.57 2.49 2.42 2.37
  • 24. One-Way ANOVA: Procedural Summary   1 2 =3 Rejection Region = 20 Non rejection Region Since F = 10.18 > F = 3.10, reject H0. c = F .05,9,11 = 3.10 Critical Value
  • 25. Multiple Comparison Tests • ANOVA techniques useful in testing hypothesis about differences of means in multiple groups. • Advantage: Probability of committing a Type I error is controlled. • Multiple Comparison techniques are used to identify which pairs of means are significantly different given that the ANOVA test reveals overall significance.
  • 26. Multiple Comparison Tests • Multiple comparisons are used when an overall significant difference between groups has been determined using the F value of the analysis of variance • Tukey’s honestly significant difference (HSD) test requires equal sample sizes  Takes into consideration the number of treatment levels, value of mean square error, and sample size
  • 27. Multiple Comparison Tests • Tukey’s Honestly Significant Difference (HSD) – also known as the Tukey’s T method – examines the absolute value of all differences between pairs of means from treatment levels to determine if there is a significant difference. • Tukey-Kramer Procedure is used when sample sizes are unequal.
  • 28. Tukey’s Honestly Significant Difference (HSD) Test If comparison for a pair of means is greater than HSD, then the means of the two treatment levels are significantly different.
  • 29. Demonstration Example Problem A company has three manufacturing plants, and company officials want to determine whether there is a difference in the average age of workers at the three locations. The following data are the ages of five randomly selected workers at each plant. Perform a one-way ANOVA to determine whether there is a significant difference in the mean ages of the workers at the three plants. Use α = 0.01 and note that the sample sizes are equal.
  • 30. Data from Demonstration Example PLANT (Employee Age) 1 29 27 30 27 28 Group Means nj C=3 dfE = N - C = 12 2 32 33 31 34 30 3 25 24 24 25 26 28.2 5 32.0 5 24.8 5 MSE = 1.63
  • 31. Tukey’s HSD test • Since sample sizes are equal, Tukey’s HSD tests can be used to compute multiple comparison tests between groups • To compute the HSD, the values of MSE, n and q must be determined
  • 32. q Value for ∝ = 0.01 Number of Populations Degrees of Freedom 1 2 3 4 5 90 135 164 186 2 14 19 22.3 24.7 3 8.26 10.6 12.2 13.3 4 6.51 8.12 9.17 9.96 11 4.39 5.14 5.62 5.97 12 4.32 5.04 5.50 5.84 . . ... q = 504 . .01,3,12
  • 33. Tukey’s HSD Test for the Employee Age Data All three comparisons are greater than 2.88. Thus the mean ages between any and all pairs of plants are significantly different.
  • 34. Tukey-Kramer Procedure: The Case of Unequal Sample Sizes
  • 35. Example: Mean Valve openings produced by four operators A valve manufacturing wants to test whether there are any differences in the mean valve openings produced by four different machine operators. The data follow.
  • 36. Example: Mean Valve openings produced by four operators Operator 1 2 3 4 Sample Size 5 8 7 4 Mean 6.3180 6.2775 6.4886 6.2300
  • 37. Example: Tukey-Kramer Results for the Four Operators Pair 1 and 2 Critical Difference .1405 |Actual Differences| .0405 1 and 3 .1443 .1706* 1 and 4 .1653 .0880 2 and 3 .1275 .2111* 2 and 4 .1509 .0475 3 and 4 .1545 .2586* *denotes significant at =.05
  • 38. Randomized Block Design • Randomized block design - focuses on one independent variable (treatment variable) of interest. • Includes a second variable (blocking variable) used to control for confounding or concomitant variables. • A Blocking Variable can have an effect on the outcome of the treatment being studied • A blocking variable is a variable a researchers wants to control but not a treatment variable of interest.
  • 39. Randomized Block Design Independent Variable 1 2 3 4 . . . Blocking Variable . . . . . . . . . . . . . Individual Observations
  • 40. Examples: Blocking Variable • In the study of growth patterns of varieties of seeds for a given type of plant, different plots of ground work as blocks. • Machine number, worker, shift, day of the week etc. • Gender, Age, Intelligence, Economic level of subjects • Brand, Supplier, Vehicle etc.
  • 41. Randomized Block Design • Repeated measures design - is a design in which each block level is an individual item or person, and that person or item is measured across all treatments • A special case of Randomized Block Design
  • 42. Randomized Block Design • The sum of squares in a completely randomized design is  SST = SSC + SSE • In a randomized block design, the sum of squares is  SST = SSC + SSR + SSE • SSR (blocking effects) comes out of the SSE  Some error in variation in randomized design are due to the blocking effects of the randomized block design
  • 43. Randomized Block Design Treatment Effects: Procedural Overview • The observed F value for treatments computed using the randomized block design formula is tested by comparing it to a table F value. • If the observed F value is greater than the table value, the null hypothesis is rejected for that alpha value. • If the F value for blocks is greater than the critical F value, the null hypothesis that all block population means are equal is rejected.
  • 44. Randomized Block Design Treatment Effects: Procedural Overview
  • 45. Randomized Block Design: Computational Formulas C SSC = n ( X j  X ) j =1 n SSR = C  ( X i =1 n n i X ) 2 df df SSE =   ( X ij  X i  X i  X ) j =1 i =1 n n SST =   ( X ij  X ) j =1 i =1 SSC MSC = C 1 SSR MSR = n 1 SSE MSE = N  n  C 1 MSC F treatments = MSE MSR = F blocks MSE 2 where: i j C n = = = = 2 R df E df 2 C E = C 1 = n 1 =  C  1 n  1 = N  n  C  1 = N 1 block group (row) a treatment level (column) number of treatment levels (columns) number of observations in each treatment level (number of blocks - rows) X = individual observation X = treatment (column) mean X = block (row) mean ij j i X = grand mean N = total number of observations SSC SSR SSE SST = = = = sum of squares columns (treatment) sum of squares rows (blocking) sum of squares error sum of squares total
  • 46. Randomized Block Design: Tread-Wear Example As an example of the application of the randomized block design, consider a tire company that developed a new tire. The company conducted tread-wear tests on the tire to determine whether there is a significant difference in tread wear if the average speed with which the automobile is driven varies. The company set up an experiment in which the independent variable was speed of automobile. There were three treatment levels.
  • 47. Randomized Block Design: Tread-Wear Example Speed Supplier Slow Medium Fast Block Means ( X ) i 1 4.5 3.1 3.77 2 n=5 3.7 3.4 3.9 2.8 3.37 3 3.5 4.1 3.0 3.53 4 3.2 3.5 2.6 3.10 5 3.9 4.8 3.4 4.03 3.54 4.16 2.98 3.56 Treatment Means( X ) j C=3 N = 15 X
  • 48. Randomized Block Design: Sum of Squares Calculations (Part 1)
  • 49. Randomized Block Design: Sum of Squares Calculations (Part 2)
  • 50. Randomized Block Design: Mean Square Calculations
  • 51. Analysis of Variance for the Tread-Wear Example Source of Variance Treatment Block Error Total SS 3.484 1.541 0.143 5.176 df 2 4 8 14 MS F 1.742 97.45 0.38525 21.72 0.017875
  • 52. Randomized Block Design Treatment Effects: Procedural Summary
  • 53. Randomized Block Design Treatment Effects: Procedural Overview
  • 54. Randomized Block Design: Tread-Wear Example • Because the observed value of F for treatment (97.45) is greater than this critical F value, the null hypothesis is rejected.  At least one of the population means of the treatment levels is not the same as the others.  There is a significant difference in tread wear for cars driven at different speeds • The F value for treatment with the blocking was 97.45 and without the blocking was 12.44  By using the random block design, a much larger observed F value was obtained.
  • 55. Factorial Design (Two way Anova) Column Treatment . . . Row Treatment . . . . . . . . . . . . . Cells
  • 57. Formulas for Computing a Two-Way ANOVA