SlideShare a Scribd company logo
Analysis of Variance: Example
Learning ANOVA through an example 
• All students were 
given a math test. 
• Ahead of time, the 
students were 
randomly assigned to one of three experimental 
groups (but they did not know about it). 
• After the first math test, the teacher behaved differently 
with members of the three different experimental groups. 
• Data from Section 42 of Success at Statistics by Pyrczak
Creating different conditions in the groups 
• Regardless of their 
actual performance 
on the test, the 
teacher … 
• Gave massive amounts of praise for any correct answers 
to students in Group A. 
• Gave moderate amounts of praise for any correct answers 
to students in Group B. 
• Gave no praise for correct answers, just their score, to 
students in Group C.
Then the variable of interest was 
measured 
• The next day, at 
the end of the math 
lesson, the teacher 
gave another test. 
• Scores for all the students were recorded, as 
well as the amount of praise they had received for correct 
answers the day before. 
• The researchers thought that the earlier praise might 
have an effect on their scores on the second test. 
• ANOVA’s F-ratio will tell us if that’s true.
F test is a ratio of variance BETWEEN groups 
and variance WITHIN groups 
• On the top: difference between groups, which includes 
systematic and random components. 
• On the bottom: difference within groups, which includes 
only the random component. 
• When the systematic component is large, the groups 
differ from each other, and F > 1.00 
difference s including any treatment effects 
difference s with no treatment effects 
F 
Stating Hypotheses 
• H0: The amount of 
praise given has 
no impact on the 
math post-test. 
• HA: Groups who receive different amounts of praise 
will have different mean scores.
Scores on Test 2 for 18 students 
Group X 
A 7 
A 6 
A 5 
A 8 
A 3 
A 7 
B 4 
B 6 
B 4 
B 7 
B 5 
B 7 
C 3 
C 2 
C 1 
C 3 
C 4 
C 1 
ΣX 83 
Mean 4.6111
Compare scores to M= 4.61
Part II: Variability: distance from the 
mean of all the scores on the test
Just as in Chapter 3, the differences are squared 
Σ(X-M)2 = Sum of Squares = SSTOTAL 
Group X Mtotal X-M (X-M)2 
A 7 4.6111 2.3889 5.7068 
A 6 4.6111 1.3889 1.9290 
A 5 4.6111 0.3889 0.1512 
A 8 4.6111 3.3889 11.4846 
A 3 4.6111 -1.6111 2.5957 
A 7 4.6111 2.3889 5.7068 
B 4 4.6111 -0.6111 0.3735 
B 6 4.6111 1.3889 1.9290 
B 4 4.6111 -0.6111 0.3735 
B 7 4.6111 2.3889 5.7068 
B 5 4.6111 0.3889 0.1512 
B 7 4.6111 2.3889 5.7068 
C 3 4.6111 -1.6111 2.5957 
C 2 4.6111 -2.6111 6.8179 
C 1 4.6111 -3.6111 13.0401 
C 3 4.6111 -1.6111 2.5957 
C 4 4.6111 -0.6111 0.3735 
C 1 4.6111 -3.6111 13.0401 
Sum of squares: all scores = 
SSTOTAL = 80.278 
G 83 80.27778 SSTOTAL 
Mean 4.6111 4.459877 Variance
What about the impact of praise? 
• The mean for all the 
students is 4.61. 
• Do all three groups 
of students have 
similar means? 
• H0: The amount of praise given has no impact on the 
math post-test. 
0 1 2 3 H :   
• HA: Groups who receive different amounts of praise will 
have different mean scores.
Compute mean score in the groups 
• Mean of Group A: MA=6.00 
• Mean of Group B: MB=5.50 
• Mean of Group C: MC=2.33 
Group X 
A 7 
A 6 
A 5 
A 8 
A 3 
A 7 
Mean 6 
Group X 
B 4 
B 6 
B 4 
B 7 
B 5 
B 7 
Mean 5.5 
Group X 
C 3 
C 2 
C 1 
C 3 
C 4 
C 1 
Mean 2.333
Compare each student’s score to the mean 
score for his or her own group 
MA=6.00 MB=5.50 MC=2.33
Variability within each group is random: 
all within group had same amount of praise 
SSA=16.00 SSB=9.50 SSC=7.333 
Group X MA (X-MA)2 
A 7 6 1 
A 6 6 0 
A 5 6 1 
A 8 6 4 
A 3 6 9 
A 7 6 1 
Mean 6 SSA 16.000 
Group X MB (X-MB)2 
B 4 5.5 2.25 
B 6 5.5 0.25 
B 4 5.5 2.25 
B 7 5.5 2.25 
B 5 5.5 0.25 
B 7 5.5 2.25 
Mean 5.5 SSB 9.500 
Group X MC (X-MC)2 
C 3 2.333 0.445 
C 2 2.333 0.111 
C 1 2.333 1.777 
C 3 2.333 0.445 
C 4 2.333 2.779 
C 1 2.333 1.777 
Mean 2.333 SSC 7.333
Variability within each group is random: 
all within group had same amount of praise 
To find the amount of 
random variability, 
add the SS from all 
the groups together. 
Within Sum of squares 
SSwithin=16+9.5+7.33 
SSwithin=32.833 
SSA=16.00 SSB=9.50 SSC=7.333
Part V: Analysis of Variance: 
Partitioning variability into components 
• SSTOTAL is all the variability in the Sample 
• Some of it is systematic variability between groups related to 
the treatment, level of praise by the teacher 
• Some of it is random within groups, due to the many differences 
among students besides the praise level 
• SSTOTAL = SSWITHIN + SSBETWEEN
Variability between groups is due to the 
teacher’s level of praise 
• The means of the groups are not the same 
• MA=6.00 MB=5.50 MC=2.33 
• SSBETWEEN represents the variability due to the different 
praise level treatments 
• SSTOTAL and SSWITHIN have been computed 
• SSTOTAL = 80.28 and SSWITHIN = 32.83 
• SSBETWEEN = SSTOTAL – SSWITHIN 
• SSBETWEEN = 80.28 – 32.83 
• SSBETWEEN = 47.45
Part VI: Asking the research question a 
new way: as a ratio between variances 
• Is the SSBETWEEN large 
relative to SSWITHIN ? 
• If SSBETWEEN is large 
relative to the SSWITHIN 
then the treatment (teacher praise) had an effect. 
• If SSBETWEEN is large, REJECT the null hypothesis. 
• The F-statistic is a ratio of those two components 
of variability, adjusted for sample size. 
variabilit y including any treatment effects 
variabilit y with no treatment effects 
F 
Compute degrees of freedom 
for Sstotal 
Sswithin 
and SSbetween
Each kind of SS has its own df 
• Total degrees of freedom for SSTOTAL 
dftotal= N – 1 (N is the total number of cases) 
dftotal = 18 – 1 = 17 
• Between-treatments degrees of freedom for SSBETWEEN 
dfbetween= k – 1 (k is the number of groups) 
dfbetween= 3 – 1 = 2 
• Within-groups degrees of freedom for SSWITHIN 
dfwithin= N – k 
dfwithin= 18 – 3 = 15
“Average” the SSwithin and 
SSbetween over their df 
These are called 
“Mean Squares”
Equations for Mean Squares & F 
• The between and within sums 
of squares are divided by their 
df to create the appropriate 
variance 
• These are called the 
Mean Squares 
• The SS is averaged (mean) 
across df 
• The F-ratio test statistic is the 
ratio of MSbetween to MSwithin 
between 
within 
SS 
SS 
within 
MS  
MS  
within df 
between 
between df 
between 
within 
MS 
MS 
F 
Computing the Mean Squares 
• SSBETWEEN = 47.45 
dfbetween= 3 – 1 = 2 
• SSWITHIN = 32.833 
dfwithin = 18 – 3 = 15 
23.75 
47.45 
between 
SS 
   
