SlideShare a Scribd company logo
1 of 31
Download to read offline
ACHARYA NARENDRA DEVA UNIVERSITY OF AGRICULTURE &
TECHNOLOGY, KUMARGANJ, AYODHYA (U.P.) 224229
Assignment
on
ANOVA One way
Course No : STAT-502 4(3+1)
Course name : Statistical methods for applied sciences
Presented to : Presented by :
Dr. Vishal Mehta Vikas Yadav
Assistant Professor Id. No. A-11153/19/22
Department of Agril. Statistics Ph. D. 1st Semester
Soil Science and Agril. Chemistry
Content
• Introduction
• Condition or Assumptions
• Variation
• Basic one way ANOVA table
• Grand total
• Between group variation SS(B)
• With in group variation SS(W)
• Degree of Freedom DF
• Variances
• Results
INTRODUCTION
• ANOVA: Analysis of variation in an experimental outcome and especially
outcome and especially of a statistical variance in order to determine the
contributions of given factors or variables to the variance.
• The one-way analysis of variance is used to test the claim that three or
more population means are equal
• This is an extension of the two independent samples t-test
• The one-way is because each value is classified in
exactly one way
• Examples include comparisons by gender, race, political
party, color, etc.
Conditions or Assumptions
• The data are randomly sampled
• The variances of each sample are assumed equal
• The residuals are normally distributed
• The null hypothesis is that the means are all
equal
• The alternative hypothesis is that at least one
of the means is different
0 1 2 3
: k
H    
   
• The statistics classroom is divided into three rows: front, middle,
and back
• The instructor noticed that the further the students were from him,
the more likely they were to miss class or use an instant messenger
during class
• He wanted to see if the students further away did worse on the
exams
• A random sample of the students in each row was taken
• The score for those students on the exam was recorded
• Front: 82, 83, 97, 93, 55, 67, 53
• Middle: 83, 78, 68, 61, 77, 54, 69, 51, 63
• Back: 38, 59, 55, 66, 45, 52, 52, 61
The summary statistics for the grades of each row
are shown in the table below
Row Front Middle Back
Sample size 7 9 8
Mean 75.71 67.11 53.50
St. Dev 17.63 10.95 8.96
Variance 310.90 119.86 80.29
The ANOVA doesn’t test that one mean is less
than another, only whether they’re all equal or at
least one is different.
0
: F M B
H   
 
Variation
• Variation is the sum of the squares of the deviations between a value and the mean of
the value
• Sum of Squares is abbreviated by SS and often followed by a variable in parentheses
such as SS(B) or SS(W) so we know which sum of squares we’re talking about This is
called the total variation
• Denoted SS(Total) for the total Sum of Squares (variation)
• Sum of Squares is another name for variation
• There are two sources of variation
• The variation between the groups, SS(B), or the variation due to
the factor
• The variation within the groups, SS(W), or the variation that
can’t be explained by the factor so it’s called the error variation
Here is the basic one-way ANOVA table
Source SS df MS F p
Between
Within
Total
Grand Mean
• The grand mean is the average of all the
values when the factor is ignored
• It is a weighted average of the individual
sample means
1 1 2 2
1 2
k k
k
n x n x n x
x
n n n
  

  
1
1
k
i i
i
k
i
i
n x
x
n





• Grand Mean for our example is 65.08
     
7 75.71 9 67.11 8 53.50
7 9 8
1562
24
65.08
x
x
x
 

 


• Between Group Variation, SS(B)
• The between group variation is the variation between each
sample mean and the grand mean
• Each individual variation is weighted by the sample size
       
2 2 2
1 1 2 2 k k
SS B n x x n x x n x x
      
   
2
1
k
i i
i
SS B n x x

 

The Between Group Variation for our example is
SS(B)=1902
I know that doesn’t round to be 1902, but if you
don’t round the intermediate steps, then it does.
My goal here is to show an ANOVA table from
MINITAB and it returns 1902.
       
