SlideShare a Scribd company logo
1 of 37
Q1. Why is it called One-Way ANOVA ?
Q2. What does Two-Way ANOVA mean ?
Q3. What does MANOVA means ?
When to use?
CHARACTERISTICS
No. of groups 3 or more
No. of data sets 3 or more
No. of variables One
Data used in hypothesis Sample variance or the
groups
Purpose To test the significance of
the difference of the means
of three or more groups
Statistical tool to use F test
Remember:
We can use t-test to compare the
means of two independent groups.
NOTE: Comparing the mean of each groups.
When getting the difference of two independent groups → T test.
Reasons why we can’t use t-test
1. When you are comparing two means
at a time, the rest of the means under
study are ignored. With the F test, all
the means are compared
simultaneously.
Reasons why we can’t use t-test
2. When you are comparing two means at a time and making
all pairwise comparisons, the probability of rejecting the null
hypothesis when it is true is increased, since the more t tests
that are conducted, the greater is the likelihood of getting
significant differences by chance alone.
Recall: Type 1 Error → rejecting the true H₀.
Type 2 Error → accepting the false H₀.
3. The more means there are to compare, the more tests are
needed.
Assumptions for the F-test for comparing three or more
means:
1. The population from which the samples
were obtained must be normally of
approximately normally distributed
2. The samples must be independent of
one another.
3. The variances of the populations must
be equal.
F-test Estimates two Population variance:
1. Between
• Group variance - it finds the
variance of the means.
2. Within
• Group variance - it computes the
variance using all the data and is not
affected by the differences in the
means
Formula for variance:
Example 1:
A researcher wishes to try three different techniques to
lower the blood pressure of individuals diagnosed with
high blood pressure. The subjects are randomly
assigned to three groups; The first group takes
medication, the second group exercises, and the third
group follows a special diet. After four weeks, the
reduction in each persons blood pressure is recorded.
At 0.05, test the claim that there is difference in the
means. The data are shown.
Hypothesis testing:
Problem: Is there a significant mean difference among the three groups on
the reduction of their blood pressure.
Critical test: F test using one-way ANOVA
Step 1:
• H₀ : there is no significant mean difference
among the three groups on the reduction
of their blood pressure
• In symbols, µ₁ =µ₂ =µ₃ ( claim)
Medication Exercise Diet
10 6 5
12 8 9
9 3 12
15 0 8
13 2 4
x
̅ ₁= 11.8 x
̅ ₁= 3.8 x
̅ ₁= 7.6
S²= 5.7 S²= 10.2 S²= 10.3
Example 1:
Hypothesis testing:
Alternative
hypothesis:
Step 1:
There is a significant mean difference among the three groups on the reduction
of their blood pressure. In symbols, µ₁ ≠µ₂≠ µ₃ , or at least one mean is different
from the others.
(This means that the average of the reduction of blood pressure
among the three groups are not the same or at least one mean is
different from the others.)
Hypothesis testing:
Step 2: Find the critical value.
Since k= 3 and N= 15
d.f.N = k-1 = 3-1 = 2
d.f.D = N-k = 15-3 = 12
The critical value is 3.89, obtained from the f distribution table with ∝ = 0.05 .
Note:
The degrees of freedom for this F test are d.f.N = k-1, where k is the number of
groups, and d.f.D = N-k, where N is the number of the sample sizes of the groups
N = n₁ + n₂ +… + nk . The sample sizes need not be equal. The F test to compare
means is always right-tailed.
Hypothesis testing:
Step 3:
Compute the test value, using the procedure outlined here.
a.) Find the mean and variance of each sample ( these are already given).
x
̅ ₁= 11.8 x
̅ ₁= 3.8 x
̅ ₁= 7.6
S²= 5.7 S²= 10.2 S²= 10.3
Hypothesis testing:
Step 3:
b.) Find the grand mean. The grand mean, denoted by x̅gm , is the mean of all the values in
the samples.
x̅gm = ZX / N = 10 +12+9+…+4 ₌ 7.73
15
Hypothesis testing:
Step 3:
c.) Find the between-group variance, denoted by S²B
SB² = ∑ni (x̅i – x̅gm)²
k – 1
SB² = 5(11.8 – 7.73)² + 5(3.8 – 7.73)² + 5(7.6 – 7.73)²
3-1
= 104.8 = 80.07
12
Note: This formula finds the variance among the means by using the
sample sizes as weights and considers the differences in the means.
Hypothesis testing:
Step 3:
d.) find the within-group variance, denoted by S²w .
Sw² = ∑ (Ni – 1)Si² = (5-1)(5.7)+(5-1)(10.2)+(5-1)(10.3)
∑( Ni – 1) (5-1)+(5-1)+(5-1)
= 104.8 = 8.73
2
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.
Hypothesis testing:
Step 3:
e.) find the F test value.
F = SB² = 80.07
Sw² 8.73
F = 9.17
Hypothesis testing:
Step 4:
Using traditional method:
If the computed F – value is greater than the critical/tabled value, reject H0
Otherwise, do not reject H0 .
Solution:
Computed value Critical/tabled value
9.17 > 3.89
Since the computed F – value of 9.17 is greater than the
critical F – value of 3.89, the null hypothesis is rejected.
Hypothesis testing:
Step 5:
We are 95% confident that there is enough evidence to reject the claim and
conclude that at least one mean is different from the others.
How to make a summary of the
computed results for ANOVA :
Table 11-1 Analysis of Variance Summary Table
Source Sum of
squares
d.f. Mean
square
F
Between SSB k-1 MSB
Within
(error)
SSW N-k MSw
Total
In the table,
SSB = sum of squares between groups
SSw = sum of squares within groups
k= number of groups
N= n1 + n2 + … + nk = sum of sample sizes for groups
MSB = SSB ; MSW = SSW ; F = MSB
k-1 N-k MSW
How to make a summary of the
computed results for ANOVA :
Using the example we have:
Analysis of variance summary table
Source Sum of
squares
d.f. mean
square
F
Between 160.13 80.07 9.17
Within
(error)
104.80 8.73
Total 264.93
Steps in finding the F-test value for the
Analysis of Variance:
Step 1:
Find the mean variance of each sample,
( x̅1 , S1² ) , ( x̅2 , S2² ) , … , ( x̅k , SI² )
Step 2:
Find the grand mean.
x̅gm = Zx
N
Step 3:
Find the between-group variance.
SB² = ∑ni(x̅i – x̅gm)²
k – 1
Steps in finding the F-test value for the
Analysis of Variance:
Step 4:
Find the within group variance,
Sw² = ∑ (Ni – 1)Si²
∑( Ni – 1)
Step 5:
Find the F value
F = SB²
Sw²
The degrees of freedom are d.f.N. = k-1, where k is the number of groups, and d.f.D. =
N-k, where N is the sum of the sample sizes of the groups N = n1 + n2
Example 2:
Example 2:
A state employee wishes to see if there is a significant difference in the number of
employees at the interchanges of three state toll roads. The data are shown. At ∝ =
0.05, can it be concluded that there is a significant difference in the average number of
employees at each interchange?
Problem:
Is there a significant difference
Statistical tool:
F test using one-way ANOVA
Example 2:
Step 2: find the critical value since
k = 3 and N = d.f.N = k-1 = 2
d.f.D = N-k = 18-3 = 15
At ∝ = 0.05, the critical value is 3.68 .
Step 1:
H0:µ1=µ2=µ3
H1: µ1≠µ2≠µ3
(Since the mean of the three groups are not equal)
Example 2:
Pennsylvania
Turnpike
Greensburg
Bypass/Mon-
Fayette
Expressway
Beaver Valley
Expressway
7 10 1
14 1 12
32 1 1
19 0 9
10 11 1
11 1 11
x
̅ 1 = 15.5 x
̅ 2 = 4.0 x
̅ 3 = 5.8
S1² = 81.9 S2² = 25.6 S3² = 29.0
Example 2:
b.) Find the grand mean.
x̅gm = ∑X =
N
7+14+32+19+10+11+10+1+1+0+11+1+1+12+9+1+1+11
18
= 8.44
Step 3: compute test value, using the procedure
outline here.
a.) Find the mean and variance of each sample
x̅ = 15.5 x̅ = 4.0 x̅ = 5.8
S²1 = 81.9 S²2 = 25.6 S²3 = 29.0
c.) Find the between-group variance, S²B
SB² = ∑ni(x̅i – x̅gm)²
k – 1
= 6(15.5-8.44)+6(4.0-8.44)+6(5.8-8.44)
3-1
SB² = 6(49.8436)+6(19.7136)+6(6.9696) SB² = 299.58
2
d.) Find the within-group variance, S²w
Sw² = ∑(ni - 1)Si²
∑(ni - 1)
= (6-1)(81.9)+(6-1)(25.6)+(6-1)(29.0)
(6-1)+(6-1)+(6-1)
Sw² = 45.5
e.) find the F test value
F= SB² /Sw² = 229.58/45.5 = 5.05
Step 5:
Conclusion: we are 95% confident that there is enough
evidence to reject the claim and conclude that at least
one mean is different from the others.
Step 4: Decision
Computed value > critical value
5.05 > 3..68
Reject H0
What is the general purpose of ANOVA? :
One-way
ANOVA
1. Two-way
ANOVA
2. N-way
multivariate
ANOVA
3.
Researchers and students use ANOVA in many ways. The use
of ANOVA depends on the research design. Commonly,
ANOVAs are used in three ways.
What is one-way ANOVA?
A one-way ANOVA refers to the number of independent
variables—not the number of categories in each variable. A
one-way ANOVA has just one independent variable. For
example, difference in IQ can be assessed by Country, and
Country can have 2,20, or more different countries in that
variable.
What is two-way ANOVA?
A two-way ANOVA refers to an ANOVA using 2 independent
variables. Expanding the examples above, a 2-way ANOVA
can examine differences in IQ scores ( the dependent variable)
by Country ( independent variable1) and gender ( independent
variable 2).
What is two-way ANOVA?
Two-way ANOVA’s can be used to examine the
INTERACTION between the two independent variables.
Interactions indicate that differences are not uniform across all
categories of the independent variables. For example, females
may have higher IQ scores overall compared to males, and are
much greater in European Countries compared to north
American Countries.
What is N-way ANOVA?
A researchers can use many independent variables and this is
an n-way ANOVA. For example, potential differences in IQ
scores can be examined by Country, Gender, Age group,
Ethnicity, etc, simultaneously.
What are some examples of Research Questions
ANOVA can examine?
1. One-way
ANOVA
• Are there differences in GPA by
grade level (freshmen vs.
sophomores vs. juniors)?
2. Two-way
ANOVA
• Are there differences in GPA by
grade level (freshmen vs.
sophomores vs. juniors) and
gender ( male or female)?

