SlideShare une entreprise Scribd logo
1  sur  14
Analysis of Variance
(ANOVA)

One Way
Classification
When an F test is used to test a hypothesis
concerning the means of three or more populations,
the technique is called ANALYSIS of VARIANCE
( ANOVA).
Reasons why t test should not be done:
1.When one is comparing two means at a time, the rest
of the means under study are ignored. With the F test,
all the means are compared simultaneously.
2.

When one is comparing two means at a time and
making all pair wise comparisons, the probability of
rejecting the null hypothesis when it is true is increased,
since the more t test that are conducted, the greater is
the likelihood of getting significant differences by chance
alone.
3.The more means there are to compare, the more t
tests are needed.
For example, for the comparison of 3 means
two at a time, 3 t tests are required. For the
comparison of 5 means two at a time, 10 tests are
required. And for the comparisons of 10 means two at
a time, 45 tests are required.
Assumptions for the F Test for Comparing
Three or More Means

1. The populations from which the samples are
obtained must be normally or approximately
normally distributed.
2. The samples must be independent of each
other.
3. The variances of the populations must be
The two different estimates of the population
variance with the F test:
Between- group variance
 It involves finding the variance of the means
Within- group variance
 Is made by computing the variance using all the
data and is not affected by differences in the means.
 If there is no difference in the means, the betweengroup variance estimate will be approximately equal to
the within-group variance estimate, and the F test
value will be approximately equal to 1.
 The null hypothesis will not be rejected. However,
when the means differ significantly, the between-group
variance will be much larger than the within group
variance: the F test value will be significantly greater
than 1; and the null hypothesis will be rejected.
For the test of the difference among three or more
means, the following hypothesis should be used:
H₀ : μ₁ = μ₂ = ∙∙∙ = μn
H₁ : At least one mean is different from
others.
The degrees of freedom for this F test are:
d.f.N. = k - 1,
where k is the number of groups,
and d.f.D. = N - k
where N is the sum of the sample sizes of the
groups N = n₁ + n₂ + nk .
The sample sizes need not be equal. The
F test to compare means is always right-tailed.
Example :
A researcher whishes to try three different
techniques to lower the blood pressure of individuals
diagnosed with the high blood pressure. The subjects
are randomly assigned to three groups; the first group
take medication, the second group exercises, and the
third group follows a special diet. After four weeks the
reduction of each person’s is recorded. At α = 0.05, test
the claim that there is no difference among the means.
The data are shown
Medication

Exercise

Diet

10
12
9

6
8
3

5
9
12

0
2
χ₂ = 3.8

8
4
χ₃ = 7.6

s²₂ = 10.2

s²₃ =10.3

15
13
χ₁ = 11.8

s²₁ = 5.7

Solution :
 STEP

1:

State the hypothesis and identify the

claim.
H₀: μ₁ = μ₂ = μ₃ (claim)
H₁: At least one mean is different from others.
 STEP

2: Find the critical value. Since k =3 and N = 15.
d.f.N. =k – 1 = 3 – 1 = 2
d.f.D. =N – k = 15 – 3 = 12
The critical value is 3.89 obtained from Table H in
Appendix C with α =0.05.
 STEP 3:
Compute the test value using the procedure
outline here.
a. Find the mean and variance of each sample (these
values
are shown below the data).
b. Find the grand mean. The grand mean, denoted by is
the mean of all values in the samples.
b. Find the grand mean. The grand mea, denoted by
the mean of all values in the samples.

is

When the samples are equal in size, find
by
summing the ‘s and dividing by k, where k = the number of
groups.
c. Find the between group variance, denoted by s²B .

Note: This formula finds the variance among the means using the
sample sizes as weights and considers the differences in the means.
d. Find the within-group variance, denoted by

.

Note: This formula finds an over all variance by
calculating a weighted average of the individual
variances. It does not involve using the differences of the
means.
e. Find the F test value.
 STEP