2 2 2
7 75.71 65.08 9 67.11 65.08 8 53.50 65.08
SS B      
  1900.8376 1902
SS B  
Within Group Variation, SS(W)
• The Within Group Variation is the weighted total of the individual
variations
• The weighting is done with the degrees of freedom
• The df for each sample is one less than the sample size for that
sample.
Within Group Variation
  2
1
k
i i
i
SS W df s

 
  2 2 2
1 1 2 2 k k
SS W df s df s df s
   
• The within group variation for our example is 3386
       
6 310.90 8 119.86 7 80.29
SS W   
  3386.31 3386
SS W  
• After filling in the sum of squares, we have …
Source SS df MS F p
Between 1902
Within 3386
Total 5288
Degrees of Freedom, df
• A degree of freedom occurs for each value that can vary before the rest
of the values are predetermined
• For example, if you had six numbers that had an average of 40, you
would know that the total had to be 240. Five of the six numbers could
be anything, but once the first five are known, the last one is fixed so
the sum is 240. The df would be 6-1=5
• The df is often one less than the number of values
• The between group df is one less than the number of groups
• We have three groups, so df(B) = 2
• The within group df is the sum of the individual df’s of each
group
• The sample sizes are 7, 9, and 8
• df(W) = 6 + 8 + 7 = 21
• The total df is one less than the sample size
• df(Total) = 24 – 1 = 23
• Filling in the degrees of freedom gives this …
Source SS df MS F p
Between 1902 2
Within 3386 21
Total 5288 23
Variances
• The variances are also called the Mean of the
Squares and abbreviated by MS, often with an
accompanying variable MS(B) or MS(W)
• They are an average squared deviation from the mean
and are found by dividing the variation by the degrees
of freedom
• MS = SS / df
Variation
Variance
df

• MS(B) = 1902 / 2 = 951.0
• MS(W) = 3386 / 21 = 161.2
• MS(T) = 5288 / 23 = 229.9
• Notice that the MS(Total) is NOT the sum of MS(Between) and
MS(Within).
• This works for the sum of squares SS(Total), but not the mean square
MS(Total)
• The MS(Total) isn’t usually shown
• Completing the MS gives …
Source SS df MS F p
Between 1902 2 951.0
Within 3386 21 161.2
Total 5288 23 229.9
• The F test is a right tail test
• The F test statistic has an F distribution with df(B) numerator df
and df(W) denominator df
• The p-value is the area to the right of the test statistic
• P(F2,21 > 5.9) = 0.009
• Completing the table with the p-value
Source SS df MS F p
Between 1902 2 951.0 5.9 0.009
Within 3386 21 161.2
Total 5288 23 229.9
Results
• The p-value is 0.009, which is less than the significance level of
0.05, so we reject the null hypothesis.
• The null hypothesis is that the means of the three rows in class
were the same, but we reject that, so at least one row has a
different mean.
• There is enough evidence to support the claim that there is a difference in
the mean scores of the front, middle, and back rows in class.
• The ANOVA doesn’t tell which row is different, you would need to look at
confidence intervals or run post hoc tests to determine that
References
• https://en.wikipedia.org/wiki/One-way_analysis_of_variance
• Ross, A., Willson, V.L. (2017). One-Way Anova. In: Basic and Advanced Statistical Tests. Sense
Publishers, Rotterdam. https://doi.org/10.1007/978-94-6351-086-8_5
• Bevans, R. (2022, November 17). One-way ANOVA | When and How to Use It (With
Examples). Scribbr. Retrieved March 13, 2023, from https://www.scribbr.com/statistics/one-way-anova

More Related Content

Similar to ANOVA One way ppt statistics.pptx

Similar to ANOVA One way ppt statistics.pptx (20)

ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
Measures of Variability.pptx
Measures of Variability.pptxMeasures of Variability.pptx
Measures of Variability.pptx
 
9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)
 
Variability
VariabilityVariability
Variability
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptx
 
