SlideShare a Scribd company logo
1 of 20
Section 12.3-1Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Chapter 12
Analysis of Variance
12-3 Two-Way ANOVA
Section 12.3-2Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Key Concepts
We introduce the method of two-way analysis of variance,
which is used with data partitioned into categories
according to two factors.
The methods of this section require that we begin by
testing for an interaction between the two factors.
Then we test whether the row or column factors have
effects.
Section 12.3-3Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
The data in the table are categorized with two factors:
1. Sex: Male or Female
2. Blood Lead Level: Low, Medium, or High
The subcategories are called cells, and the response
variable is IQ score.
The data are presented on the next slide:
Section 12.3-4Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
Section 12.3-5Copyright © 2014, 2012, 2010 Pearson Education, Inc.
There is an interaction between two factors if the effect of
one of the factors changes for different categories of the
other factor.
Definition
Section 12.3-6Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Let’s explore the IQ data in the table by calculating the
mean for each cell and constructing an interaction graph.
Example
Section 12.3-7Copyright © 2014, 2012, 2010 Pearson Education, Inc.
An interaction effect is suggested if the line segments are
far from being parallel.
No interaction effect is suggested if the line segments
are approximately parallel.
For the IQ scores, it appears there is an interaction
effect:
• Females with high lead exposure appear to have lower
IQ scores, while males with high lead exposure appear
to have high IQ scores.
Interpreting an Interaction Graph
Section 12.3-8Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Requirements for Two-Way ANOVA
1. For each cell, the sample values come from a population
with a distribution that is approximately normal.
2. The populations have the same variance σ2.
3. The samples are simple random samples.
4. The samples are independent of each other.
5. The sample values are categorized two ways.
6. All of the cells have the same number of sample values (a
balanced design – this section does not include methods
for a design that is not balanced).
Section 12.3-9Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Technology and Two-Way ANOVA
Two-Way ANOVA calculations are quite involved, so we
will assume that a software package is being used.
Minitab, Excel, StatCrunch, TI-83/4, STATDISK, or other
software can be used.
Section 12.3-10Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Procedure for Two-Way ANOVA
Step 1: Interaction Effect - test the null hypothesis that
there is no interaction
Step 2: Row/Column Effects - if we conclude there is no
interaction effect, proceed with these two
hypothesis tests
Row Factor: no effects from row
Column Factor: no effects from column
All tests use the F distribution and it is assumed technology
will be used.
Section 12.3-11Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Procedure for
Two-Way ANOVA
Section 12.3-12Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Procedure for
Two-Way ANOVA
Section 12.3-13Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
Given the performance IQ scores in the table at the
beginning of this section, use two-way ANOVA to test for
an interaction effect, an effect from the row factor of
gender, and an effect from the column factor of blood lead
level.
Use a 0.05 level of significance.
Section 12.3-14Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Requirement Check:
1. For each cell, the sample values appear to be from a
normally distributed population.
2. The variances of the cells are 95.3, 146.7, 130.8, 812.7,
142.3, and 143.8, which are considerably different from
each other. We might have some reservations that the
population variances are equal – but for the purposes of
this example, we will assume the requirement is met.
3. The samples are simple random samples.
4. The samples are independent of each other.
5. The sample values are categorized in two ways.
6. All the cells have the same number of values.
Section 12.3-15Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
The technology output is displayed below:
Section 12.3-16Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Step 1: Test that there is no interaction between the two
factors.
The test statistic is F = 0.43 and the P-value is
0.655, so we fail to reject the null hypothesis.
It does not appear that the performance IQ scores
are affected by an interaction between sex and
blood lead level.
There does not appear to be an interaction effect,
so we proceed to test for row and column effects.
Section 12.3-17Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Step 2: We now test:
For the row factor, F = 0.07 and the P-value is 0.791. Fail
to reject the null hypothesis, there is no evidence that IQ
scores are affected by the gender of the subject.
For the column factor, F = 0.10 and the P-value is 0.906.
Fail to reject the null hypothesis, there is no evidence that
IQ scores are effected by the level of lead exposure.
H0
: There are no effects from the row factor (gender).
H0
: There are no effects from the column factor (blood lead level).
Section 12.3-18Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Interpretation:
Based on the sample data, we conclude that IQ scores do
not appear to be affected by sex or blood lead level.
Section 12.3-19Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Caution
Two-way analysis of variance is not one-way analysis of
variance done twice.
Be sure to test for an interaction between the two factors.
Section 12.3-20Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Special Case:
One Observation per Cell and
No Interaction
If our sample data consist of only one observation per
cell, there is no variation within individual cells and
sample variances cannot be calculated for individual
cells.
If it seems reasonable to assume there is no interaction
between the two factors, make that assumption and test
separately:
(The mechanics of the tests are the same as presented earlier.)
H0
: There are no effects from the row factor.
H1
: There are no effects from the column factor.

