SlideShare a Scribd company logo
1 of 23
BIOINSTRUMENTATION AND
RESEARCH METHODOLOGY
UNIT IV – BIOSTATISTICS
TOPIC: ANOVA – ONE WAY & TWO WAY
ABARNA M P
II – M.Sc., BIOTECHNOLOGY
21PBT810
ANALYSIS OF VARIANCE (ANOVA)
• Powerful statistical tool for tests of significance.
• The test of significance using t-distribution is an
adequate procedure only for testing the
significance of the difference between two
sample means.
• When we have three or more samples to consider
at a time, an alternative procedure is needed for
testing the hypothesis that all the samples are
drawn from the same population i.e., they have
the same means.
• PURPOSE OF ANOVA: To test the homogeneity of
several means.
• ANOVA – A hypothesis testing procedure that is
used to evaluate the mean differences between
two or more treatments (or) populations.
• Invented by R.A. FISHER – Fisher’s ANOVA.
• Similar to t-test and z-test – used to compare
means and also the relative variance between
them.
• It is used to test the statistical significance of the
relationship between a dependent variable (Y)
and a single or multiple independent variable (X).
• Helps to figure out if the null hypothesis has to be
rejected or accepted.
TERMS USED IN ANOVA
• DEGREE OF FREEDOM (DF) – The number of
independent conclusions that can be drawn from
the data.
• SSfactor – It measures the variation of each group
mean to the overall mean across all groups.
• Sserror – It measures the variation of each
observation within each factor level to the mean
of the level.
• Main effect – The effect where the performance
of one variable considered in isolation by
neglecting other variables in the study.
• Interaction – This effect occurs where the effect of
one variable is different across levels of one or more
other variables.
• Mean square error (MSE) – Divide the sum of
squares of the residual error by the degrees of
freedom.
• F- test – The null hypothesis that the category means
are equal in the population is tested by F statistic
based on the ratio of mean square related to X and
MSE.
• P – value – It is the smallest level of significance that
would lead to rejection of the null hypothesis (H0).
ASSUMPTIONS FOR ANOVA TEST
• The observations follow normal distribution.
• The samples are independent.
• The population variances are equal and
unknown.
STEPS INVOLVED IN ANOVA
CALCULATION
• Establish the hypothesis.
• Find out the mean.
• Calculation of SStotal , Ssbetween and Sswithin
(SStotal - Ssbetween)
• ANOVA table
• Conclusion and Interpretation.
SOURCE OF
VARIATION
DEGREE OF
FREEDOM
SUM OF
SQUARES
(SS)
MEAN SQUARES
(MS)
F-RATIO
BETWEEN K - 1 SSbetween SSbetween / K-1 = MSbetween
WITHIN
(ERROR)
N - K SSwithin SSwithin/ N-K = MSwithin F = MSbetween
/MSwithin
TOTAL SStotal
ANOVA TABLE
EXAMPLE
• The following data represent the gain in
weight (in kg) of a species of edible fish
cultured in 4 diet formulations (D1, D2, D3
and D4) for a period of 3 months. Analyze
these data for significant difference among
the diet formulations in terms of gain in
weight.
D1 D2 D3 D4
4 8 5 1
5 7 7 4
1 9 8 1
3 6 6 3
2 10 9 1
TYPES OF ANOVA
• One-way ANOVA or Completely
randomized design
• Two-way ANOVA or Randomized block
design
• Three-way ANOVA or Latin square design
One-way ANOVA or Completely
randomized design
• The effect of one factor on the mean is tested.
• It is based on independent random samples drawn
from k – different levels of a factor, also called
treatments.
• The total variation in the observations can be split
into the following two components
• (i) variation between the levels or the variation due
to different bases of classification, commonly known
as treatments.
• (ii) The variation within the treatments i.e. inherent
variation among the observations within levels.
SOURCE OF
VARIATION
DEGREE OF
FREEDOM
SUM OF
SQUARES
(SS)
MEAN SQUARES
(MS)
F-RATIO
OR VARIANCE
RATIO
BETWEEN
COLUMNS
C - 1 SSC MSC = SSC / C-1
WITHIN
COLUMNS
(ERROR)
N - C SSE MSE = SSE / N-C F = MSC / MSE
OR
F = MSE / MSC
TOTAL TSS
ONE-WAY ANOVA TABLE
EXAMPLE FOR ONE-WAY ANOVA
Merits and Demerits of One-Way
ANOVA
• Merits
Layout is very simple and easy to
understand.
Gives maximum degrees of freedom for
error.
• Demerits
Population variances of experimental units
for different treatments need to be equal.
Verification of normality assumption may
be difficult.
Two-way ANOVA or Randomized
block design
• In two-way ANOVA a study variable is compared
over three or more groups, controlling for
another variable.
• The grouping is taken as one factor and the
control is taken as another factor.
• Grouping factor - Treatment.
• Control factor - Block.
• The accuracy of the test in two -way ANOVA is
considerably higher than that of the one-way
ANOVA, as the additional factor, block is used to
reduce the error variance.
• The total variation present in the
observations can be split into the following
three components:
• (i) The variation between treatments (groups)
• (ii) The variation between blocks.
• (ii) The variation inherent within a particular
setting or combination of treatment and
block.
DATA REPRESENTATION FOR TWO-WAY
ANOVA
SOURCE OF
VARIATION
DEGREE OF
FREEDOM
SUM OF
SQUARES
(SS)
MEAN
SQUARES
(MS)
F-RATIO
OR VARIANCE
RATIO
COLUMN
(TREATMENTS)
C - 1 SSC MSC = SSC/C-1 Fc = MSC/MSE
OR
Fc = MSE/MSC
ROW
(BLOCKS)
R - 1 SSR MSR = SSR/R-1 Fr = MSR/MSE
OR
Fr = MSE/MSR
ERROR (R-1)(C-1) or
N-C-R+1
SSE MSE =
SSE/(R-1)(C-1)
TOTAL TSS
TWO-WAY ANOVA TABLE
EXAMPLE FOR TWO-WAY ANOVA
Merits and Demerits of two-way
ANOVA
• Merits
Any number of blocks and treatments can be used.
Number of units in each block should be equal.
It is the most used design in view of the smaller total
sample size since we are studying two variable at a
time.
• Demerits
If the number of treatments is large enough, then it
becomes difficult to maintain the homogeneity of
the blocks.
If there is a missing value, it cannot be ignored. It
has to be replaced with some function of the existing
values and certain adjustments have to be made in
the analysis. This makes the analysis slightly complex.
THANK YOU

