(Go: >> BACK << -|- >> HOME <<)

SlideShare a Scribd company logo
ONE-WAY ANALYSIS OF VARIANCE (ANOVA)
The one-way analysis of variance is used to compare the means of several
groups, e.g. the mean Hb levels of patients with different types of sickle cell
disease. The analysis is called one-way as the data are classified just one
way, in this case by the type of sickle cell disease. The method is based on
assessing how much of the overall variation in the data is attributable to
differences between the group means, and comparing this with the amount
attributable to differences between individuals in the same group. Hence the
name analysis of variance.
R
Type of sickle cell disease
Hb SS Hb S / beta thalasemia Hb SC
1 7.2 8.1 10.7
2 7.7 9.2 11.3
3 8 10 11.5
4 8.1 10.4 11.6
5 8.3 10.6 11.7
6 8.4 10.9 11.8
7 8.4 11.1 12
8 8.5 11.9 12.1
9 8.6 12 12.3
10 8.7 12.1 12.6
11 9.1 12.6
12 9.1 13.3
13 9.1 13.3
14 9.8 13.8
15 10.1 13.9
16 10.3
∑X = 430.2
∑X2
= 4651.8
K = No. of groups N = Total No. of observations.
H0 : mean1=mean2=mean3
1
Steps to calculate F statistic
1. Total SS = N
X
X
2
2 )(∑
−∑
2. Between groups SS = n
X
n
X
n
X
n
X 2222
)(
3
)3(
2
)2(
1
)1( ∑
−
∑
+
∑
+
∑
3. Within groups SS (residual) (error) = Total SS – between groups
SS
4. Between groups mean square(MS) = Between SS / K-1
5. Within groups (MS) = Within groups SS / N-K
6. F = )(_
)(_
MSgroupsWithin
MSgroupsBetween
ANOVA table
Source of
variation
SS d.f. MS=SS/d.f.
F=between
groups
MS /
Within
groups MS
Between
groups
99.89 2 49.94 49.99
P<0.001
Within
groups
37.96 38 0.999
Total 137.85 40
2
Assumptions
1.The data are normally distributed.
If the observations are extremely skewed, especially for small samples, the
Kruskal-Wallis nonparametric procedure should be used.
2.The population value for the standard deviation between individuals is the
same for each group. This is estimated by the square root of the within
groups mean square. Moderate departure from normality may be safely
ignored, but the effect of unequal standard deviations may be serious.
Levene’s test of homogeneity of variances will help.
Relationship with the two sample t test
One way ANOVA is an extension of the two sample t test. When there are
only 2 groups, it gives exactly the same results as the t test. The F value
equals the square of the corresponding t value and the percentage points of
the F distribution with (1, N-2) degrees of freedom are the same as the
square of the t distribution with N-2 degrees of freedom.
3

More Related Content

Similar to Analysis of variance

Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
Subramani Parasuraman
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
Dhruv Patel
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
AbarnaPeriasamy3
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
Akhtaruzzamanlimon1
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
MUzair21
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
ZyrenMisaki
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
Michael770443
 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
GurunathVhanmane1
 
Anova test
Anova testAnova test
Anova test
Afra Fathima
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
GoharSaeed6
 
Advice On Statistical Analysis For Circulation Research
Advice On Statistical Analysis For Circulation ResearchAdvice On Statistical Analysis For Circulation Research
Advice On Statistical Analysis For Circulation Research
Nancy Ideker
 
Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCHAshish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech
 
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
Princy Francis M
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
Dhruv Patel
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 
Anova ppt
Anova pptAnova ppt
Anova ppt
Sravani Ganti
 
ANOVA
ANOVAANOVA
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest way
Bidyut Ghosh
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
Rione Drevale
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
Sari Camarena
 

Similar to Analysis of variance (20)

Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
 
Anova test
Anova testAnova test
Anova test
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
Advice On Statistical Analysis For Circulation Research
Advice On Statistical Analysis For Circulation ResearchAdvice On Statistical Analysis For Circulation Research
Advice On Statistical Analysis For Circulation Research
 
Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCHAshish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
 
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
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
ANOVA
ANOVAANOVA
ANOVA
 
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest way
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 

More from Forensic Pathology

Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
Forensic Pathology
 
Writing a research protocol 2011
Writing a research protocol 2011Writing a research protocol 2011
Writing a research protocol 2011
Forensic Pathology
 
Prac excises 3[1].5
Prac excises 3[1].5Prac excises 3[1].5
Prac excises 3[1].5
Forensic Pathology
 
Stat6 chi square test
Stat6 chi square testStat6 chi square test
Stat6 chi square test
Forensic Pathology
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
Forensic Pathology
 
Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
Forensic Pathology
 
Stat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisStat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesis
Forensic Pathology
 
Stat 2 data presentation2
Stat 2 data presentation2Stat 2 data presentation2
Stat 2 data presentation2
Forensic Pathology
 
Correlation 3rd
Correlation 3rdCorrelation 3rd
Correlation 3rd
Forensic Pathology
 
Stat 1 variables & sampling
Stat 1 variables & samplingStat 1 variables & sampling
Stat 1 variables & sampling
Forensic Pathology
 
Pancreas 2
Pancreas 2Pancreas 2
Pancreas 2
Forensic Pathology
 
Pancreas 1
Pancreas 1Pancreas 1
Pancreas 1
Forensic Pathology
 
Liver 3
Liver 3Liver 3
Liver 2
Liver 2Liver 2
Liver 1
Liver 1Liver 1
The biliary tract
The biliary tractThe biliary tract
The biliary tract
Forensic Pathology
 
Valvular heart diseases 4
Valvular heart diseases 4Valvular heart diseases 4
Valvular heart diseases 4
Forensic Pathology
 
Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5
Forensic Pathology
 
Ischemic heart diseases 2
Ischemic heart diseases 2Ischemic heart diseases 2
Ischemic heart diseases 2
Forensic Pathology
 
Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3
Forensic Pathology
 

More from Forensic Pathology (20)

Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
 
Writing a research protocol 2011
Writing a research protocol 2011Writing a research protocol 2011
Writing a research protocol 2011
 
Prac excises 3[1].5
Prac excises 3[1].5Prac excises 3[1].5
Prac excises 3[1].5
 
Stat6 chi square test
Stat6 chi square testStat6 chi square test
Stat6 chi square test
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
 
Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
 
Stat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisStat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesis
 
Stat 2 data presentation2
Stat 2 data presentation2Stat 2 data presentation2
Stat 2 data presentation2
 
Correlation 3rd
Correlation 3rdCorrelation 3rd
Correlation 3rd
 
Stat 1 variables & sampling
Stat 1 variables & samplingStat 1 variables & sampling
Stat 1 variables & sampling
 
Pancreas 2
Pancreas 2Pancreas 2
Pancreas 2
 
Pancreas 1
Pancreas 1Pancreas 1
Pancreas 1
 
Liver 3
Liver 3Liver 3
Liver 3
 
Liver 2
Liver 2Liver 2
Liver 2
 
Liver 1
Liver 1Liver 1
Liver 1
 
The biliary tract
The biliary tractThe biliary tract
The biliary tract
 
Valvular heart diseases 4
Valvular heart diseases 4Valvular heart diseases 4
Valvular heart diseases 4
 
Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5
 
Ischemic heart diseases 2
Ischemic heart diseases 2Ischemic heart diseases 2
Ischemic heart diseases 2
 
Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3
 

Recently uploaded

The basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptxThe basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptx
heathfieldcps1
 
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdfhISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
zuzanka
 
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
Neny Isharyanti
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
SrimanigandanMadurai
 
How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17
Celine George
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
Celine George
 
Conducting exciting academic research in Computer Science
Conducting exciting academic research in Computer ScienceConducting exciting academic research in Computer Science
Conducting exciting academic research in Computer Science
Abhik Roychoudhury
 
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
siemaillard
 
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY pdf- [Autosaved].pdf
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY  pdf-  [Autosaved].pdfARCHITECTURAL PATTERNS IN HISTOPATHOLOGY  pdf-  [Autosaved].pdf
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY pdf- [Autosaved].pdf
DharmarajPawar
 
No, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalismNo, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalism
Paul Bradshaw
 
2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference
KlettWorldLanguages
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
Celine George
 
NLC English INTERVENTION LESSON 3-D1.pptx
NLC English INTERVENTION LESSON 3-D1.pptxNLC English INTERVENTION LESSON 3-D1.pptx
NLC English INTERVENTION LESSON 3-D1.pptx
Marita Force
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
HappieMontevirgenCas
 
Beyond the Advance Presentation for By the Book 9
Beyond the Advance Presentation for By the Book 9Beyond the Advance Presentation for By the Book 9
Beyond the Advance Presentation for By the Book 9
John Rodzvilla
 
Still I Rise by Maya Angelou | Summary and Analysis
Still I Rise by Maya Angelou | Summary and AnalysisStill I Rise by Maya Angelou | Summary and Analysis
Still I Rise by Maya Angelou | Summary and Analysis
Rajdeep Bavaliya
 
Tales of Two States: A Comparative Study of Language and Literature in Kerala...
Tales of Two States: A Comparative Study of Language and Literature in Kerala...Tales of Two States: A Comparative Study of Language and Literature in Kerala...
Tales of Two States: A Comparative Study of Language and Literature in Kerala...
joshanmath
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
Nguyen Thanh Tu Collection
 
NLC English 7 Consolidation Lesson plan for teacher
NLC English 7 Consolidation Lesson plan for teacherNLC English 7 Consolidation Lesson plan for teacher
NLC English 7 Consolidation Lesson plan for teacher
AngelicaLubrica
 
Book Allied Health Sciences kmu MCQs.docx
Book Allied Health Sciences kmu MCQs.docxBook Allied Health Sciences kmu MCQs.docx
Book Allied Health Sciences kmu MCQs.docx
drtech3715
 

Recently uploaded (20)

The basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptxThe basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptx
 
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdfhISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
hISTORY OF THE jEWISH COMMUNITY IN ROMANIA.pdf
 
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
Understanding and Interpreting Teachers’ TPACK for Teaching Multimodalities i...
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
 
How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
 
Conducting exciting academic research in Computer Science
Conducting exciting academic research in Computer ScienceConducting exciting academic research in Computer Science
Conducting exciting academic research in Computer Science
 
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
 
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY pdf- [Autosaved].pdf
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY  pdf-  [Autosaved].pdfARCHITECTURAL PATTERNS IN HISTOPATHOLOGY  pdf-  [Autosaved].pdf
ARCHITECTURAL PATTERNS IN HISTOPATHOLOGY pdf- [Autosaved].pdf
 
No, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalismNo, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalism
 
2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
 
NLC English INTERVENTION LESSON 3-D1.pptx
NLC English INTERVENTION LESSON 3-D1.pptxNLC English INTERVENTION LESSON 3-D1.pptx
NLC English INTERVENTION LESSON 3-D1.pptx
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
 
Beyond the Advance Presentation for By the Book 9
Beyond the Advance Presentation for By the Book 9Beyond the Advance Presentation for By the Book 9
Beyond the Advance Presentation for By the Book 9
 
Still I Rise by Maya Angelou | Summary and Analysis
Still I Rise by Maya Angelou | Summary and AnalysisStill I Rise by Maya Angelou | Summary and Analysis
Still I Rise by Maya Angelou | Summary and Analysis
 
Tales of Two States: A Comparative Study of Language and Literature in Kerala...
Tales of Two States: A Comparative Study of Language and Literature in Kerala...Tales of Two States: A Comparative Study of Language and Literature in Kerala...
Tales of Two States: A Comparative Study of Language and Literature in Kerala...
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - HK1 (C...
 
NLC English 7 Consolidation Lesson plan for teacher
NLC English 7 Consolidation Lesson plan for teacherNLC English 7 Consolidation Lesson plan for teacher
NLC English 7 Consolidation Lesson plan for teacher
 
Book Allied Health Sciences kmu MCQs.docx
Book Allied Health Sciences kmu MCQs.docxBook Allied Health Sciences kmu MCQs.docx
Book Allied Health Sciences kmu MCQs.docx
 

Analysis of variance

  • 1. ONE-WAY ANALYSIS OF VARIANCE (ANOVA) The one-way analysis of variance is used to compare the means of several groups, e.g. the mean Hb levels of patients with different types of sickle cell disease. The analysis is called one-way as the data are classified just one way, in this case by the type of sickle cell disease. The method is based on assessing how much of the overall variation in the data is attributable to differences between the group means, and comparing this with the amount attributable to differences between individuals in the same group. Hence the name analysis of variance. R Type of sickle cell disease Hb SS Hb S / beta thalasemia Hb SC 1 7.2 8.1 10.7 2 7.7 9.2 11.3 3 8 10 11.5 4 8.1 10.4 11.6 5 8.3 10.6 11.7 6 8.4 10.9 11.8 7 8.4 11.1 12 8 8.5 11.9 12.1 9 8.6 12 12.3 10 8.7 12.1 12.6 11 9.1 12.6 12 9.1 13.3 13 9.1 13.3 14 9.8 13.8 15 10.1 13.9 16 10.3 ∑X = 430.2 ∑X2 = 4651.8 K = No. of groups N = Total No. of observations. H0 : mean1=mean2=mean3 1
  • 2. Steps to calculate F statistic 1. Total SS = N X X 2 2 )(∑ −∑ 2. Between groups SS = n X n X n X n X 2222 )( 3 )3( 2 )2( 1 )1( ∑ − ∑ + ∑ + ∑ 3. Within groups SS (residual) (error) = Total SS – between groups SS 4. Between groups mean square(MS) = Between SS / K-1 5. Within groups (MS) = Within groups SS / N-K 6. F = )(_ )(_ MSgroupsWithin MSgroupsBetween ANOVA table Source of variation SS d.f. MS=SS/d.f. F=between groups MS / Within groups MS Between groups 99.89 2 49.94 49.99 P<0.001 Within groups 37.96 38 0.999 Total 137.85 40 2
  • 3. Assumptions 1.The data are normally distributed. If the observations are extremely skewed, especially for small samples, the Kruskal-Wallis nonparametric procedure should be used. 2.The population value for the standard deviation between individuals is the same for each group. This is estimated by the square root of the within groups mean square. Moderate departure from normality may be safely ignored, but the effect of unequal standard deviations may be serious. Levene’s test of homogeneity of variances will help. Relationship with the two sample t test One way ANOVA is an extension of the two sample t test. When there are only 2 groups, it gives exactly the same results as the t test. The F value equals the square of the corresponding t value and the percentage points of the F distribution with (1, N-2) degrees of freedom are the same as the square of the t distribution with N-2 degrees of freedom. 3