SlideShare a Scribd company logo
ANALYSIS OF VARIANCE
(ANOVA)
Course: QADM
One-Way ANOVA
Introduction
• ANOVA is a tool to test equality of more than two means simultaneously.
OR
• It is a tool for analyzing how the mean value of a quantitative response
variable is related to one or more categorical explanatory factors.
• F-test is used to determine the significance difference among three or
means.
• It was developed by Sir R. A. Fisher, an English Statistician.
One-Way ANOVA
Examples
• To determine significant differences for mean time of solving a computer problem
by four groups of students, using C, C #, C++ and Python.
• To determine significant differences for Software Effort among different phases of
SDLC.
• To determine significant differences for software metrics such as: Defect metric,
process metric, KSLOC, FPs, etc.
• To determine interaction effect of testing technique, software type, expertise level
etc.
One-Way ANOVA
F-test
• Consider two independent normal populations with common variance σ2
.
If random samples of sizes n1 & n2 are drawn from these populations then:
where are two sample variances.
(Note: the larger of the variances is placed in the numerator of the F formula)
One-Way ANOVA
Assumptions & Conditions for F-test
• The samples are independent random samples.
• The distribution of the response variable is a normal curve within
each population.
• The different populations may have different means.
• All populations have the same standard deviation, σ.
One-Way ANOVA
• Normality: Normal probability plots of the sample data are effective
in detecting gross violations of normality.
• A rule of thumb for equality of variances: one can consider that
condition met if the ratio of the largest to the smallest sample standard
deviation is less than 2
Sensitivity of F-statistic
• The F-statistic is sensitive to differences among a set of sample
means.
• The greater the variation among the sample means, the
larger is the value of the test statistic.
• The smaller the variation among the observed means, the smaller the value
of the test statistic.
One-Way ANOVA
ANOVA theory qadm pptx in qualitative decision making
F-distribution
• If x is an F random variable with u numerator and υ denominator
degrees of freedom, then the PDF of x is:
One-Way ANOVA
Why not t-test ?
Why t-test should not be done while comparing several means taking
two at a time?
• when one is comparing two means at a time, the rest of the means
under study are ignored.
• the more means there are to compare, the more t tests are needed.
• For the comparison of 5 means two at a time, 10 tests are required.
• for the comparison of 10 means two at a time, 45 tests are required.
• the more t tests that are conducted, the greater is the likelihood of
getting significant differences by chance alone.
One-Way ANOVA
Why the procedure is called ANOVA?
• The name Analysis of Variance is derived from a partitioning of total
variability into its component parts.
One-Way ANOVA
One-Way ANOVA
• Random samples of size n are selected from each of k populations.
The k different populations are classified on the basis of a single
criterion such as different treatments or groups.
• It is assumed that the k populations are independent and normally
distributed with means µ1, µ2, … µk and common variance σ2
.
One-Way ANOVA
Model for One-way ANOVA
• µ is the Grand Mean of all µi,
• The represents random error (within group variation).
• is the effect of ith
treatment with constraint
One-Way ANOVA
Summary procedure of ANOVA
α: 0.05, 0.01, or 0.10
One-Way ANOVA
Example # 1
• A researcher wishes to try three different techniques to lower the blood pressure
of individuals diagnosed with high blood pressure. The subjects are randomly
assigned to three groups; the first group takes medication, the second group
exercises, and the third group follows a special diet. After four weeks, the
reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim
that there is no difference among the means. The data follow.
One-Way ANOVA
Solution (Example 01)
• Find Grand Mean (GM) as:
• Find b/w group variance as:
• Find within group variance as:
• F-test as:
One-Way ANOVA
Solution (Example 01, Contd.)
• Decision: the decision is to reject Ho as :
• There is enough evidence to reject the claim and conclude that at least one
mean is different from the others.
One-Way ANOVA
Why the word Variance in ANOVA?
• The procedure for comparing the means
analyzes the variation in the sample data.
ANOVA theory qadm pptx in qualitative decision making
ANOVA theory qadm pptx in qualitative decision making
Multiple Comparison Test
Example # 02 [Plasma Etching Experiment]
Recall that the engineer is interested in determining if the RF power setting affects
the etch rate, and she has run a completely randomized experiment with four
levels of RF power and five replicates.
Solution (Example 02)
One-Way ANOVA
Example # 03
One-Way ANOVA
Solution (Example 04)
One-Way ANOVA
Example # 05
ANOVA theory qadm pptx in qualitative decision making
Solution (Example # 05)
SSTR = SS Treatments
Two-way ANOVA
• The two-way ANOVA is an extension of the one way analysis of
variance; it involves two independent variables. The independent
variables are also called factors.
Example # 06 (Gasoline Consumption)
• A researcher wishes to see whether the type of gasoline used and the
type of automobile driven have any effect on gasoline consumption.
Two types of gasoline, regular and high-octane, will be used, and two
types of automobiles, two-wheel- and four-wheel drive, will be used
in each group. There will be two automobiles in each group, for a
total of eight automobiles used.
Solution (Example 06, Hypotheses)
Solution (Example 06, ANOVA table)
• the null hypotheses concerning the type of automobile driven and the
interaction effect should be rejected.
Practice Questions
Q1)
One-Way ANOVA
Q2)
One-Way ANOVA
ANOVA theory qadm pptx in qualitative decision making
ANOVA theory qadm pptx in qualitative decision making