More Related Content

Similar to test_using_one-way_analysis_of_varianceANOVA_063847.pptx

In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
bradburgess22840
 
Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docx
eve2xjazwa
 

Similar to test_using_one-way_analysis_of_varianceANOVA_063847.pptx (20)

In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
10.Analysis of Variance.ppt
10.Analysis of Variance.ppt10.Analysis of Variance.ppt
10.Analysis of Variance.ppt
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
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
 
One way anova
One way anovaOne way anova
One way anova
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
A study on the ANOVA ANALYSIS OF VARIANCE.pptx
A study on the ANOVA ANALYSIS OF VARIANCE.pptxA study on the ANOVA ANALYSIS OF VARIANCE.pptx
A study on the ANOVA ANALYSIS OF VARIANCE.pptx
 
Ttest
TtestTtest
Ttest
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
Survival.pptx
Survival.pptxSurvival.pptx
Survival.pptx
 
Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docx
 
Anova.pptx
Anova.pptxAnova.pptx
Anova.pptx
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
 

Recently uploaded

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
 
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
 
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
 

Recently uploaded (20)

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)
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
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
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .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
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard 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
 
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
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
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
 
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...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
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
 
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
 
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...
 
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.
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 

test_using_one-way_analysis_of_varianceANOVA_063847.pptx

  • 1.
  • 2. Q1. Why is it called One-Way ANOVA ? Q2. What does Two-Way ANOVA mean ? Q3. What does MANOVA means ?
  • 3. When to use? CHARACTERISTICS No. of groups 3 or more No. of data sets 3 or more No. of variables One Data used in hypothesis Sample variance or the groups Purpose To test the significance of the difference of the means of three or more groups Statistical tool to use F test
  • 4. Remember: We can use t-test to compare the means of two independent groups. NOTE: Comparing the mean of each groups. When getting the difference of two independent groups → T test.
  • 5. Reasons why we can’t use t-test 1. When you are comparing two means at a time, the rest of the means under study are ignored. With the F test, all the means are compared simultaneously.
  • 6. Reasons why we can’t use t-test 2. When you are comparing two means at a time and making all pairwise comparisons, the probability of rejecting the null hypothesis when it is true is increased, since the more t tests that are conducted, the greater is the likelihood of getting significant differences by chance alone. Recall: Type 1 Error → rejecting the true H₀. Type 2 Error → accepting the false H₀. 3. The more means there are to compare, the more tests are needed.
  • 7. Assumptions for the F-test for comparing three or more means: 1. The population from which the samples were obtained must be normally of approximately normally distributed 2. The samples must be independent of one another. 3. The variances of the populations must be equal.
  • 8. F-test Estimates two Population variance: 1. Between • Group variance - it finds the variance of the means. 2. Within • Group variance - it computes the variance using all the data and is not affected by the differences in the means Formula for variance:
  • 9. Example 1: A researcher wishes to try three different techniques to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to three groups; The first group takes medication, the second group exercises, and the third group follows a special diet. After four weeks, the reduction in each persons blood pressure is recorded. At 0.05, test the claim that there is difference in the means. The data are shown.
  • 10. Hypothesis testing: Problem: Is there a significant mean difference among the three groups on the reduction of their blood pressure. Critical test: F test using one-way ANOVA Step 1: • H₀ : there is no significant mean difference among the three groups on the reduction of their blood pressure • In symbols, µ₁ =µ₂ =µ₃ ( claim)
  • 11. Medication Exercise Diet 10 6 5 12 8 9 9 3 12 15 0 8 13 2 4 x ̅ ₁= 11.8 x ̅ ₁= 3.8 x ̅ ₁= 7.6 S²= 5.7 S²= 10.2 S²= 10.3 Example 1:
  • 12. Hypothesis testing: Alternative hypothesis: Step 1: There is a significant mean difference among the three groups on the reduction of their blood pressure. In symbols, µ₁ ≠µ₂≠ µ₃ , or at least one mean is different from the others. (This means that the average of the reduction of blood pressure among the three groups are not the same or at least one mean is different from the others.)
  • 13. Hypothesis testing: Step 2: Find the critical value. Since k= 3 and N= 15 d.f.N = k-1 = 3-1 = 2 d.f.D = N-k = 15-3 = 12 The critical value is 3.89, obtained from the f distribution table with ∝ = 0.05 . Note: The degrees of freedom for this F test are d.f.N = k-1, where k is the number of groups, and d.f.D = N-k, where N is the number of the sample sizes of the groups N = n₁ + n₂ +… + nk . The sample sizes need not be equal. The F test to compare means is always right-tailed.
  • 14. Hypothesis testing: Step 3: Compute the test value, using the procedure outlined here. a.) Find the mean and variance of each sample ( these are already given). x ̅ ₁= 11.8 x ̅ ₁= 3.8 x ̅ ₁= 7.6 S²= 5.7 S²= 10.2 S²= 10.3
  • 15. Hypothesis testing: Step 3: b.) Find the grand mean. The grand mean, denoted by x̅gm , is the mean of all the values in the samples. x̅gm = ZX / N = 10 +12+9+…+4 ₌ 7.73 15
  • 16. Hypothesis testing: Step 3: c.) Find the between-group variance, denoted by S²B SB² = ∑ni (x̅i – x̅gm)² k – 1 SB² = 5(11.8 – 7.73)² + 5(3.8 – 7.73)² + 5(7.6 – 7.73)² 3-1 = 104.8 = 80.07 12 Note: This formula finds the variance among the means by using the sample sizes as weights and considers the differences in the means.
  • 17. Hypothesis testing: Step 3: d.) find the within-group variance, denoted by S²w . Sw² = ∑ (Ni – 1)Si² = (5-1)(5.7)+(5-1)(10.2)+(5-1)(10.3) ∑( Ni – 1) (5-1)+(5-1)+(5-1) = 104.8 = 8.73 2 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.
  • 18. Hypothesis testing: Step 3: e.) find the F test value. F = SB² = 80.07 Sw² 8.73 F = 9.17
  • 19. Hypothesis testing: Step 4: Using traditional method: If the computed F – value is greater than the critical/tabled value, reject H0 Otherwise, do not reject H0 . Solution: Computed value Critical/tabled value 9.17 > 3.89 Since the computed F – value of 9.17 is greater than the critical F – value of 3.89, the null hypothesis is rejected.
  • 20. Hypothesis testing: Step 5: We are 95% confident that there is enough evidence to reject the claim and conclude that at least one mean is different from the others.
  • 21. How to make a summary of the computed results for ANOVA : Table 11-1 Analysis of Variance Summary Table Source Sum of squares d.f. Mean square F Between SSB k-1 MSB Within (error) SSW N-k MSw Total In the table, SSB = sum of squares between groups SSw = sum of squares within groups k= number of groups N= n1 + n2 + … + nk = sum of sample sizes for groups MSB = SSB ; MSW = SSW ; F = MSB k-1 N-k MSW
  • 22. How to make a summary of the computed results for ANOVA : Using the example we have: Analysis of variance summary table Source Sum of squares d.f. mean square F Between 160.13 80.07 9.17 Within (error) 104.80 8.73 Total 264.93
  • 23. Steps in finding the F-test value for the Analysis of Variance: Step 1: Find the mean variance of each sample, ( x̅1 , S1² ) , ( x̅2 , S2² ) , … , ( x̅k , SI² ) Step 2: Find the grand mean. x̅gm = Zx N Step 3: Find the between-group variance. SB² = ∑ni(x̅i – x̅gm)² k – 1
  • 24. Steps in finding the F-test value for the Analysis of Variance: Step 4: Find the within group variance, Sw² = ∑ (Ni – 1)Si² ∑( Ni – 1) Step 5: Find the F value F = SB² Sw² The degrees of freedom are d.f.N. = k-1, where k is the number of groups, and d.f.D. = N-k, where N is the sum of the sample sizes of the groups N = n1 + n2
  • 25. Example 2: Example 2: A state employee wishes to see if there is a significant difference in the number of employees at the interchanges of three state toll roads. The data are shown. At ∝ = 0.05, can it be concluded that there is a significant difference in the average number of employees at each interchange? Problem: Is there a significant difference Statistical tool: F test using one-way ANOVA
  • 26. Example 2: Step 2: find the critical value since k = 3 and N = d.f.N = k-1 = 2 d.f.D = N-k = 18-3 = 15 At ∝ = 0.05, the critical value is 3.68 . Step 1: H0:µ1=µ2=µ3 H1: µ1≠µ2≠µ3 (Since the mean of the three groups are not equal)
  • 27. Example 2: Pennsylvania Turnpike Greensburg Bypass/Mon- Fayette Expressway Beaver Valley Expressway 7 10 1 14 1 12 32 1 1 19 0 9 10 11 1 11 1 11 x ̅ 1 = 15.5 x ̅ 2 = 4.0 x ̅ 3 = 5.8 S1² = 81.9 S2² = 25.6 S3² = 29.0
  • 28. Example 2: b.) Find the grand mean. x̅gm = ∑X = N 7+14+32+19+10+11+10+1+1+0+11+1+1+12+9+1+1+11 18 = 8.44 Step 3: compute test value, using the procedure outline here. a.) Find the mean and variance of each sample x̅ = 15.5 x̅ = 4.0 x̅ = 5.8 S²1 = 81.9 S²2 = 25.6 S²3 = 29.0
  • 29. c.) Find the between-group variance, S²B SB² = ∑ni(x̅i – x̅gm)² k – 1 = 6(15.5-8.44)+6(4.0-8.44)+6(5.8-8.44) 3-1 SB² = 6(49.8436)+6(19.7136)+6(6.9696) SB² = 299.58 2
  • 30. d.) Find the within-group variance, S²w Sw² = ∑(ni - 1)Si² ∑(ni - 1) = (6-1)(81.9)+(6-1)(25.6)+(6-1)(29.0) (6-1)+(6-1)+(6-1) Sw² = 45.5 e.) find the F test value F= SB² /Sw² = 229.58/45.5 = 5.05
  • 31. Step 5: Conclusion: we are 95% confident that there is enough evidence to reject the claim and conclude that at least one mean is different from the others. Step 4: Decision Computed value > critical value 5.05 > 3..68 Reject H0
  • 32. What is the general purpose of ANOVA? : One-way ANOVA 1. Two-way ANOVA 2. N-way multivariate ANOVA 3. Researchers and students use ANOVA in many ways. The use of ANOVA depends on the research design. Commonly, ANOVAs are used in three ways.
  • 33. What is one-way ANOVA? A one-way ANOVA refers to the number of independent variables—not the number of categories in each variable. A one-way ANOVA has just one independent variable. For example, difference in IQ can be assessed by Country, and Country can have 2,20, or more different countries in that variable.
  • 34. What is two-way ANOVA? A two-way ANOVA refers to an ANOVA using 2 independent variables. Expanding the examples above, a 2-way ANOVA can examine differences in IQ scores ( the dependent variable) by Country ( independent variable1) and gender ( independent variable 2).
  • 35. What is two-way ANOVA? Two-way ANOVA’s can be used to examine the INTERACTION between the two independent variables. Interactions indicate that differences are not uniform across all categories of the independent variables. For example, females may have higher IQ scores overall compared to males, and are much greater in European Countries compared to north American Countries.
  • 36. What is N-way ANOVA? A researchers can use many independent variables and this is an n-way ANOVA. For example, potential differences in IQ scores can be examined by Country, Gender, Age group, Ethnicity, etc, simultaneously.
  • 37. What are some examples of Research Questions ANOVA can examine? 1. One-way ANOVA • Are there differences in GPA by grade level (freshmen vs. sophomores vs. juniors)? 2. Two-way ANOVA • Are there differences in GPA by grade level (freshmen vs. sophomores vs. juniors) and gender ( male or female)?