Anova one way sem 1 20142015 dk
Anova one way sem 1 20142015 dkAnova one way sem 1 20142015 dk
Anova one way sem 1 20142015 dk
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
Analysis of variance(menong)
Analysis of variance(menong)Analysis of variance(menong)
Analysis of variance(menong)
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 

Recently uploaded

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Osopher
 
Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxAvaniJani1
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroomSamsung Business USA
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
An Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPAn Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPCeline George
 

Recently uploaded (20)

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
 
Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Chi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical VariableChi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical Variable
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
An Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPAn Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERP
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 

ANOVA One way ppt statistics.pptx

  • 1. ACHARYA NARENDRA DEVA UNIVERSITY OF AGRICULTURE & TECHNOLOGY, KUMARGANJ, AYODHYA (U.P.) 224229 Assignment on ANOVA One way Course No : STAT-502 4(3+1) Course name : Statistical methods for applied sciences Presented to : Presented by : Dr. Vishal Mehta Vikas Yadav Assistant Professor Id. No. A-11153/19/22 Department of Agril. Statistics Ph. D. 1st Semester Soil Science and Agril. Chemistry
  • 2. Content • Introduction • Condition or Assumptions • Variation • Basic one way ANOVA table • Grand total • Between group variation SS(B) • With in group variation SS(W) • Degree of Freedom DF • Variances • Results
  • 3. INTRODUCTION • ANOVA: Analysis of variation in an experimental outcome and especially outcome and especially of a statistical variance in order to determine the contributions of given factors or variables to the variance. • The one-way analysis of variance is used to test the claim that three or more population means are equal • This is an extension of the two independent samples t-test
  • 4. • The one-way is because each value is classified in exactly one way • Examples include comparisons by gender, race, political party, color, etc.
  • 5. Conditions or Assumptions • The data are randomly sampled • The variances of each sample are assumed equal • The residuals are normally distributed
  • 6. • The null hypothesis is that the means are all equal • The alternative hypothesis is that at least one of the means is different 0 1 2 3 : k H        
  • 7. • The statistics classroom is divided into three rows: front, middle, and back • The instructor noticed that the further the students were from him, the more likely they were to miss class or use an instant messenger during class • He wanted to see if the students further away did worse on the exams • A random sample of the students in each row was taken • The score for those students on the exam was recorded • Front: 82, 83, 97, 93, 55, 67, 53 • Middle: 83, 78, 68, 61, 77, 54, 69, 51, 63 • Back: 38, 59, 55, 66, 45, 52, 52, 61
  • 8. The summary statistics for the grades of each row are shown in the table below Row Front Middle Back Sample size 7 9 8 Mean 75.71 67.11 53.50 St. Dev 17.63 10.95 8.96 Variance 310.90 119.86 80.29
  • 9. The ANOVA doesn’t test that one mean is less than another, only whether they’re all equal or at least one is different. 0 : F M B H     
  • 10. Variation • Variation is the sum of the squares of the deviations between a value and the mean of the value • Sum of Squares is abbreviated by SS and often followed by a variable in parentheses such as SS(B) or SS(W) so we know which sum of squares we’re talking about This is called the total variation • Denoted SS(Total) for the total Sum of Squares (variation) • Sum of Squares is another name for variation
  • 11. • There are two sources of variation • The variation between the groups, SS(B), or the variation due to the factor • The variation within the groups, SS(W), or the variation that can’t be explained by the factor so it’s called the error variation
  • 12. Here is the basic one-way ANOVA table Source SS df MS F p Between Within Total
  • 13. Grand Mean • The grand mean is the average of all the values when the factor is ignored • It is a weighted average of the individual sample means 1 1 2 2 1 2 k k k n x n x n x x n n n        1 1 k i i i k i i n x x n     
  • 14. • Grand Mean for our example is 65.08       7 75.71 9 67.11 8 53.50 7 9 8 1562 24 65.08 x x x       
  • 15. • Between Group Variation, SS(B) • The between group variation is the variation between each sample mean and the grand mean • Each individual variation is weighted by the sample size         2 2 2 1 1 2 2 k k SS B n x x n x x n x x            2 1 k i i i SS B n x x    
  • 16. The Between Group Variation for our example is SS(B)=1902 I know that doesn’t round to be 1902, but if you don’t round the intermediate steps, then it does. My goal here is to show an ANOVA table from MINITAB and it returns 1902.         2 2 2 7 75.71 65.08 9 67.11 65.08 8 53.50 65.08 SS B         1900.8376 1902 SS B  
  • 17. Within Group Variation, SS(W) • The Within Group Variation is the weighted total of the individual variations • The weighting is done with the degrees of freedom • The df for each sample is one less than the sample size for that sample.
  • 18. Within Group Variation   2 1 k i i i SS W df s      2 2 2 1 1 2 2 k k SS W df s df s df s    
  • 19. • The within group variation for our example is 3386         6 310.90 8 119.86 7 80.29 SS W      3386.31 3386 SS W  
  • 20. • After filling in the sum of squares, we have … Source SS df MS F p Between 1902 Within 3386 Total 5288
  • 21. Degrees of Freedom, df • A degree of freedom occurs for each value that can vary before the rest of the values are predetermined • For example, if you had six numbers that had an average of 40, you would know that the total had to be 240. Five of the six numbers could be anything, but once the first five are known, the last one is fixed so the sum is 240. The df would be 6-1=5 • The df is often one less than the number of values
  • 22. • The between group df is one less than the number of groups • We have three groups, so df(B) = 2 • The within group df is the sum of the individual df’s of each group • The sample sizes are 7, 9, and 8 • df(W) = 6 + 8 + 7 = 21 • The total df is one less than the sample size • df(Total) = 24 – 1 = 23
  • 23. • Filling in the degrees of freedom gives this … Source SS df MS F p Between 1902 2 Within 3386 21 Total 5288 23
  • 24. Variances • The variances are also called the Mean of the Squares and abbreviated by MS, often with an accompanying variable MS(B) or MS(W) • They are an average squared deviation from the mean and are found by dividing the variation by the degrees of freedom • MS = SS / df Variation Variance df 
  • 25. • MS(B) = 1902 / 2 = 951.0 • MS(W) = 3386 / 21 = 161.2 • MS(T) = 5288 / 23 = 229.9 • Notice that the MS(Total) is NOT the sum of MS(Between) and MS(Within). • This works for the sum of squares SS(Total), but not the mean square MS(Total) • The MS(Total) isn’t usually shown
  • 26. • Completing the MS gives … Source SS df MS F p Between 1902 2 951.0 Within 3386 21 161.2 Total 5288 23 229.9
  • 27. • The F test is a right tail test • The F test statistic has an F distribution with df(B) numerator df and df(W) denominator df • The p-value is the area to the right of the test statistic • P(F2,21 > 5.9) = 0.009
  • 28. • Completing the table with the p-value Source SS df MS F p Between 1902 2 951.0 5.9 0.009 Within 3386 21 161.2 Total 5288 23 229.9
  • 29. Results • The p-value is 0.009, which is less than the significance level of 0.05, so we reject the null hypothesis. • The null hypothesis is that the means of the three rows in class were the same, but we reject that, so at least one row has a different mean.
  • 30. • There is enough evidence to support the claim that there is a difference in the mean scores of the front, middle, and back rows in class. • The ANOVA doesn’t tell which row is different, you would need to look at confidence intervals or run post hoc tests to determine that
  • 31. References • https://en.wikipedia.org/wiki/One-way_analysis_of_variance • Ross, A., Willson, V.L. (2017). One-Way Anova. In: Basic and Advanced Statistical Tests. Sense Publishers, Rotterdam. https://doi.org/10.1007/978-94-6351-086-8_5 • Bevans, R. (2022, November 17). One-way ANOVA | When and How to Use It (With Examples). Scribbr. Retrieved March 13, 2023, from https://www.scribbr.com/statistics/one-way-anova