2 
between 
between df 
MS 
2.189 
32.833 
within 
SS 
   
15 
within 
within df 
MS
Computing F for the example 
F = 23.725 / 2.189 
10.849 F = 10.849 
between 
23.735 
MS 
between 
MS 
   
2.189 
within 
MS 
F 
within 
MS 
F 
Testing hypotheses with F 
10.849 
23.75 
between 
MS 
   
2.189 
within 
MS 
F 
• When the p-value for F is less than the alpha you chose 
for your test, then you can Reject H0 
• There are critical values for F that define a rejection region 
– but they vary by both types of df and (outside of intro 
statistics courses) no one knows any of them by heart. 
• In this class: we use p-value only, from the F Distribution 
calculator.
Testing hypotheses with F 
10.849 
23.75 
between 
MS 
   
2.189 
within 
MS 
F 
• The p-value of F = 10.849 for df = 2, 15 is p=.0012 
• Using  = .05 
• Since the p-value is less than (<) the alpha level, we 
Reject the null hypothesis. 
• Some groups had different levels of performance on the 
test due to the level of the teacher’s praise.
ANOVA table – a tool for computing F 
Source SS df MS F 
Between 47.45 2 23.725 10.84 
Within 32.83 15 2.189 
Total 80.28 17 
• The SS and df columns add up to the total 
• In each row, SS divided by df equals MS 
• In the final column, F is MSB divided by MSW
1. Fill in the blanks. 
2. How many subjects were in the study? 
3. How many groups were in the study?
Review of the ANOVA test 
• Hypotheses and significance level are stated 
• Sum of Squared differences from the mean of all the 
scores is computed = SStotal 
• Sum of Squared differences from the mean of each group 
is computed = SSwithin 
• Sum of Squared differences between groups is computed 
by subtraction = SSbetween 
• Degrees of Freedom df are computed for each SS 
• Mean Squares MSbetween and MSwithin are computed. 
• F ratio is computed and its p –value determined. 
• Decision is made regarding the null hypothesis.