More Related Content

What's hot

What's hot (20)

Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
The Kruskal-Wallis H Test
The Kruskal-Wallis H TestThe Kruskal-Wallis H Test
The Kruskal-Wallis H Test
 
ANOVA TEST by shafeek
ANOVA TEST by shafeekANOVA TEST by shafeek
ANOVA TEST by shafeek
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Student T - test
Student T -  testStudent T -  test
Student T - test
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
Two way ANOVA
Two way ANOVATwo way ANOVA
Two way ANOVA
 
Mann Whitney U test
Mann Whitney U testMann Whitney U test
Mann Whitney U test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
T test
T testT test
T test
 
T test statistics
T test statisticsT test statistics
T test statistics
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
 
Chi Square & Anova
Chi Square & AnovaChi Square & Anova
Chi Square & Anova
 
Unit-III Non-Parametric Tests BSRM.pdf
Unit-III Non-Parametric Tests BSRM.pdfUnit-III Non-Parametric Tests BSRM.pdf
Unit-III Non-Parametric Tests BSRM.pdf
 
General Factor Factorial Design
General Factor Factorial DesignGeneral Factor Factorial Design
General Factor Factorial Design
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
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
 

Similar to Two Way ANOVA

Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.pptManoloTaquire
 
Chapter 8 Section 2.ppt
Chapter 8 Section 2.pptChapter 8 Section 2.ppt
Chapter 8 Section 2.pptManoloTaquire
 
Chapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptChapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptManoloTaquire
 
Inference about means and mean differences
Inference about means and mean differencesInference about means and mean differences
Inference about means and mean differencesAndi Koentary
 
Chapter 8 Section 5.ppt
Chapter 8 Section 5.pptChapter 8 Section 5.ppt
Chapter 8 Section 5.pptManoloTaquire
 
Chapter 8 Section 4.ppt
Chapter 8 Section 4.pptChapter 8 Section 4.ppt
Chapter 8 Section 4.pptManoloTaquire
 
Statistical Package for the Social Sciences
Statistical Package for the Social SciencesStatistical Package for the Social Sciences
Statistical Package for the Social SciencesNear East University
 
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docxUsing the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docxdaniahendric
 
non-parametric test with examples and data problems
non-parametric test with examples and data problemsnon-parametric test with examples and data problems
non-parametric test with examples and data problemsshivshankarshiva98
 
Sample size calculation - Animal experimentation
Sample size calculation - Animal experimentationSample size calculation - Animal experimentation
Sample size calculation - Animal experimentationDr Anudeep Reddy
 
Chapter 8 Section 3.ppt
Chapter 8 Section 3.pptChapter 8 Section 3.ppt
Chapter 8 Section 3.pptManoloTaquire
 
X18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsX18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsShantanu Deshpande
 
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Dexlab Analytics
 
Chapter 18 – Pricing Setting in the Business WorldThere are few .docx
Chapter 18 – Pricing Setting in the Business WorldThere are few .docxChapter 18 – Pricing Setting in the Business WorldThere are few .docx
Chapter 18 – Pricing Setting in the Business WorldThere are few .docxrobert345678
 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square testPenny Jiang
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Chapter 9 Section 3.ppt
Chapter 9 Section 3.pptChapter 9 Section 3.ppt
Chapter 9 Section 3.pptManoloTaquire
 
