SlideShare a Scribd company logo
1 of 27
ANOVA (F test)
and
Mean Differentiation Tests
Dr. S. Parasuraman, Faculty of Pharmacy, AIMST University.
Father of
modern statistics
Sir Ronald
Aylmer Fisher
Compare means (or medians)
Number of group(S) Test recommended
One Group One sample t test
Wilcoxon rank sum test
Two groups Unpaired t test
Paired t test
Mann-Whitney test
Welch’s corrected t test
Wilcoxon matched pair test
3-26 groups One-way ANOVA
Repeated measures ANOVA
Kruskal-Wallis test
Friedman test
Difference between t test and
ANOVA
T-test ANOVA
Dependent Interval or ratio
variable
Interval or ratio variable
Independent Binary variable with
only two groups
Categorical variable
Null hypothesis H0 : µ1 = µ2
HA : µ1 ≠ µ2
H0 : µ1 =µ2= µ3 or
H0 : µ1 =µ2=µ3=µ4… = HJ
HA : The mean are not
equal
Probable
distribution
T distribution F distribution
Analysis of variance (ANOVAs)
 ANOVAs are useful for comparing three or
more means (groups or variables) for
statistical significance.
 ANOVAs is similar to multiple two-sample t-
tests with less type I error.
 Continuous response variable and at least one
categorical factor must be there to perform
ANOVA.
 ANOVAs require data from normally distributed
populations with equal variances between
factor levels.
Types of errors
Judgment of null
hypothesis (H0)
Valid/ True Invalid/ False
Reject Type I error
(false positive)
Correct
inference
(True positive)
Fail to reject Correct
inference
(True negative)
Type II error
(false negative)
100 Kg10
Kg 100 Kg
100 KgType I error
Type II error
Types of ANOVA
ANOVA type Design properties
One-way One fixed which can have either an unequal or
equal number of observations per treatment.
Balanced Model may contain any number of fixed and
random factors.
General linear model Expands on Balanced ANOVAs by allowing
unbalanced designs and covariates (continuous
variables).
 One-way ANOVA
 Factorial ANOVA
 Repeated measures
 Multivariate analysis of
variance
One-way ANOVA
 It is used to test for differences among two or more
independent (unrelated) means (groups). When
there are only two means to compare, the t-test and
the ANOVA F-test are equivalent; the relation
between ANOVA and t is given by F = t2.
Assumptions
 The populations from which the samples were obtained
must be normally or approximately normally distributed.
 The samples must be independent.
 The variances of the populations must be equal.
E.g.: Different levels of blood glucose in 3 groups of
population.
Factorial ANOVA
 Factorial ANOVA is analysis of variance
involving two or more independent
variables or predictors.
 Two-way ANOVA is an example of factorial ANOVA
in which the effect of two independent variables on
the dependent variable.
Independent variables
I 2+
Dependent
variables
1 One-way
ANOVA
Factorial ANOVA
2+ Multiple ANOVA MANOVA
MANOVA: Multivariate Analysis of Variance
Procedure for Two-way
Analysis
Repeated measures
 Repeated measures ANOVA is the equivalent
of the one-way ANOVA, but for related, not
independent groups, and is the extension of
the dependent t-test. A repeated measures
ANOVA is also referred to as a within-subjects
ANOVA or ANOVA for correlated samples.
Levels of Blood glucose at different time point form same animals
Level
1
Level
2
Level
3
Level
4
Levels (related groups) of the
independent variable ‘Time’
Group I
Control
Group III
Treatment
Group II
Treatment
Compare the effect the
treatment(s) on blood
glucose level at various time
intervals.
Multivariate analysis of variance
 Multivariate analysis of variance (MANOVA) is
a generalized form of univariate ANOVA with
several dependent variables.
Assumptions of the ANOVA
 Homogeneity of variance:
 Variance for each group equal to the
variance of every other groups.
 Normality:
 Heterogeneous variances can greatly
influence the results (less likely to reject
H0).
 The ANOVA procedure assumes that scores
are normally distributed.
 It assumes that errors also normally