4: Make the decision. The decision is to reject
the null hypothesis, since 9.17 > 3.89.

 STEP 5:

Summarize the results. There is enough evidence
to reject the claim and conclude that at least one mean is
different from others.
SOURCE

SUM OF
SQUARES

d.f.

Between

k-1

Within (error)

N-k

TOTAL

MEAN
SQUARE

F
where;
= sum of the squares between groups
= sum of the squares within groups

k = no. of groups
N=

+

=

F=

+...+
ANOVA SUMMARY TABLE

SOURCE

SUM OF
SQUARES

d.f.

MEAN
SQUARE

F

Between

160.13

2

80.07

9.17

Within (error)

104.80

12

8.73

TOTAL

264.93

14
ANOVA-One Way Classification

Contenu connexe

Tendances

ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
Sharlaine Ruth
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
jundumaug1
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
Nursing Path
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
Jags Jagdish
 

Tendances (20)

Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significance
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
 
Z test
Z testZ test
Z test
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
Lecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysisLecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysis
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
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
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Anova ONE WAY
Anova ONE WAYAnova ONE WAY
Anova ONE WAY
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
T distribution
T distributionT distribution
T distribution
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 

Similaire à ANOVA-One Way Classification

Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docx
eve2xjazwa
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
bradburgess22840
 
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
 
In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
bradburgess22840
 
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
 

Similaire à ANOVA-One Way Classification (20)

test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)
 
Ttest
TtestTtest
Ttest
 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docx
 
Chapter15
Chapter15Chapter15
Chapter15
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
 
Student t test
Student t testStudent t test
Student t test
 
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
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
 
Ch6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesCh6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, Variances
 
INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
INFERENTIAL TECHNIQUES. Inferential Stat. pt 3INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
 
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
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
Parametric Test by Vikramjit Singh
Parametric Test  by  Vikramjit SinghParametric Test  by  Vikramjit Singh
Parametric Test by Vikramjit Singh
 
students_t_test.ppt
students_t_test.pptstudents_t_test.ppt
students_t_test.ppt
 
students_t_test.ppt
students_t_test.pptstudents_t_test.ppt
students_t_test.ppt
 
Power study: 1-way anova vs kruskall wallis
Power study: 1-way anova vs kruskall wallisPower study: 1-way anova vs kruskall wallis
Power study: 1-way anova vs kruskall wallis
 

Plus de Sharlaine Ruth (12)

Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test
 
Kruskal-Wallis H test
Kruskal-Wallis H testKruskal-Wallis H test
Kruskal-Wallis H test
 
Tetrachoric Correlation Coefficient
Tetrachoric Correlation CoefficientTetrachoric Correlation Coefficient
Tetrachoric Correlation Coefficient
 
Spearman’s Rank Correlation Coefficient
Spearman’s Rank Correlation CoefficientSpearman’s Rank Correlation Coefficient
Spearman’s Rank Correlation Coefficient
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Point Bicerial Correlation Coefficient
Point Bicerial Correlation CoefficientPoint Bicerial Correlation Coefficient
Point Bicerial Correlation Coefficient
 
Phi (φ) Correlation
Phi (φ) CorrelationPhi (φ) Correlation
Phi (φ) Correlation
 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlation
 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Portfolio Assessment Methods
Portfolio Assessment MethodsPortfolio Assessment Methods
Portfolio Assessment Methods
 
Probability Deck of Cards
Probability Deck of CardsProbability Deck of Cards
Probability Deck of Cards
 

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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

