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

Contenu connexe

Tendances

F Distribution
F  DistributionF  Distribution
F Distribution
jravish
 

Tendances (20)

The Kruskal-Wallis H Test
The Kruskal-Wallis H TestThe Kruskal-Wallis H Test
The Kruskal-Wallis H Test
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
oneway ANOVA.ppt
oneway ANOVA.pptoneway ANOVA.ppt
oneway ANOVA.ppt
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Mann Whitney U test
Mann Whitney U testMann Whitney U test
Mann Whitney U test
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significance
 
Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Manova
ManovaManova
Manova
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
F Distribution
F  DistributionF  Distribution
F Distribution
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 

En vedette

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
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
nszakir
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
Tech_MX
 

En vedette (11)

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

Similaire à Anova (f test) and mean differentiation

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
aman341480
 
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
lanagore871
 
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
galerussel59292
 
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
festockton
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
utpal 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 1
mjb70
 
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
alinainglis
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
Daria Bogdanova
 

Similaire à 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
 
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
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
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
 

Plus de Subramani Parasuraman

Plus de Subramani Parasuraman (20)

Role of preclinical studies in drug discovery
Role of preclinical studies in drug discoveryRole of preclinical studies in drug discovery
Role of preclinical studies in drug discovery
 
Tolerance, autoimmunity and autoimmune diseases.pptx
Tolerance, autoimmunity and autoimmune diseases.pptxTolerance, autoimmunity and autoimmune diseases.pptx
Tolerance, autoimmunity and autoimmune diseases.pptx
 
Introduction to pharmacology (For Allied health students)
Introduction to pharmacology (For Allied health students)Introduction to pharmacology (For Allied health students)
Introduction to pharmacology (For Allied health students)
 
Pharmacodynamics - Introduction (Allied health students)
Pharmacodynamics - Introduction (Allied health students)Pharmacodynamics - Introduction (Allied health students)
Pharmacodynamics - Introduction (Allied health students)
 
Sustainability in preclinical drug discovery.pptx
Sustainability in preclinical drug discovery.pptxSustainability in preclinical drug discovery.pptx
Sustainability in preclinical drug discovery.pptx
 
Role of preclinical studies in drug discovery.pptx
Role of preclinical studies in drug discovery.pptxRole of preclinical studies in drug discovery.pptx
Role of preclinical studies in drug discovery.pptx
 
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
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

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.

Notes de l'éditeur

  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