More Related Content

What's hot (20)

Standard error-Biostatistics
Standard error-BiostatisticsStandard error-Biostatistics
Standard error-Biostatistics
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Correlation
CorrelationCorrelation
Correlation
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
F test
F testF test
F test
 
Regression
RegressionRegression
Regression
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Goodness Of Fit Test
Goodness Of Fit TestGoodness Of Fit Test
Goodness Of Fit Test
 
Application of excel and spss programme in statistical
Application of excel and spss programme in statisticalApplication of excel and spss programme in statistical
Application of excel and spss programme in statistical
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 

Similar to Anova - One way and two way

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, MANOVAPrincy Francis M
 
Anova, ancova, manova thiyagu
Anova, ancova, manova   thiyaguAnova, ancova, manova   thiyagu
Anova, ancova, manova thiyaguThiyagu K
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in researchAbhijeet Birari
 
Statr session 19 and 20
Statr session 19 and 20Statr session 19 and 20
Statr session 19 and 20Ruru Chowdhury
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8Daria Bogdanova
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologistsxeonfusion
 
Anova single factor
Anova single factorAnova single factor
Anova single factorDhruv Patel
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiationSubramani Parasuraman
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametricSoniaBabaee
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)DSilvaGraf83
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)DMoseStaton39
 
Analysis of Covariance.pptx
Analysis of Covariance.pptxAnalysis of Covariance.pptx
Analysis of Covariance.pptxSunita Poudel
 
Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Farhan Alfin
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of VarianceMichael770443
 