More Related Content

PPTX
Repeated Measures ANOVA
PPTX
How to Report Test Results
PPTX
Repeated Measures ANOVA - Overview
DOCX
One way repeated measure anova
PPTX
Two-way Repeated Measures ANOVA
PPTX
Mixed between-within groups ANOVA
PPTX
Analysis of Variance and Repeated Measures Design
PPTX
Anova Presentation
Repeated Measures ANOVA
How to Report Test Results
Repeated Measures ANOVA - Overview
One way repeated measure anova
Two-way Repeated Measures ANOVA
Mixed between-within groups ANOVA
Analysis of Variance and Repeated Measures Design
Anova Presentation

What's hot (20)

PPTX
Analysis of variance
PPTX
One-Sample Hypothesis Tests
PPT
Analysis of Variance
PPT
9. basic concepts_of_one_way_analysis_of_variance_(anova)
ODP
ANOVA II
PPTX
Chap15 analysis of variance
PPTX
Lesson 27 using statistical techniques in analyzing data
PPTX
Shovan anova main
PPT
F test Analysis of Variance (ANOVA)
PDF
Behavioral Statistics Intro lecture
PPT
Anova single factor
PPTX
One-way Repeated Measures MANOVA with SPSS
PPTX
Two way analysis of variance (anova)
PPTX
One way anova final ppt.
DOCX
One-way ANOVA research paper
PPTX
Chi square test
PPT
T Test For Two Independent Samples
PPTX
Anova ppt
PPTX
Non parametric test
PPT
Anova (Analysis of variation)
Analysis of variance
One-Sample Hypothesis Tests
Analysis of Variance
9. basic concepts_of_one_way_analysis_of_variance_(anova)
ANOVA II
Chap15 analysis of variance
Lesson 27 using statistical techniques in analyzing data
Shovan anova main
F test Analysis of Variance (ANOVA)
Behavioral Statistics Intro lecture
Anova single factor
One-way Repeated Measures MANOVA with SPSS
Two way analysis of variance (anova)
One way anova final ppt.
One-way ANOVA research paper
Chi square test
T Test For Two Independent Samples
Anova ppt
Non parametric test
Anova (Analysis of variation)
Ad

Viewers also liked (19)

PPTX
Reporting a one way repeated measures anova
PPT
PPTX
PPTX
Two-Way ANOVA Overview & SPSS interpretation
PPTX
Analysis of variance (ANOVA)
PPTX
Reporting a one-way anova
PDF
Manova dalam spss
PPTX
Virgin mobile
PPT
In Anova
PPTX
Presentasi uji manova
PPTX
Data analysis with spss anova
PPTX
What is a Factorial ANOVA?
PPT
Data Analysis with SPSS : One-way ANOVA
PPTX
Repeated anova measures ppt
PDF
Introduction to Anova
PDF
Data analysis using spss
PPT
Variance Analysis
PPT
Chapter 10 2 way
Reporting a one way repeated measures anova
Two-Way ANOVA Overview & SPSS interpretation
Analysis of variance (ANOVA)
Reporting a one-way anova
Manova dalam spss
Virgin mobile
In Anova
Presentasi uji manova
Data analysis with spss anova
What is a Factorial ANOVA?
Data Analysis with SPSS : One-way ANOVA
Repeated anova measures ppt
Introduction to Anova
Data analysis using spss
Variance Analysis
Chapter 10 2 way
Ad