distributed.
Assumptions of the ANOVA
 Independence of Observations:
 The scores for one group are not
dependent on the scores from another
group.
 The Null Hypothesis
Assumptions of the ANOVA
Heterogeneous variances can greatly
influence the results
F-distribution/ Snedecor's F distribution/
Fisher–Snedecor distribution
Characteristics of the F-Distribution
 F-distributions are generally not symmetric and skewed to
the right.
 The values of F can be 0 or positive, but they cannot be
negative.
 There is a different F distribution for each pair of degrees of
freedom for the numerator and denominator.
 The shape of the F-distribution depends upon the degrees of
freedom in the numerator and denominator.
Relationship Between the F Test
Statistic and P-ValueCompare the same
means
F here
Large F test
statistic, small P-
value
F here
Small F test statistic,
large P-value
Fail to reject equality
of population means.
Reject equality of
population means
At least one sample
mean is very
different.
Sample
means are
all close
Example
Objective: To study the effect three different
fertilizer on plant growth (n= 6/ group).
The null hypothesis (H0) says three different
fertilizer produce same response, on average
a1 a2 a3
6 8 13
8 12 9
4 9 11
5 11 8
3 6 7
4 8 12
Step I: Calculate the mean within group
𝑌1 =
1
6
𝑌1𝑖 =
6+8+4+5+3+4
6
= 5
𝑌2 =
1
6
𝑌2𝑖 =
8+12+9+11+6+8
6
= 9
𝑌3 =
1
6
𝑌3𝑖 =
13+9+11+8+7+12
6
= 10
Step 2: Calculate the over all mean
𝑌 =
𝑖 𝑌
𝑎
=
𝑌1 +𝑌2+𝑌3
𝑎
=
5+9+10
3
= 8
Step 3: Calculate the ‘between-group’ sum of
squared differences:
𝑆 𝐵 = n(𝑌1 − 𝑌)2
+ n(𝑌2 − 𝑌)2
+ n(𝑌3 − 𝑌)2
= 6(5 - 8)2 + 6(9 - 8)2 + 6(10 - 8)2 = 84
*n= number of variables in the group
Step 4: Calculate “degree of freedom” and mean
“square value”
 Degree of freedom (DF) = number of group-1
 Mean square value (MSB) = sum of squared
differences/ DF
DF= 3-1 = 2
MSB = 84/2 = 42
Step 5: Calculate “within-group” sum of squares
(Sw)
 Sw = (1)2+(3)+(-1)+(0)+(-2)+(-1)+(-1)+(3)+(0)+
(2)+ (-3)+ (-1)+(3)+(-1)+(1)+(-2)+(-3)+(2) = 68
 Within group DF = fw = a(n-1) = 3(6-1) = 15
 Within group mean square value is MSw=Sw/fw
= 68/15 ≈ 𝟒. 𝟓
a1 a2 a3
6-5=1 8-9=-1 13-10=3
8-5=3 12-9=3 9-10=-1
4-5=-1 9-9=0 11-10=1
5-5=0 11-9=2 8-10=-2
3-5=-2 6-9=-3 7-10=-3
4-5=-1 8-9=-1 12-10=2
Step 6: F-ratio
F =
𝑴𝑺 𝑩
𝑴𝑺 𝒘
=
𝟒𝟐
𝟒.𝟓
≈ 𝟗. 𝟑 Fcrit(2,15) = 3.68
Fcrit(2,15) = 3.68 ; Since 9.3 > 3.68 the result is
significant at 0.50 i.e., p<0.05.
Post-hoc test: (from Latin post hoc “after this)
Post hoc test are run to conform where the
differences occurred between groups. It is
usually concerned with finding patterns and
relationship between sub-groups of sampled
population.

More Related Content

What's hot (20)

Two way ANOVA
Two way ANOVATwo way ANOVA
Two way ANOVA
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
In Anova
In  AnovaIn  Anova
In Anova
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Student t-test
Student t-testStudent t-test
Student t-test
 
9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretation
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
F test
F testF test
F test
 

Viewers also liked

Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)Marianne Maluyo
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...nszakir
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbersnszakir
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 