ANOVA-One Way Classification

  • 1. Analysis of Variance (ANOVA) One Way Classification
  • 2. When an F test is used to test a hypothesis concerning the means of three or more populations, the technique is called ANALYSIS of VARIANCE ( ANOVA). Reasons why t test should not be done: 1.When one is comparing two means at a time, the rest of the means under study are ignored. With the F test, all the means are compared simultaneously. 2. When one is comparing two means at a time and making all pair wise comparisons, the probability of rejecting the null hypothesis when it is true is increased, since the more t test that are conducted, the greater is the likelihood of getting significant differences by chance alone.
  • 3. 3.The more means there are to compare, the more t tests are needed. For example, for the comparison of 3 means two at a time, 3 t tests are required. For the comparison of 5 means two at a time, 10 tests are required. And for the comparisons of 10 means two at a time, 45 tests are required. Assumptions for the F Test for Comparing Three or More Means 1. The populations from which the samples are obtained must be normally or approximately normally distributed. 2. The samples must be independent of each other. 3. The variances of the populations must be
  • 4. The two different estimates of the population variance with the F test: Between- group variance  It involves finding the variance of the means Within- group variance  Is made by computing the variance using all the data and is not affected by differences in the means.  If there is no difference in the means, the betweengroup variance estimate will be approximately equal to the within-group variance estimate, and the F test value will be approximately equal to 1.  The null hypothesis will not be rejected. However, when the means differ significantly, the between-group variance will be much larger than the within group variance: the F test value will be significantly greater than 1; and the null hypothesis will be rejected.
  • 5. For the test of the difference among three or more means, the following hypothesis should be used: H₀ : μ₁ = μ₂ = ∙∙∙ = μn H₁ : At least one mean is different from others. The degrees of freedom for this F test are: d.f.N. = k - 1, where k is the number of groups, and d.f.D. = N - k where N is the sum of the sample sizes of the groups N = n₁ + n₂ + nk . The sample sizes need not be equal. The F test to compare means is always right-tailed.
  • 6. Example : A researcher whishes to try three different techniques to lower the blood pressure of individuals diagnosed with the high blood pressure. The subjects are randomly assigned to three groups; the first group take medication, the second group exercises, and the third group follows a special diet. After four weeks the reduction of each person’s is recorded. At α = 0.05, test the claim that there is no difference among the means. The data are shown
  • 7. Medication Exercise Diet 10 12 9 6 8 3 5 9 12 0 2 χ₂ = 3.8 8 4 χ₃ = 7.6 s²₂ = 10.2 s²₃ =10.3 15 13 χ₁ = 11.8 s²₁ = 5.7 Solution :  STEP 1: State the hypothesis and identify the claim. H₀: μ₁ = μ₂ = μ₃ (claim) H₁: At least one mean is different from others.
  • 8.  STEP 2: Find the critical value. Since k =3 and N = 15. d.f.N. =k – 1 = 3 – 1 = 2 d.f.D. =N – k = 15 – 3 = 12 The critical value is 3.89 obtained from Table H in Appendix C with α =0.05.  STEP 3: Compute the test value using the procedure outline here. a. Find the mean and variance of each sample (these values are shown below the data). b. Find the grand mean. The grand mean, denoted by is the mean of all values in the samples.
  • 9. b. Find the grand mean. The grand mea, denoted by the mean of all values in the samples. is When the samples are equal in size, find by summing the ‘s and dividing by k, where k = the number of groups. c. Find the between group variance, denoted by s²B . Note: This formula finds the variance among the means using the sample sizes as weights and considers the differences in the means.
  • 10. d. Find the within-group variance, denoted by . Note: This formula finds an over all variance by calculating a weighted average of the individual variances. It does not involve using the differences of the means. e. Find the F test value.
  • 11.  STEP 4: Make the decision. The decision is to reject the null hypothesis, since 9.17 > 3.89.  STEP 5: Summarize the results. There is enough evidence to reject the claim and conclude that at least one mean is different from others. SOURCE SUM OF SQUARES d.f. Between k-1 Within (error) N-k TOTAL MEAN SQUARE F
  • 12. where; = sum of the squares between groups = sum of the squares within groups k = no. of groups N= + = F= +...+
  • 13. ANOVA SUMMARY TABLE SOURCE SUM OF SQUARES d.f. MEAN SQUARE F Between 160.13 2 80.07 9.17 Within (error) 104.80 12 8.73 TOTAL 264.93 14