SlideShare ist ein Scribd-Unternehmen logo
1 von 36
STATISTICS FOR ENGINEERS
AND SCIENTISTS
Farhan Alfin
Analysis of Variance
(ANOVA)
Analysis of Variance (ANOVA)
 When an F test is used to test a
hypothesis concerning the means of
three or more populations, the
technique is called analysis of
variance (ANOVA).
 Although the t test is commonly used
to compare two means, it should not
be used to compare three or more
Assumptions for the F Test for
Comparing Three or More Means
 The populations from which the samples
were obtained must be normally or
approximately normally distributed.
 The samples must be independent of each
other.
 The variances of the populations must be
equal.
 Although means are being compared in this F
test, variances are used in the test instead of
the means.
 Two different estimates of the population
variance are made.
Analysis of Variance
 Between-group variance - this involves
computing the variance by using the
means of the groups or between the
groups.
 Within-group variance - this involves
computing the variance by using all the
data and is not affected by differences
in the means.
F-test
 If there is no difference in the means, the
between-group variance will be approximately
equal to the within-group variance, and the F
test value will be close to 1 – the null
hypothesis will not be rejected
 When the means differ significantly, the
between-group variance will be much larger
than the within-group variance; the F test will
be significantly greater than 1 – the null
hypothesis will be rejected
Hypothesis in Analysis of
Variance
 The following hypotheses should be
used when testing for the difference
between three or more means.
 H0:   =  = … = k
 H1: At least one mean is different from
the others.
Degrees of Freedom in
Analysis of Variance
 d.f.N. = k – 1, where k is the number of
groups.
 d.f.D. = N – k, where N is the sum of the
sample sizes of the groups.
 The sample sizes do not need to be
equal
Procedure for Finding
F Test Value
 Step 1- Find the mean and variance of
each sample
 Step 2- Find the grand mean
 Step 3- Find the between-group
variance
 Step 4- Find the within-group variance
 Step 5- Find the F test value
Analysis of Variance
Summary Table
Source
Sum of
Square
s d.f.
Mean
Square
s F
Betwee
n
SS B k - 1 MS B
MS B
Within SS W N – k MS W
MS W
Total
Sum of Squares Between
Groups
 The sum of the squares between