Similar to Anova - One way and two way (20)

Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
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, ancova, manova thiyagu
Anova, ancova, manova   thiyaguAnova, ancova, manova   thiyagu
Anova, ancova, manova thiyagu
 
Workshop on Data Analysis and Result Interpretation in Social Science Researc...
Workshop on Data Analysis and Result Interpretation in Social Science Researc...Workshop on Data Analysis and Result Interpretation in Social Science Researc...
Workshop on Data Analysis and Result Interpretation in Social Science Researc...
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 
Statr session 19 and 20
Statr session 19 and 20Statr session 19 and 20
Statr session 19 and 20
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologists
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
1 ANOVA.ppt
1 ANOVA.ppt1 ANOVA.ppt
1 ANOVA.ppt
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
Analysis of Covariance.pptx
Analysis of Covariance.pptxAnalysis of Covariance.pptx
Analysis of Covariance.pptx
 
Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 

Recently uploaded

Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsCharlene Llagas
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett SquareIsiahStephanRadaza
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxSwapnil Therkar
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxFarihaAbdulRasheed
 
Temporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of MasticationTemporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of Masticationvidulajaib
 
Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫qfactory1
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 
Gas_Laws_powerpoint_notes.ppt for grade 10
Gas_Laws_powerpoint_notes.ppt for grade 10Gas_Laws_powerpoint_notes.ppt for grade 10
Gas_Laws_powerpoint_notes.ppt for grade 10ROLANARIBATO3
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trssuser06f238
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfSELF-EXPLANATORY
 

Recently uploaded (20)

Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of Traits
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett Square
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
 
Temporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of MasticationTemporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of Mastication
 
Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 
Gas_Laws_powerpoint_notes.ppt for grade 10
Gas_Laws_powerpoint_notes.ppt for grade 10Gas_Laws_powerpoint_notes.ppt for grade 10
Gas_Laws_powerpoint_notes.ppt for grade 10
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 tr
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
 