More Related Content

PPT
ANOVA.ppt
PPTX
3.4 ANOVA how to perform one way and two way ANOVA.pptx
PPT
two way abbbbiiivaa eheheheheeeeeeeeeeeeeeeeeeeeeeeeee
PPTX
Stats ANOVA and Kruskal……………………………………….
PPT
ANOVA lecture PGs 2016 for postgraduates.ppt
PPT
ANOVA - PPT_03294146744445635645677364.ppt
PPT
oneway ANOVA.ppt
PPT
two way abbbbiiiv dsdsdsdsdsdsdssssssssssssssssssssss
ANOVA.ppt
3.4 ANOVA how to perform one way and two way ANOVA.pptx
two way abbbbiiivaa eheheheheeeeeeeeeeeeeeeeeeeeeeeeee
Stats ANOVA and Kruskal……………………………………….
ANOVA lecture PGs 2016 for postgraduates.ppt
ANOVA - PPT_03294146744445635645677364.ppt
oneway ANOVA.ppt
two way abbbbiiiv dsdsdsdsdsdsdssssssssssssssssssssss

Similar to ANOVA theory qadm pptx in qualitative decision making (20)

PPTX
ANOVA Parametric test: Biostatics and Research Methodology
PPTX
data analysis in research.pptx
PPT
oneway.ppt
PPTX
Analysis of data in research
PPTX
Research Methodology One-Way ANOVA - analysis of variance , pares the mean...
PPTX
Shovan anova main
PPTX
Correlation and Regression - ANOVA - DAY 5 - B.Ed - 8614 - AIOU
PPTX
QM Unit II.pptx
PPTX
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
PPT
Anova lecture
PDF
Avova 2.pdf
PDF
Analysis of Variance (ANOVA)
PPTX
ONE-WAY ANOVA (Analysis of Variance).pptx
PPTX
Analysis of variance(one way ANOVA).pptx
PPTX
Anova in easyest way
PPT
Anova by Hazilah Mohd Amin
DOCX
5ANOVA Analyzing Differences in Multiple GroupsLea.docx
DOCX
iStockphotoThinkstockchapter 6Analysis of Variance (A.docx
PDF
Anova (analysis of variance) test
PDF
General Guidelines_Terms and condition_Annexures_3.pdf
ANOVA Parametric test: Biostatics and Research Methodology
data analysis in research.pptx
oneway.ppt
Analysis of data in research
Research Methodology One-Way ANOVA - analysis of variance , pares the mean...
Shovan anova main
Correlation and Regression - ANOVA - DAY 5 - B.Ed - 8614 - AIOU
QM Unit II.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
Anova lecture
Avova 2.pdf
Analysis of Variance (ANOVA)
ONE-WAY ANOVA (Analysis of Variance).pptx
Analysis of variance(one way ANOVA).pptx
Anova in easyest way
Anova by Hazilah Mohd Amin
5ANOVA Analyzing Differences in Multiple GroupsLea.docx
iStockphotoThinkstockchapter 6Analysis of Variance (A.docx
Anova (analysis of variance) test
General Guidelines_Terms and condition_Annexures_3.pdf
Ad

Recently uploaded (20)

PDF
annual-report-2024-2025 original latest.
PPTX
1_Introduction to advance data techniques.pptx
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Introduction to machine learning and Linear Models
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PDF
Introduction to the R Programming Language
PPTX
Supervised vs unsupervised machine learning algorithms
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
annual-report-2024-2025 original latest.
1_Introduction to advance data techniques.pptx
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
STERILIZATION AND DISINFECTION-1.ppthhhbx
Galatica Smart Energy Infrastructure Startup Pitch Deck
Introduction to machine learning and Linear Models
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
Fluorescence-microscope_Botany_detailed content
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Clinical guidelines as a resource for EBP(1).pdf
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Introduction to the R Programming Language
Supervised vs unsupervised machine learning algorithms
Reliability_Chapter_ presentation 1221.5784
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
ISS -ESG Data flows What is ESG and HowHow
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Ad

ANOVA theory qadm pptx in qualitative decision making

  • 2. Introduction • ANOVA is a tool to test equality of more than two means simultaneously. OR • It is a tool for analyzing how the mean value of a quantitative response variable is related to one or more categorical explanatory factors. • F-test is used to determine the significance difference among three or means. • It was developed by Sir R. A. Fisher, an English Statistician. One-Way ANOVA
  • 3. Examples • To determine significant differences for mean time of solving a computer problem by four groups of students, using C, C #, C++ and Python. • To determine significant differences for Software Effort among different phases of SDLC. • To determine significant differences for software metrics such as: Defect metric, process metric, KSLOC, FPs, etc. • To determine interaction effect of testing technique, software type, expertise level etc. One-Way ANOVA
  • 4. F-test • Consider two independent normal populations with common variance σ2 . If random samples of sizes n1 & n2 are drawn from these populations then: where are two sample variances. (Note: the larger of the variances is placed in the numerator of the F formula) One-Way ANOVA
  • 5. Assumptions & Conditions for F-test • The samples are independent random samples. • The distribution of the response variable is a normal curve within each population. • The different populations may have different means. • All populations have the same standard deviation, σ. One-Way ANOVA
  • 6. • Normality: Normal probability plots of the sample data are effective in detecting gross violations of normality. • A rule of thumb for equality of variances: one can consider that condition met if the ratio of the largest to the smallest sample standard deviation is less than 2
  • 7. Sensitivity of F-statistic • The F-statistic is sensitive to differences among a set of sample means. • The greater the variation among the sample means, the larger is the value of the test statistic. • The smaller the variation among the observed means, the smaller the value of the test statistic. One-Way ANOVA
  • 9. F-distribution • If x is an F random variable with u numerator and υ denominator degrees of freedom, then the PDF of x is: One-Way ANOVA
  • 10. Why not t-test ? Why t-test should not be done while comparing several means taking two at a time? • when one is comparing two means at a time, the rest of the means under study are ignored. • the more means there are to compare, the more t tests are needed. • For the comparison of 5 means two at a time, 10 tests are required. • for the comparison of 10 means two at a time, 45 tests are required. • the more t tests that are conducted, the greater is the likelihood of getting significant differences by chance alone. One-Way ANOVA
  • 11. Why the procedure is called ANOVA? • The name Analysis of Variance is derived from a partitioning of total variability into its component parts. One-Way ANOVA
  • 12. One-Way ANOVA • Random samples of size n are selected from each of k populations. The k different populations are classified on the basis of a single criterion such as different treatments or groups. • It is assumed that the k populations are independent and normally distributed with means µ1, µ2, … µk and common variance σ2 . One-Way ANOVA
  • 13. Model for One-way ANOVA • µ is the Grand Mean of all µi, • The represents random error (within group variation). • is the effect of ith treatment with constraint One-Way ANOVA
  • 14. Summary procedure of ANOVA α: 0.05, 0.01, or 0.10 One-Way ANOVA
  • 15. Example # 1 • A researcher wishes to try three different techniques to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to three groups; the first group takes medication, the second group exercises, and the third group follows a special diet. After four weeks, the reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim that there is no difference among the means. The data follow. One-Way ANOVA
  • 16. Solution (Example 01) • Find Grand Mean (GM) as: • Find b/w group variance as: • Find within group variance as: • F-test as: One-Way ANOVA
  • 17. Solution (Example 01, Contd.) • Decision: the decision is to reject Ho as : • There is enough evidence to reject the claim and conclude that at least one mean is different from the others. One-Way ANOVA
  • 18. Why the word Variance in ANOVA? • The procedure for comparing the means analyzes the variation in the sample data.
  • 22. Example # 02 [Plasma Etching Experiment] Recall that the engineer is interested in determining if the RF power setting affects the etch rate, and she has run a completely randomized experiment with four levels of RF power and five replicates.
  • 28. Solution (Example # 05) SSTR = SS Treatments
  • 29. Two-way ANOVA • The two-way ANOVA is an extension of the one way analysis of variance; it involves two independent variables. The independent variables are also called factors.
  • 30. Example # 06 (Gasoline Consumption) • A researcher wishes to see whether the type of gasoline used and the type of automobile driven have any effect on gasoline consumption. Two types of gasoline, regular and high-octane, will be used, and two types of automobiles, two-wheel- and four-wheel drive, will be used in each group. There will be two automobiles in each group, for a total of eight automobiles used.
  • 31. Solution (Example 06, Hypotheses)
  • 32. Solution (Example 06, ANOVA table) • the null hypotheses concerning the type of automobile driven and the interaction effect should be rejected.

Editor's Notes

  • #10: the more t tests that are conducted, the greater is the likelihood of getting significant differences by chance alone.
  • #12: In one-way there is only one independent variable.
  • #15: 59 + 19 + 38 = 116 & Grand Mean=7.733 Sum (Each obs.)^2=1162 59^2 + 19^2 + 38^2=5286 SST=264.933 & SS(treatment)=160.133 & SSE=104.799
  • #19: No. Because the variation among the sample means is not large relative to the variation within the samples
  • #21: https://www.statology.org/tukey-vs-bonferroni-vs-scheffe/#:~:text=on%20the%20situation.-,The%20Tukey%20Method,for%20each%20group%20are%20equal.
  • #26: GrandMean=11.9, SSTR=97.5 SSE = 82.3 MSE= 5.144, MSTR= 32.5; F=6.32
  • #28: GrandMean=11.9, SSTR=97.5 SSE = 82.3 MSE= 5.144, MSTR= 32.5; F=6.32 Reject Ho.
  • #30: Unit=miles/gallon
  • #32: Citical value = 7.71