Viewers also liked (12)

Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
Estimation
EstimationEstimation
Estimation
 
FEC 512.04
FEC 512.04FEC 512.04
FEC 512.04
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Chi square test
Chi square testChi square test
Chi square test
 

Similar to Anova (f test) and mean differentiation

Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAStevegellKololi
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Tesfamichael Getu
 
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docxCalculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docxaman341480
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of VarianceMichael770443
 
In Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docxIn Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docxlanagore871
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxgalerussel59292
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxfestockton
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysisutpal sharma
 
8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1mjb70
 
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docxalinainglis
 
Analysis of variance(one way ANOVA).pptx
Analysis of variance(one way ANOVA).pptxAnalysis of variance(one way ANOVA).pptx
Analysis of variance(one way ANOVA).pptxurvashipundir04
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8Daria Bogdanova
 
One way repeated measure anova
One way repeated measure anovaOne way repeated measure anova
One way repeated measure anovaAamna Haneef
 

Similar to Anova (f test) and mean differentiation (20)

ANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research MethodologyANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research Methodology
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Applied statistics part 3
Applied statistics part 3Applied statistics part 3
Applied statistics part 3
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docxCalculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
In Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docxIn Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docx
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
One_-ANOVA.ppt
One_-ANOVA.pptOne_-ANOVA.ppt
One_-ANOVA.ppt
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1
 
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
 
Analysis of variance(one way ANOVA).pptx
Analysis of variance(one way ANOVA).pptxAnalysis of variance(one way ANOVA).pptx
Analysis of variance(one way ANOVA).pptx
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
 
One way repeated measure anova
One way repeated measure anovaOne way repeated measure anova
One way repeated measure anova
 

More from Subramani Parasuraman

More from Subramani Parasuraman (20)

Research with animals and animal models.pptx
Research with animals and animal models.pptxResearch with animals and animal models.pptx
Research with animals and animal models.pptx
 
Nicotine and Tobacco
Nicotine and TobaccoNicotine and Tobacco
Nicotine and Tobacco
 
Statistical software.pptx
Statistical software.pptxStatistical software.pptx
Statistical software.pptx
 
Cerebellum and control of postures and movements.pptx
Cerebellum and control of postures and movements.pptxCerebellum and control of postures and movements.pptx
Cerebellum and control of postures and movements.pptx
 
Drugs Used in Renal Alteration
Drugs Used in Renal AlterationDrugs Used in Renal Alteration
Drugs Used in Renal Alteration
 
Drugs Used in Endocrine Alteration
Drugs Used in Endocrine AlterationDrugs Used in Endocrine Alteration
Drugs Used in Endocrine Alteration
 
Antidiabetic drugs
Antidiabetic drugsAntidiabetic drugs
Antidiabetic drugs
 
Pancreatic Hormones
Pancreatic HormonesPancreatic Hormones
Pancreatic Hormones
 
Terrestrial laboratory animals
Terrestrial laboratory animalsTerrestrial laboratory animals
Terrestrial laboratory animals
 
Drugs used in haematological disorders
Drugs used in haematological disordersDrugs used in haematological disorders
Drugs used in haematological disorders
 
Laboratory animals
Laboratory animalsLaboratory animals
Laboratory animals
 
Immunomodulators-1.pptx
Immunomodulators-1.pptxImmunomodulators-1.pptx
Immunomodulators-1.pptx
 
Immunomodulators - 3.pptx
Immunomodulators - 3.pptxImmunomodulators - 3.pptx
Immunomodulators - 3.pptx
 
Immunomodulators - 2.pptx
Immunomodulators - 2.pptxImmunomodulators - 2.pptx
Immunomodulators - 2.pptx
 
Acetylcholine bioassay
 Acetylcholine bioassay Acetylcholine bioassay
Acetylcholine bioassay
 
Oxytocin bioassay
Oxytocin bioassayOxytocin bioassay
Oxytocin bioassay
 
Type of bioassays
Type of bioassaysType of bioassays
Type of bioassays
 