Editor's Notes

  1. A1. One way ANOVA means one variable A2. Two-Way ANOVA means two variables A3. MANOVA or N-Way ANOVA means there are more than two variables
  2. Q1. how to apply T test when there are 3 groups? A1. apply pairing ( G₁+G₂,G₂+G₃,G₁+G₄ ) Q2. How many pairs when there are 4 groups? A2. 6 pairs ( ₄C₂ ) Q3. how many pairs when there are 5 groups? A3. 10 pairs ( ₅C₂ )
  3. Note: When using T test, when will just be comparing two means and the mean of one group is ignored.
  4. Note: the more chances of committing a Type 1 Error.
  5. For instance, the study is all about ethnicity of the Academic Performance in Math among Grade 8 students. Population: Grade 8 students Groups: Cebuano, bisaya, waray & hiligaynon Q6. Is it possible to get the respondent from the different populations? A6. Yes, for as long as there population variance are equal.
  6. Note: Between – group variance → use the mean of each group to compute for the variance. Within – group variance → use all the score regardless of the groups where the data belong get the mean and compute for the variance.
  7. Q7. Is it necessary that the sample size of each group is the same? A7. No, you may apply “ proportion “ For instance, in grade 8 60 – Cebuano → n= 30 30 – Bisaya → n= 15 20 – Waray → n= 10 The more respondents will be interviewed for the higher no. of group.
  8. Note: If the mean difference of or among the three group are equal, then there is no need to proceed to hypothesis testing, accept immediately the null hypothesis.
  9. Note: if the H₀ is rejected, can we test which among the three groups where the difference lies? Answer: ANOVA cannot determine where the difference lies, instead another test will be used “ Tukey-Kramer Multi-comparison Test”. ANOVA will just show if there is a difference between the means of three groups. If there is a mean differences, then use another test.
  10. Note: x̅i = the mean of each group Ni = sample size of each group x̅gm = grand mean k = number of groups
  11. Note: the other way of solving the F – value using the mean squares MSB = Mean square of between groups MSB = SSB /k-1 , k = no. of groups SSB = sum of squares of between groups SSB = ∑ni (x̅i – x̅gm )²
  12. Note: this is how data should be presented in chapter 4. MSW = mean squares of within groups MSW = SSW / N-k SSW = sum of squares of within groups SSW = ∑ (Ni -1 ) Si²
  13. To find the F value using the mean square, follow the formula F = MSB /MSW F = 80.04/8.73 F = 9.17 same value will be desired
  14. Two-ways of solving F-value F = SB²/Sw² and F = MSB/MSw
  15. One-way ANOVA Are variable → IQ difference from different countries Q1. How to make it a Two-way ANOVA? A1. IQ difference from the different countries and gender ( two independent variables)
  16. Q. How to make it an N-way or multivariate ANOVA? A. IQ differences from the different countries, Gender, Age group, Ethnicity, Etc.