BASIC STATISTICAL TREATMENT IN RESEARCH.pptx
BASIC STATISTICAL TREATMENT IN RESEARCH.pptxBASIC STATISTICAL TREATMENT IN RESEARCH.pptx
BASIC STATISTICAL TREATMENT IN RESEARCH.pptxardrianmalangen2
 

Similar to Two Way ANOVA (20)

Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.ppt
 
Chapter 8 Section 2.ppt
Chapter 8 Section 2.pptChapter 8 Section 2.ppt
Chapter 8 Section 2.ppt
 
Chapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptChapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).ppt
 
Inference about means and mean differences
Inference about means and mean differencesInference about means and mean differences
Inference about means and mean differences
 
Chapter 8 Section 5.ppt
Chapter 8 Section 5.pptChapter 8 Section 5.ppt
Chapter 8 Section 5.ppt
 
Chapter 8 Section 4.ppt
Chapter 8 Section 4.pptChapter 8 Section 4.ppt
Chapter 8 Section 4.ppt
 
Ch07
Ch07Ch07
Ch07
 
Statistical Package for the Social Sciences
Statistical Package for the Social SciencesStatistical Package for the Social Sciences
Statistical Package for the Social Sciences
 
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docxUsing the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
 
non-parametric test with examples and data problems
non-parametric test with examples and data problemsnon-parametric test with examples and data problems
non-parametric test with examples and data problems
 
Sample size calculation - Animal experimentation
Sample size calculation - Animal experimentationSample size calculation - Animal experimentation
Sample size calculation - Animal experimentation
 
Chapter 8 Section 3.ppt
Chapter 8 Section 3.pptChapter 8 Section 3.ppt
Chapter 8 Section 3.ppt
 
X18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsX18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalytics
 
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
 
Chapter 18 – Pricing Setting in the Business WorldThere are few .docx
Chapter 18 – Pricing Setting in the Business WorldThere are few .docxChapter 18 – Pricing Setting in the Business WorldThere are few .docx
Chapter 18 – Pricing Setting in the Business WorldThere are few .docx
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square test
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Chapter 9 Section 3.ppt
Chapter 9 Section 3.pptChapter 9 Section 3.ppt
Chapter 9 Section 3.ppt
 
BASIC STATISTICAL TREATMENT IN RESEARCH.pptx
BASIC STATISTICAL TREATMENT IN RESEARCH.pptxBASIC STATISTICAL TREATMENT IN RESEARCH.pptx
BASIC STATISTICAL TREATMENT IN RESEARCH.pptx
 

More from Long Beach City College

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesLong Beach City College
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionLong Beach City College
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Long Beach City College
 

More from Long Beach City College (20)

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
Practice Test 2 Probability
Practice Test 2 ProbabilityPractice Test 2 Probability
Practice Test 2 Probability
 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
 
Regression
RegressionRegression
Regression
 

Recently uploaded

GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 

Recently uploaded (20)

GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 