Similar to Oneway ANOVA - Overview (20)

PPT
Introduction to ANOVAs
PDF
Anova one way sem 1 20142015 dk
PPTX
Analysis of variance(menong)
PPT
ANOVA Presentation.ppt
PPT
GRADE 10 PPT FOR THE LESSON ANOVA Presentation.ppt
PPT
ANOVA Presentation - presentation for master of arts in Education
PPT
ANOVA Presentation.ppt
PPT
ANOVA Presentation.ppt
PPT
PPT
PPT
Anova test
PDF
Quality Engineering material
PDF
Analysis of Variance
PPT
ANOVA ANALYSIS OF VARIANCE power point.pdf
PPT
anova.ppt
PPTX
2-1 ANOVA.pptx materi statiska untuk perhitungan anova
PDF
2Analysis of Variance.pdf
PPT
Ch7 Analysis of Variance (ANOVA)
PPTX
Full Lecture Presentation on ANOVA
PPT
Anova by Hazilah Mohd Amin
Introduction to ANOVAs
Anova one way sem 1 20142015 dk
Analysis of variance(menong)
ANOVA Presentation.ppt
GRADE 10 PPT FOR THE LESSON ANOVA Presentation.ppt
ANOVA Presentation - presentation for master of arts in Education
ANOVA Presentation.ppt
ANOVA Presentation.ppt
Anova test
Quality Engineering material
Analysis of Variance
ANOVA ANALYSIS OF VARIANCE power point.pdf
anova.ppt
2-1 ANOVA.pptx materi statiska untuk perhitungan anova
2Analysis of Variance.pdf
Ch7 Analysis of Variance (ANOVA)
Full Lecture Presentation on ANOVA
Anova by Hazilah Mohd Amin

More from Sr Edith Bogue (19)

PPTX
Introduction to the t test
PPTX
Location Scores
PPTX
Variability
PPTX
Principles of Design (Williams)
PPTX
Levels of Measurement
PPTX
Chi-Square Example
PPTX
Effect size
PPTX
Review & Hypothesis Testing
PPTX
Sustaining the Ministry of Sponsorship
PPTX
Demographic Processes
PPTX
Location scores
PPTX
Data Management - Basic Concepts
PPTX
Central Tendency - Overview
PPTX
Introduction to z-Scores
PPTX
Graphing
PPTX
Introduction to Statistics
PPTX
Descriptive statistics
PPTX
Qualitative methods
PPTX
Fatherhood links
Introduction to the t test
Location Scores
Variability
Principles of Design (Williams)
Levels of Measurement
Chi-Square Example
Effect size
Review & Hypothesis Testing
Sustaining the Ministry of Sponsorship
Demographic Processes
Location scores
Data Management - Basic Concepts
Central Tendency - Overview
Introduction to z-Scores
Graphing
Introduction to Statistics
Descriptive statistics
Qualitative methods
Fatherhood links

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Open folder Downloads.pdf yes yes ges yes
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PDF
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Basic Mud Logging Guide for educational purpose
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Open folder Downloads.pdf yes yes ges yes
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Microbial diseases, their pathogenesis and prophylaxis
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Open Quiz Monsoon Mind Game Final Set.pptx
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Cell Structure & Organelles in detailed.
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