Principles of bioassay
Principles of bioassayPrinciples of bioassay
Principles of bioassay
 
PK - Excretion.pptx
PK - Excretion.pptxPK - Excretion.pptx
PK - Excretion.pptx
 
Absorption
AbsorptionAbsorption
Absorption
 

Recently uploaded

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Recently uploaded (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

Anova (f test) and mean differentiation

  • 1. ANOVA (F test) and Mean Differentiation Tests Dr. S. Parasuraman, Faculty of Pharmacy, AIMST University. Father of modern statistics Sir Ronald Aylmer Fisher
  • 2. Compare means (or medians) Number of group(S) Test recommended One Group One sample t test Wilcoxon rank sum test Two groups Unpaired t test Paired t test Mann-Whitney test Welch’s corrected t test Wilcoxon matched pair test 3-26 groups One-way ANOVA Repeated measures ANOVA Kruskal-Wallis test Friedman test
  • 3. Difference between t test and ANOVA T-test ANOVA Dependent Interval or ratio variable Interval or ratio variable Independent Binary variable with only two groups Categorical variable Null hypothesis H0 : µ1 = µ2 HA : µ1 ≠ µ2 H0 : µ1 =µ2= µ3 or H0 : µ1 =µ2=µ3=µ4… = HJ HA : The mean are not equal Probable distribution T distribution F distribution
  • 4. Analysis of variance (ANOVAs)  ANOVAs are useful for comparing three or more means (groups or variables) for statistical significance.  ANOVAs is similar to multiple two-sample t- tests with less type I error.  Continuous response variable and at least one categorical factor must be there to perform ANOVA.  ANOVAs require data from normally distributed populations with equal variances between factor levels.
  • 5. Types of errors Judgment of null hypothesis (H0) Valid/ True Invalid/ False Reject Type I error (false positive) Correct inference (True positive) Fail to reject Correct inference (True negative) Type II error (false negative) 100 Kg10 Kg 100 Kg 100 KgType I error Type II error
  • 6. Types of ANOVA ANOVA type Design properties One-way One fixed which can have either an unequal or equal number of observations per treatment. Balanced Model may contain any number of fixed and random factors. General linear model Expands on Balanced ANOVAs by allowing unbalanced designs and covariates (continuous variables).  One-way ANOVA  Factorial ANOVA  Repeated measures  Multivariate analysis of variance
  • 7. One-way ANOVA  It is used to test for differences among two or more independent (unrelated) means (groups). When there are only two means to compare, the t-test and the ANOVA F-test are equivalent; the relation between ANOVA and t is given by F = t2. Assumptions  The populations from which the samples were obtained must be normally or approximately normally distributed.  The samples must be independent.  The variances of the populations must be equal. E.g.: Different levels of blood glucose in 3 groups of population.
  • 8. Factorial ANOVA  Factorial ANOVA is analysis of variance involving two or more independent variables or predictors.  Two-way ANOVA is an example of factorial ANOVA in which the effect of two independent variables on the dependent variable. Independent variables I 2+ Dependent variables 1 One-way ANOVA Factorial ANOVA 2+ Multiple ANOVA MANOVA MANOVA: Multivariate Analysis of Variance
  • 10. Repeated measures  Repeated measures ANOVA is the equivalent of the one-way ANOVA, but for related, not independent groups, and is the extension of the dependent t-test. A repeated measures ANOVA is also referred to as a within-subjects ANOVA or ANOVA for correlated samples.
  • 11. Levels of Blood glucose at different time point form same animals Level 1 Level 2 Level 3 Level 4 Levels (related groups) of the independent variable ‘Time’ Group I Control Group III Treatment Group II Treatment Compare the effect the treatment(s) on blood glucose level at various time intervals.
  • 12. Multivariate analysis of variance  Multivariate analysis of variance (MANOVA) is a generalized form of univariate ANOVA with several dependent variables.
  • 13. Assumptions of the ANOVA  Homogeneity of variance:  Variance for each group equal to the variance of every other groups.  Normality:  Heterogeneous variances can greatly influence the results (less likely to reject H0).  The ANOVA procedure assumes that scores are normally distributed.  It assumes that errors also normally distributed.
  • 14. Assumptions of the ANOVA  Independence of Observations:  The scores for one group are not dependent on the scores from another group.  The Null Hypothesis
  • 15. Assumptions of the ANOVA Heterogeneous variances can greatly influence the results
  • 16. F-distribution/ Snedecor's F distribution/ Fisher–Snedecor distribution Characteristics of the F-Distribution  F-distributions are generally not symmetric and skewed to the right.  The values of F can be 0 or positive, but they cannot be negative.  There is a different F distribution for each pair of degrees of freedom for the numerator and denominator.  The shape of the F-distribution depends upon the degrees of freedom in the numerator and denominator.
  • 17. Relationship Between the F Test Statistic and P-ValueCompare the same means F here Large F test statistic, small P- value F here Small F test statistic, large P-value Fail to reject equality of population means. Reject equality of population means At least one sample mean is very different. Sample means are all close
  • 19. Objective: To study the effect three different fertilizer on plant growth (n= 6/ group). The null hypothesis (H0) says three different fertilizer produce same response, on average a1 a2 a3 6 8 13 8 12 9 4 9 11 5 11 8 3 6 7 4 8 12
  • 20. Step I: Calculate the mean within group 𝑌1 = 1 6 𝑌1𝑖 = 6+8+4+5+3+4 6 = 5 𝑌2 = 1 6 𝑌2𝑖 = 8+12+9+11+6+8 6 = 9 𝑌3 = 1 6 𝑌3𝑖 = 13+9+11+8+7+12 6 = 10
  • 21. Step 2: Calculate the over all mean 𝑌 = 𝑖 𝑌 𝑎 = 𝑌1 +𝑌2+𝑌3 𝑎 = 5+9+10 3 = 8
  • 22. Step 3: Calculate the ‘between-group’ sum of squared differences: 𝑆 𝐵 = n(𝑌1 − 𝑌)2 + n(𝑌2 − 𝑌)2 + n(𝑌3 − 𝑌)2 = 6(5 - 8)2 + 6(9 - 8)2 + 6(10 - 8)2 = 84 *n= number of variables in the group
  • 23. Step 4: Calculate “degree of freedom” and mean “square value”  Degree of freedom (DF) = number of group-1  Mean square value (MSB) = sum of squared differences/ DF DF= 3-1 = 2 MSB = 84/2 = 42
  • 24. Step 5: Calculate “within-group” sum of squares (Sw)  Sw = (1)2+(3)+(-1)+(0)+(-2)+(-1)+(-1)+(3)+(0)+ (2)+ (-3)+ (-1)+(3)+(-1)+(1)+(-2)+(-3)+(2) = 68  Within group DF = fw = a(n-1) = 3(6-1) = 15  Within group mean square value is MSw=Sw/fw = 68/15 ≈ 𝟒. 𝟓 a1 a2 a3 6-5=1 8-9=-1 13-10=3 8-5=3 12-9=3 9-10=-1 4-5=-1 9-9=0 11-10=1 5-5=0 11-9=2 8-10=-2 3-5=-2 6-9=-3 7-10=-3 4-5=-1 8-9=-1 12-10=2
  • 25. Step 6: F-ratio F = 𝑴𝑺 𝑩 𝑴𝑺 𝒘 = 𝟒𝟐 𝟒.𝟓 ≈ 𝟗. 𝟑 Fcrit(2,15) = 3.68
  • 26.
  • 27. Fcrit(2,15) = 3.68 ; Since 9.3 > 3.68 the result is significant at 0.50 i.e., p<0.05. Post-hoc test: (from Latin post hoc “after this) Post hoc test are run to conform where the differences occurred between groups. It is usually concerned with finding patterns and relationship between sub-groups of sampled population.

Editor's Notes

  1. DF= 3-1 = 2 Within group DF = fw = a(n-1) = 3(6-1) = 15
  2. DF= 3-1 = 2 Within group DF = fw = a(n-1) = 3(6-1) = 15 https://en.wikipedia.org/wiki/F-test