SlideShare une entreprise Scribd logo
1  sur  3
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

Contenu connexe

Similaire à Analysis of variance

One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 
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
 

Similaire à 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
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
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
 

Plus de Forensic Pathology

Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5
Forensic Pathology
 
Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3Hypertensive hd, and cardiomyopathy 3
Hypertensive hd, and cardiomyopathy 3
Forensic Pathology
 

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

Dernier

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 

Dernier (20)

size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security Services
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 

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