Oneway ANOVA - Overview

  • 2. Learning ANOVA through an example • All students were given a math test. • Ahead of time, the students were randomly assigned to one of three experimental groups (but they did not know about it). • After the first math test, the teacher behaved differently with members of the three different experimental groups. • Data from Section 42 of Success at Statistics by Pyrczak
  • 3. Creating different conditions in the groups • Regardless of their actual performance on the test, the teacher … • Gave massive amounts of praise for any correct answers to students in Group A. • Gave moderate amounts of praise for any correct answers to students in Group B. • Gave no praise for correct answers, just their score, to students in Group C.
  • 4. Then the variable of interest was measured • The next day, at the end of the math lesson, the teacher gave another test. • Scores for all the students were recorded, as well as the amount of praise they had received for correct answers the day before. • The researchers thought that the earlier praise might have an effect on their scores on the second test. • ANOVA’s F-ratio will tell us if that’s true.
  • 5. F test is a ratio of variance BETWEEN groups and variance WITHIN groups • On the top: difference between groups, which includes systematic and random components. • On the bottom: difference within groups, which includes only the random component. • When the systematic component is large, the groups differ from each other, and F > 1.00 difference s including any treatment effects difference s with no treatment effects F 
  • 6. Stating Hypotheses • H0: The amount of praise given has no impact on the math post-test. • HA: Groups who receive different amounts of praise will have different mean scores.
  • 7. Scores on Test 2 for 18 students Group X A 7 A 6 A 5 A 8 A 3 A 7 B 4 B 6 B 4 B 7 B 5 B 7 C 3 C 2 C 1 C 3 C 4 C 1 ΣX 83 Mean 4.6111
  • 9. Part II: Variability: distance from the mean of all the scores on the test
  • 10. Just as in Chapter 3, the differences are squared Σ(X-M)2 = Sum of Squares = SSTOTAL Group X Mtotal X-M (X-M)2 A 7 4.6111 2.3889 5.7068 A 6 4.6111 1.3889 1.9290 A 5 4.6111 0.3889 0.1512 A 8 4.6111 3.3889 11.4846 A 3 4.6111 -1.6111 2.5957 A 7 4.6111 2.3889 5.7068 B 4 4.6111 -0.6111 0.3735 B 6 4.6111 1.3889 1.9290 B 4 4.6111 -0.6111 0.3735 B 7 4.6111 2.3889 5.7068 B 5 4.6111 0.3889 0.1512 B 7 4.6111 2.3889 5.7068 C 3 4.6111 -1.6111 2.5957 C 2 4.6111 -2.6111 6.8179 C 1 4.6111 -3.6111 13.0401 C 3 4.6111 -1.6111 2.5957 C 4 4.6111 -0.6111 0.3735 C 1 4.6111 -3.6111 13.0401 Sum of squares: all scores = SSTOTAL = 80.278 G 83 80.27778 SSTOTAL Mean 4.6111 4.459877 Variance
  • 11. What about the impact of praise? • The mean for all the students is 4.61. • Do all three groups of students have similar means? • H0: The amount of praise given has no impact on the math post-test. 0 1 2 3 H :   • HA: Groups who receive different amounts of praise will have different mean scores.
  • 12. Compute mean score in the groups • Mean of Group A: MA=6.00 • Mean of Group B: MB=5.50 • Mean of Group C: MC=2.33 Group X A 7 A 6 A 5 A 8 A 3 A 7 Mean 6 Group X B 4 B 6 B 4 B 7 B 5 B 7 Mean 5.5 Group X C 3 C 2 C 1 C 3 C 4 C 1 Mean 2.333
  • 13. Compare each student’s score to the mean score for his or her own group MA=6.00 MB=5.50 MC=2.33
  • 14. Variability within each group is random: all within group had same amount of praise SSA=16.00 SSB=9.50 SSC=7.333 Group X MA (X-MA)2 A 7 6 1 A 6 6 0 A 5 6 1 A 8 6 4 A 3 6 9 A 7 6 1 Mean 6 SSA 16.000 Group X MB (X-MB)2 B 4 5.5 2.25 B 6 5.5 0.25 B 4 5.5 2.25 B 7 5.5 2.25 B 5 5.5 0.25 B 7 5.5 2.25 Mean 5.5 SSB 9.500 Group X MC (X-MC)2 C 3 2.333 0.445 C 2 2.333 0.111 C 1 2.333 1.777 C 3 2.333 0.445 C 4 2.333 2.779 C 1 2.333 1.777 Mean 2.333 SSC 7.333
  • 15. Variability within each group is random: all within group had same amount of praise To find the amount of random variability, add the SS from all the groups together. Within Sum of squares SSwithin=16+9.5+7.33 SSwithin=32.833 SSA=16.00 SSB=9.50 SSC=7.333
  • 16. Part V: Analysis of Variance: Partitioning variability into components • SSTOTAL is all the variability in the Sample • Some of it is systematic variability between groups related to the treatment, level of praise by the teacher • Some of it is random within groups, due to the many differences among students besides the praise level • SSTOTAL = SSWITHIN + SSBETWEEN
  • 17. Variability between groups is due to the teacher’s level of praise • The means of the groups are not the same • MA=6.00 MB=5.50 MC=2.33 • SSBETWEEN represents the variability due to the different praise level treatments • SSTOTAL and SSWITHIN have been computed • SSTOTAL = 80.28 and SSWITHIN = 32.83 • SSBETWEEN = SSTOTAL – SSWITHIN • SSBETWEEN = 80.28 – 32.83 • SSBETWEEN = 47.45
  • 18. Part VI: Asking the research question a new way: as a ratio between variances • Is the SSBETWEEN large relative to SSWITHIN ? • If SSBETWEEN is large relative to the SSWITHIN then the treatment (teacher praise) had an effect. • If SSBETWEEN is large, REJECT the null hypothesis. • The F-statistic is a ratio of those two components of variability, adjusted for sample size. variabilit y including any treatment effects variabilit y with no treatment effects F 
  • 19. Compute degrees of freedom for Sstotal Sswithin and SSbetween
  • 20. Each kind of SS has its own df • Total degrees of freedom for SSTOTAL dftotal= N – 1 (N is the total number of cases) dftotal = 18 – 1 = 17 • Between-treatments degrees of freedom for SSBETWEEN dfbetween= k – 1 (k is the number of groups) dfbetween= 3 – 1 = 2 • Within-groups degrees of freedom for SSWITHIN dfwithin= N – k dfwithin= 18 – 3 = 15
  • 21. “Average” the SSwithin and SSbetween over their df These are called “Mean Squares”
  • 22. Equations for Mean Squares & F • The between and within sums of squares are divided by their df to create the appropriate variance • These are called the Mean Squares • The SS is averaged (mean) across df • The F-ratio test statistic is the ratio of MSbetween to MSwithin between within SS SS within MS  MS  within df between between df between within MS MS F 
  • 23. Computing the Mean Squares • SSBETWEEN = 47.45 dfbetween= 3 – 1 = 2 • SSWITHIN = 32.833 dfwithin = 18 – 3 = 15 23.75 47.45 between SS    2 between between df MS 2.189 32.833 within SS    15 within within df MS
  • 24. Computing F for the example F = 23.725 / 2.189 10.849 F = 10.849 between 23.735 MS between MS    2.189 within MS F within MS F 
  • 25. Testing hypotheses with F 10.849 23.75 between MS    2.189 within MS F • When the p-value for F is less than the alpha you chose for your test, then you can Reject H0 • There are critical values for F that define a rejection region – but they vary by both types of df and (outside of intro statistics courses) no one knows any of them by heart. • In this class: we use p-value only, from the F Distribution calculator.
  • 26. Testing hypotheses with F 10.849 23.75 between MS    2.189 within MS F • The p-value of F = 10.849 for df = 2, 15 is p=.0012 • Using  = .05 • Since the p-value is less than (<) the alpha level, we Reject the null hypothesis. • Some groups had different levels of performance on the test due to the level of the teacher’s praise.
  • 27. ANOVA table – a tool for computing F Source SS df MS F Between 47.45 2 23.725 10.84 Within 32.83 15 2.189 Total 80.28 17 • The SS and df columns add up to the total • In each row, SS divided by df equals MS • In the final column, F is MSB divided by MSW
  • 28. 1. Fill in the blanks. 2. How many subjects were in the study? 3. How many groups were in the study?
  • 29. Review of the ANOVA test • Hypotheses and significance level are stated • Sum of Squared differences from the mean of all the scores is computed = SStotal • Sum of Squared differences from the mean of each group is computed = SSwithin • Sum of Squared differences between groups is computed by subtraction = SSbetween • Degrees of Freedom df are computed for each SS • Mean Squares MSbetween and MSwithin are computed. • F ratio is computed and its p –value determined. • Decision is made regarding the null hypothesis.

Editor's Notes

  • #3: PSY 3331 Sec 002
  • #4: PSY 3331 Sec 002
  • #5: PSY 3331 Sec 002
  • #7: PSY 3331 Sec 002
  • #12: PSY 3331 Sec 002
  • #13: PSY 3331 Sec 002