groups, denoted SS B, is found using
the following formula:
1
)
( 2
2




k
X
X
S
GM
i
B
Sum of Squares Between
Groups
 The grand mean, denoted by XGM, is the
mean of all values in the samples
N
X
X
i
GM


Sum of Squares Within
Groups
 The sum of the squares within groups,
denoted SSW, is found using the following
formula:
 Note: This formula finds an overall variance by calculating
a weighted average of the individual variances; it does not
involve using differences of the means




)
1
(
2
2
i
i
w
n
S
S
The Means Squares
 The mean square values are equal to the
sum of the squares divided by the degrees
of freedom
k
N
S
MS
k
S
MS w
w
B
B




2
2
1
Analysis of Variance -Example
 A cereal chemist studied the effect of
wheat variety on test weight; he
studied 3 wheat verities. The test
weights of wheat are shown on the
table (next slide).
 Is there a significant difference in the
mean waiting times of customers for
each store using  = 0.05?
Analysis of Variance -Example
variety A variety B variety C
75 77 78
74 78 79
76 75 80
75 76 77
77 78 78
76 77 77
 Step 1: State the hypotheses and identify
the claim.
 H0:   = 
 H1: At least one mean is different from the
others (claim).
Analysis of Variance -Example
 Step 2: Find the critical value. Since
k = 3, N = 18, and  = 0.05, d.f.N. = k – 1 =
3 – 1= 2, d.f.D. = N – k = 18 – 3 = 15. The
critical value is 3.68.
 Step 3: Compute the test value. From the
MINITAB output, F = 8.35.
Analysis of Variance -Example
 Step 4: Make a decision. Since F 8.35 <
3.68, the decision is to reject the null
hypothesis.
 Step 5: Summarize the results. There is
enough evidence to support the claim that
there is a difference among the means.
Analysis of Variance -Example
Analysis of Variance -Example
Tukey Test
 The Tukey test can also be used after
the analysis of variance has been
completed to make pairwise com-
parisons between means when the
groups have the same sample size
 The symbols for the test value in the
Tukey test is q
Formula for Tukey Test
 where Xi and Xj are the means of the samples
being compared, n is the size of the sample and
sW
2 is the within-group variance
n
S
x
x
q
w
j
i
/
2


Tukey Test Results
 When the absolute value of q is
greater than the critical value for the
Tukey test, there is a significant
difference between the two means
being compared
Two-Way Analysis of
Variance
 The two-way analysis of variance is an
extension of a one way analysis of
variance already discussed; it involves
two independent variables
 The independent variables are also
called factors
Two-Way Analysis of
Variance
 Using the two-way analysis of
variance, the researcher is able to test
the effects of two independent
variables or factors on one dependent
variable
 In addition, the interaction effect of
the two variables can be used
Two-Way ANOVA Terms
 Variables or factors are changed
between two levels – two different
treatments
 The groups for a two-way ANOVA are
sometimes called treatment groups
Two-Way ANOVA Designs
 3 X 2 Desgin 3 X 3 Desgin
B1 B2
A1
A2
A3
B1 B2 B3
A1
A2
A3
Two-Way ANOVA
Null-Hypothesis
 A two-way ANOVA has several null-
hypotheses
 There is one for each independent
variable and one for the interaction
Two-Way ANOVA Summary
Table
Sourc
e
Sum of
Square
s
d.f.
Mean
Square F
A SSa a – 1 MSA FA
B SSB b – 1 MSB FB
A x B SSAxB (a-1)(b-1) MSAxB FAxB
Within
(error)
SSW ab(n-1) MSW
Total
Assumptions for the
Two-Way ANOVA
 The population from which the samples were
obtained must be normally or approximately
normally distributed
 The samples must be independent
 The variances of the population from which
the samples were selected must be equal
 The groups must be equal in sample size
Graphing Interactions
 To interpret the results of a two-way
analysis of variance, researchers
suggest drawing a graph, plotting the
means of each group, analyzing the
graph, and interpreting the results
Disordinal Interaction
 If the graph of the means has lines that
intersect each other, the interaction is
said to be disordinal
 When there is a disordinal interaction,
one should not interpret the main
effects without considering the
interaction effect
Disordinal Interaction
B-1
B-2
1 2
Ordinal Interaction
 An ordinal interaction is evident when the
lines of the graph do not cross nor are they
parallel
 If the F test value for the interaction is
significant and the lines do not cross each
other, then the interaction is said to be
ordinal and the main effects can be
interpreted differently of each other
Ordinal Interaction
No Interaction
 When there is no significant interaction
effect, the lines in the graph will be
parallel or approximately parallel
 When this simulation occurs, the main
effects can be interpreted differently of
each other because there is no
significant interaction
No Interaction
Y
X

Weitere ähnliche Inhalte

Was ist angesagt?

ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
Sharlaine Ruth
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
Tanay Tandon
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
saba khan
 

Was ist angesagt? (20)

Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Hypothesis testing and parametric test
Hypothesis testing and parametric testHypothesis testing and parametric test
Hypothesis testing and parametric test
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
 
Design of experiments
Design of experiments Design of experiments
Design of experiments
 
Introduction to ANOVAs
Introduction to ANOVAsIntroduction to ANOVAs
Introduction to ANOVAs
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
Statistical test
Statistical testStatistical test
Statistical test
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
 
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
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 

Ähnlich wie Ch7 Analysis of Variance (ANOVA)

ANOVA SNEHA.docx
ANOVA SNEHA.docxANOVA SNEHA.docx
ANOVA SNEHA.docx
SNEHA AGRAWAL GUPTA
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way Classification
Sharlaine Ruth
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
utpal sharma
 
anovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdfanovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdf
GorachandChakraborty
 

Ähnlich wie Ch7 Analysis of Variance (ANOVA) (20)

test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
ANOVA SNEHA.docx
ANOVA SNEHA.docxANOVA SNEHA.docx
ANOVA SNEHA.docx
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way Classification
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
ANOVA BIOstat short explaination .pptx
ANOVA BIOstat short explaination   .pptxANOVA BIOstat short explaination   .pptx
ANOVA BIOstat short explaination .pptx
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Anova stat 512
Anova stat 512Anova stat 512
Anova stat 512
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
anovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdfanovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdf
 
ANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdfANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdf
 
parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
anovappt-141025002857-conversion-gate01 (1)_240403_185855 (2).docx
anovappt-141025002857-conversion-gate01 (1)_240403_185855 (2).docxanovappt-141025002857-conversion-gate01 (1)_240403_185855 (2).docx
anovappt-141025002857-conversion-gate01 (1)_240403_185855 (2).docx
 
Chi2 Anova
Chi2 AnovaChi2 Anova
Chi2 Anova
 
Analysis of variance (anova)
Analysis of variance (anova)Analysis of variance (anova)
Analysis of variance (anova)
 

Mehr von Farhan Alfin

Mehr von Farhan Alfin (20)

Experimental design
Experimental designExperimental design
Experimental design
 
Principles of experimental design
Principles of experimental designPrinciples of experimental design
Principles of experimental design
 
Ch9 Correlation and Regression
Ch9 Correlation and RegressionCh9 Correlation and Regression
Ch9 Correlation and Regression
 
Ch8 Chi-Square Procedures
Ch8 Chi-Square ProceduresCh8 Chi-Square Procedures
Ch8 Chi-Square Procedures
 
Ch6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesCh6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, Variances
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
 
Ch4 Confidence Interval
Ch4 Confidence IntervalCh4 Confidence Interval
Ch4 Confidence Interval
 
Ch3 Probability and The Normal Distribution
Ch3 Probability and The Normal Distribution Ch3 Probability and The Normal Distribution
Ch3 Probability and The Normal Distribution
 
Ch2 Data Description
Ch2 Data DescriptionCh2 Data Description
Ch2 Data Description
 
Ch1 The Nature of Statistics
Ch1 The Nature of StatisticsCh1 The Nature of Statistics
Ch1 The Nature of Statistics
 
تقانة التعبئة والتغليف -8
تقانة التعبئة والتغليف -8تقانة التعبئة والتغليف -8
تقانة التعبئة والتغليف -8
 
تقانة التعبئة والتغليف -7
تقانة التعبئة والتغليف -7تقانة التعبئة والتغليف -7
تقانة التعبئة والتغليف -7
 
تقانة التعبئة والتغليف -6
تقانة التعبئة والتغليف -6تقانة التعبئة والتغليف -6
تقانة التعبئة والتغليف -6
 
تقانة التعبئة والتغليف -5
تقانة التعبئة والتغليف -5تقانة التعبئة والتغليف -5
تقانة التعبئة والتغليف -5
 
تقانة التعبئة والتغليف -4
تقانة التعبئة والتغليف -4تقانة التعبئة والتغليف -4
تقانة التعبئة والتغليف -4
 
تقانة التعبئة والتغليف -3
تقانة التعبئة والتغليف -3تقانة التعبئة والتغليف -3
تقانة التعبئة والتغليف -3
 
تقانة التعبئة والتغليف -2
تقانة التعبئة والتغليف -2تقانة التعبئة والتغليف -2
تقانة التعبئة والتغليف -2
 
تقانة التعبئة والتغليف -1
تقانة التعبئة والتغليف -1تقانة التعبئة والتغليف -1
تقانة التعبئة والتغليف -1
 
تقانة طحن القمح
تقانة طحن القمحتقانة طحن القمح
تقانة طحن القمح
 
الطحن التجريبي
الطحن التجريبيالطحن التجريبي
الطحن التجريبي
 

Kürzlich hochgeladen

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
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.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...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
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.
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Ch7 Analysis of Variance (ANOVA)

  • 1. STATISTICS FOR ENGINEERS AND SCIENTISTS Farhan Alfin Analysis of Variance (ANOVA)
  • 2. Analysis of Variance (ANOVA)  When an F test is used to test a hypothesis concerning the means of three or more populations, the technique is called analysis of variance (ANOVA).  Although the t test is commonly used to compare two means, it should not be used to compare three or more
  • 3. Assumptions for the F Test for Comparing Three or More Means  The populations from which the samples were obtained must be normally or approximately normally distributed.  The samples must be independent of each other.  The variances of the populations must be equal.  Although means are being compared in this F test, variances are used in the test instead of the means.  Two different estimates of the population variance are made.
  • 4. Analysis of Variance  Between-group variance - this involves computing the variance by using the means of the groups or between the groups.  Within-group variance - this involves computing the variance by using all the data and is not affected by differences in the means.
  • 5. F-test  If there is no difference in the means, the between-group variance will be approximately equal to the within-group variance, and the F test value will be close to 1 – the null hypothesis will not be rejected  When the means differ significantly, the between-group variance will be much larger than the within-group variance; the F test will be significantly greater than 1 – the null hypothesis will be rejected
  • 6. Hypothesis in Analysis of Variance  The following hypotheses should be used when testing for the difference between three or more means.  H0:   =  = … = k  H1: At least one mean is different from the others.
  • 7. Degrees of Freedom in Analysis of Variance  d.f.N. = k – 1, where k is the number of groups.  d.f.D. = N – k, where N is the sum of the sample sizes of the groups.  The sample sizes do not need to be equal
  • 8. Procedure for Finding F Test Value  Step 1- Find the mean and variance of each sample  Step 2- Find the grand mean  Step 3- Find the between-group variance  Step 4- Find the within-group variance  Step 5- Find the F test value
  • 9. Analysis of Variance Summary Table Source Sum of Square s d.f. Mean Square s F Betwee n SS B k - 1 MS B MS B Within SS W N – k MS W MS W Total
  • 10. Sum of Squares Between Groups  The sum of the squares between groups, denoted SS B, is found using the following formula: 1 ) ( 2 2     k X X S GM i B
  • 11. Sum of Squares Between Groups  The grand mean, denoted by XGM, is the mean of all values in the samples N X X i GM  
  • 12. Sum of Squares Within Groups  The sum of the squares within groups, denoted SSW, is found using the following formula:  Note: This formula finds an overall variance by calculating a weighted average of the individual variances; it does not involve using differences of the means     ) 1 ( 2 2 i i w n S S
  • 13. The Means Squares  The mean square values are equal to the sum of the squares divided by the degrees of freedom k N S MS k S MS w w B B     2 2 1
  • 14. Analysis of Variance -Example  A cereal chemist studied the effect of wheat variety on test weight; he studied 3 wheat verities. The test weights of wheat are shown on the table (next slide).  Is there a significant difference in the mean waiting times of customers for each store using  = 0.05?
  • 15. Analysis of Variance -Example variety A variety B variety C 75 77 78 74 78 79 76 75 80 75 76 77 77 78 78 76 77 77
  • 16.  Step 1: State the hypotheses and identify the claim.  H0:   =   H1: At least one mean is different from the others (claim). Analysis of Variance -Example
  • 17.  Step 2: Find the critical value. Since k = 3, N = 18, and  = 0.05, d.f.N. = k – 1 = 3 – 1= 2, d.f.D. = N – k = 18 – 3 = 15. The critical value is 3.68.  Step 3: Compute the test value. From the MINITAB output, F = 8.35. Analysis of Variance -Example
  • 18.  Step 4: Make a decision. Since F 8.35 < 3.68, the decision is to reject the null hypothesis.  Step 5: Summarize the results. There is enough evidence to support the claim that there is a difference among the means. Analysis of Variance -Example
  • 20. Tukey Test  The Tukey test can also be used after the analysis of variance has been completed to make pairwise com- parisons between means when the groups have the same sample size  The symbols for the test value in the Tukey test is q
  • 21. Formula for Tukey Test  where Xi and Xj are the means of the samples being compared, n is the size of the sample and sW 2 is the within-group variance n S x x q w j i / 2  
  • 22. Tukey Test Results  When the absolute value of q is greater than the critical value for the Tukey test, there is a significant difference between the two means being compared
  • 23. Two-Way Analysis of Variance  The two-way analysis of variance is an extension of a one way analysis of variance already discussed; it involves two independent variables  The independent variables are also called factors
  • 24. Two-Way Analysis of Variance  Using the two-way analysis of variance, the researcher is able to test the effects of two independent variables or factors on one dependent variable  In addition, the interaction effect of the two variables can be used
  • 25. Two-Way ANOVA Terms  Variables or factors are changed between two levels – two different treatments  The groups for a two-way ANOVA are sometimes called treatment groups
  • 26. Two-Way ANOVA Designs  3 X 2 Desgin 3 X 3 Desgin B1 B2 A1 A2 A3 B1 B2 B3 A1 A2 A3
  • 27. Two-Way ANOVA Null-Hypothesis  A two-way ANOVA has several null- hypotheses  There is one for each independent variable and one for the interaction
  • 28. Two-Way ANOVA Summary Table Sourc e Sum of Square s d.f. Mean Square F A SSa a – 1 MSA FA B SSB b – 1 MSB FB A x B SSAxB (a-1)(b-1) MSAxB FAxB Within (error) SSW ab(n-1) MSW Total
  • 29. Assumptions for the Two-Way ANOVA  The population from which the samples were obtained must be normally or approximately normally distributed  The samples must be independent  The variances of the population from which the samples were selected must be equal  The groups must be equal in sample size
  • 30. Graphing Interactions  To interpret the results of a two-way analysis of variance, researchers suggest drawing a graph, plotting the means of each group, analyzing the graph, and interpreting the results
  • 31. Disordinal Interaction  If the graph of the means has lines that intersect each other, the interaction is said to be disordinal  When there is a disordinal interaction, one should not interpret the main effects without considering the interaction effect
  • 33. Ordinal Interaction  An ordinal interaction is evident when the lines of the graph do not cross nor are they parallel  If the F test value for the interaction is significant and the lines do not cross each other, then the interaction is said to be ordinal and the main effects can be interpreted differently of each other
  • 35. No Interaction  When there is no significant interaction effect, the lines in the graph will be parallel or approximately parallel  When this simulation occurs, the main effects can be interpreted differently of each other because there is no significant interaction