Two Way ANOVA

  • 1. Section 12.3-1Copyright © 2014, 2012, 2010 Pearson Education, Inc. Chapter 12 Analysis of Variance 12-3 Two-Way ANOVA
  • 2. Section 12.3-2Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concepts We introduce the method of two-way analysis of variance, which is used with data partitioned into categories according to two factors. The methods of this section require that we begin by testing for an interaction between the two factors. Then we test whether the row or column factors have effects.
  • 3. Section 12.3-3Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example The data in the table are categorized with two factors: 1. Sex: Male or Female 2. Blood Lead Level: Low, Medium, or High The subcategories are called cells, and the response variable is IQ score. The data are presented on the next slide:
  • 4. Section 12.3-4Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example
  • 5. Section 12.3-5Copyright © 2014, 2012, 2010 Pearson Education, Inc. There is an interaction between two factors if the effect of one of the factors changes for different categories of the other factor. Definition
  • 6. Section 12.3-6Copyright © 2014, 2012, 2010 Pearson Education, Inc. Let’s explore the IQ data in the table by calculating the mean for each cell and constructing an interaction graph. Example
  • 7. Section 12.3-7Copyright © 2014, 2012, 2010 Pearson Education, Inc. An interaction effect is suggested if the line segments are far from being parallel. No interaction effect is suggested if the line segments are approximately parallel. For the IQ scores, it appears there is an interaction effect: • Females with high lead exposure appear to have lower IQ scores, while males with high lead exposure appear to have high IQ scores. Interpreting an Interaction Graph
  • 8. Section 12.3-8Copyright © 2014, 2012, 2010 Pearson Education, Inc. Requirements for Two-Way ANOVA 1. For each cell, the sample values come from a population with a distribution that is approximately normal. 2. The populations have the same variance σ2. 3. The samples are simple random samples. 4. The samples are independent of each other. 5. The sample values are categorized two ways. 6. All of the cells have the same number of sample values (a balanced design – this section does not include methods for a design that is not balanced).
  • 9. Section 12.3-9Copyright © 2014, 2012, 2010 Pearson Education, Inc. Technology and Two-Way ANOVA Two-Way ANOVA calculations are quite involved, so we will assume that a software package is being used. Minitab, Excel, StatCrunch, TI-83/4, STATDISK, or other software can be used.
  • 10. Section 12.3-10Copyright © 2014, 2012, 2010 Pearson Education, Inc. Procedure for Two-Way ANOVA Step 1: Interaction Effect - test the null hypothesis that there is no interaction Step 2: Row/Column Effects - if we conclude there is no interaction effect, proceed with these two hypothesis tests Row Factor: no effects from row Column Factor: no effects from column All tests use the F distribution and it is assumed technology will be used.
  • 11. Section 12.3-11Copyright © 2014, 2012, 2010 Pearson Education, Inc. Procedure for Two-Way ANOVA
  • 12. Section 12.3-12Copyright © 2014, 2012, 2010 Pearson Education, Inc. Procedure for Two-Way ANOVA
  • 13. Section 12.3-13Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Given the performance IQ scores in the table at the beginning of this section, use two-way ANOVA to test for an interaction effect, an effect from the row factor of gender, and an effect from the column factor of blood lead level. Use a 0.05 level of significance.
  • 14. Section 12.3-14Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Requirement Check: 1. For each cell, the sample values appear to be from a normally distributed population. 2. The variances of the cells are 95.3, 146.7, 130.8, 812.7, 142.3, and 143.8, which are considerably different from each other. We might have some reservations that the population variances are equal – but for the purposes of this example, we will assume the requirement is met. 3. The samples are simple random samples. 4. The samples are independent of each other. 5. The sample values are categorized in two ways. 6. All the cells have the same number of values.
  • 15. Section 12.3-15Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The technology output is displayed below:
  • 16. Section 12.3-16Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Step 1: Test that there is no interaction between the two factors. The test statistic is F = 0.43 and the P-value is 0.655, so we fail to reject the null hypothesis. It does not appear that the performance IQ scores are affected by an interaction between sex and blood lead level. There does not appear to be an interaction effect, so we proceed to test for row and column effects.
  • 17. Section 12.3-17Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Step 2: We now test: For the row factor, F = 0.07 and the P-value is 0.791. Fail to reject the null hypothesis, there is no evidence that IQ scores are affected by the gender of the subject. For the column factor, F = 0.10 and the P-value is 0.906. Fail to reject the null hypothesis, there is no evidence that IQ scores are effected by the level of lead exposure. H0 : There are no effects from the row factor (gender). H0 : There are no effects from the column factor (blood lead level).
  • 18. Section 12.3-18Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Interpretation: Based on the sample data, we conclude that IQ scores do not appear to be affected by sex or blood lead level.
  • 19. Section 12.3-19Copyright © 2014, 2012, 2010 Pearson Education, Inc. Caution Two-way analysis of variance is not one-way analysis of variance done twice. Be sure to test for an interaction between the two factors.
  • 20. Section 12.3-20Copyright © 2014, 2012, 2010 Pearson Education, Inc. Special Case: One Observation per Cell and No Interaction If our sample data consist of only one observation per cell, there is no variation within individual cells and sample variances cannot be calculated for individual cells. If it seems reasonable to assume there is no interaction between the two factors, make that assumption and test separately: (The mechanics of the tests are the same as presented earlier.) H0 : There are no effects from the row factor. H1 : There are no effects from the column factor.