Anova - One way and two way

  • 1. BIOINSTRUMENTATION AND RESEARCH METHODOLOGY UNIT IV – BIOSTATISTICS TOPIC: ANOVA – ONE WAY & TWO WAY ABARNA M P II – M.Sc., BIOTECHNOLOGY 21PBT810
  • 2. ANALYSIS OF VARIANCE (ANOVA) • Powerful statistical tool for tests of significance. • The test of significance using t-distribution is an adequate procedure only for testing the significance of the difference between two sample means. • When we have three or more samples to consider at a time, an alternative procedure is needed for testing the hypothesis that all the samples are drawn from the same population i.e., they have the same means. • PURPOSE OF ANOVA: To test the homogeneity of several means.
  • 3. • ANOVA – A hypothesis testing procedure that is used to evaluate the mean differences between two or more treatments (or) populations. • Invented by R.A. FISHER – Fisher’s ANOVA. • Similar to t-test and z-test – used to compare means and also the relative variance between them. • It is used to test the statistical significance of the relationship between a dependent variable (Y) and a single or multiple independent variable (X). • Helps to figure out if the null hypothesis has to be rejected or accepted.
  • 4. TERMS USED IN ANOVA • DEGREE OF FREEDOM (DF) – The number of independent conclusions that can be drawn from the data. • SSfactor – It measures the variation of each group mean to the overall mean across all groups. • Sserror – It measures the variation of each observation within each factor level to the mean of the level. • Main effect – The effect where the performance of one variable considered in isolation by neglecting other variables in the study.
  • 5. • Interaction – This effect occurs where the effect of one variable is different across levels of one or more other variables. • Mean square error (MSE) – Divide the sum of squares of the residual error by the degrees of freedom. • F- test – The null hypothesis that the category means are equal in the population is tested by F statistic based on the ratio of mean square related to X and MSE. • P – value – It is the smallest level of significance that would lead to rejection of the null hypothesis (H0).
  • 6. ASSUMPTIONS FOR ANOVA TEST • The observations follow normal distribution. • The samples are independent. • The population variances are equal and unknown.
  • 7. STEPS INVOLVED IN ANOVA CALCULATION • Establish the hypothesis. • Find out the mean. • Calculation of SStotal , Ssbetween and Sswithin (SStotal - Ssbetween) • ANOVA table • Conclusion and Interpretation.
  • 8. SOURCE OF VARIATION DEGREE OF FREEDOM SUM OF SQUARES (SS) MEAN SQUARES (MS) F-RATIO BETWEEN K - 1 SSbetween SSbetween / K-1 = MSbetween WITHIN (ERROR) N - K SSwithin SSwithin/ N-K = MSwithin F = MSbetween /MSwithin TOTAL SStotal ANOVA TABLE
  • 9. EXAMPLE • The following data represent the gain in weight (in kg) of a species of edible fish cultured in 4 diet formulations (D1, D2, D3 and D4) for a period of 3 months. Analyze these data for significant difference among the diet formulations in terms of gain in weight. D1 D2 D3 D4 4 8 5 1 5 7 7 4 1 9 8 1 3 6 6 3 2 10 9 1
  • 10. TYPES OF ANOVA • One-way ANOVA or Completely randomized design • Two-way ANOVA or Randomized block design • Three-way ANOVA or Latin square design
  • 11. One-way ANOVA or Completely randomized design • The effect of one factor on the mean is tested. • It is based on independent random samples drawn from k – different levels of a factor, also called treatments. • The total variation in the observations can be split into the following two components • (i) variation between the levels or the variation due to different bases of classification, commonly known as treatments. • (ii) The variation within the treatments i.e. inherent variation among the observations within levels.
  • 12.
  • 13. SOURCE OF VARIATION DEGREE OF FREEDOM SUM OF SQUARES (SS) MEAN SQUARES (MS) F-RATIO OR VARIANCE RATIO BETWEEN COLUMNS C - 1 SSC MSC = SSC / C-1 WITHIN COLUMNS (ERROR) N - C SSE MSE = SSE / N-C F = MSC / MSE OR F = MSE / MSC TOTAL TSS ONE-WAY ANOVA TABLE
  • 15. Merits and Demerits of One-Way ANOVA • Merits Layout is very simple and easy to understand. Gives maximum degrees of freedom for error. • Demerits Population variances of experimental units for different treatments need to be equal. Verification of normality assumption may be difficult.
  • 16. Two-way ANOVA or Randomized block design • In two-way ANOVA a study variable is compared over three or more groups, controlling for another variable. • The grouping is taken as one factor and the control is taken as another factor. • Grouping factor - Treatment. • Control factor - Block. • The accuracy of the test in two -way ANOVA is considerably higher than that of the one-way ANOVA, as the additional factor, block is used to reduce the error variance.
  • 17. • The total variation present in the observations can be split into the following three components: • (i) The variation between treatments (groups) • (ii) The variation between blocks. • (ii) The variation inherent within a particular setting or combination of treatment and block.
  • 18. DATA REPRESENTATION FOR TWO-WAY ANOVA
  • 19. SOURCE OF VARIATION DEGREE OF FREEDOM SUM OF SQUARES (SS) MEAN SQUARES (MS) F-RATIO OR VARIANCE RATIO COLUMN (TREATMENTS) C - 1 SSC MSC = SSC/C-1 Fc = MSC/MSE OR Fc = MSE/MSC ROW (BLOCKS) R - 1 SSR MSR = SSR/R-1 Fr = MSR/MSE OR Fr = MSE/MSR ERROR (R-1)(C-1) or N-C-R+1 SSE MSE = SSE/(R-1)(C-1) TOTAL TSS TWO-WAY ANOVA TABLE
  • 21. Merits and Demerits of two-way ANOVA • Merits Any number of blocks and treatments can be used. Number of units in each block should be equal. It is the most used design in view of the smaller total sample size since we are studying two variable at a time. • Demerits If the number of treatments is large enough, then it becomes difficult to maintain the homogeneity of the blocks. If there is a missing value, it cannot be ignored. It has to be replaced with some function of the existing values and certain adjustments have to be made in the analysis. This makes the analysis slightly complex.
  • 22.