Professional Documents
Culture Documents
CH 14 Part 3 Additional Section Two-Way ANOVA With
CH 14 Part 3 Additional Section Two-Way ANOVA With
(ANOVA)
Age of
Salesperson Pool Spa Sauna
H0: There is no difference in means of the monthly
Over 30 56 43 47
23 25 43
52 16 52 sales with respect to the two age groups.
28 27 61
35 32 74
30 or under 16 58 15 H1: There is a difference in means of the monthly
14 62 14 sales with respect to the two age groups.
18 68 22
27 72 16
31 83 27
Difference in the means between COLUMN Headings
Age of
Salesperson Pool Spa Sauna
H0: There is no difference in means of the monthly
Over 30 56 43 47
23 25 43
52 16 52 sales with respect to the type of product.
28 27 61
35 32 74
30 or under 16 58 15 H1: There is a difference in means of the monthly
14 62 14 sales with respect to the type of product.
18 68 22
27 72 16
31 83 27
Interaction between ROW Headings and COLUMN Headings
Age of
Salesperson Pool Spa Sauna
H0: There is no interaction effect between the age
Over 30 56 43 47
23 25 43
52 16 52 groups and the products sold on the monthly sales
28 27 61
35 32 74
30 or under 16 58 15 H1: There is an interaction effect between the age
14 62 14 groups and the products sold on the monthly sales
18 68 22
27 72 16
31 83 27
EXCEL will calculate the
Critical Value and Test Value
In order to use Excel’s statistics package, we must add it.
Check OUTPUT RANGE then select which cell to display the results.
THEN CLICK “OK”
Anova: Two-Factor With Replication
30 or under
Count 5 5 5 15
Sum 106 343 94 543
The results will look like this
Average 21.2 68.6 18.8 36.2 But we will need just the
Variance 54.7 93.8 30.7 614.6
Bottom portion
Total
Count 10 10 10
Sum 300 486 371
Average 30 48.6 37.1
Variance 204.8889 529.8222 453.8778
ANOVA
Source of Variation SS df MS F P-value F crit
Sample 168.0333 1 168.0333 1.566744 0.222743 4.259677
Columns 1762.067 2 881.0333 8.214763 0.001915 3.402826
Interaction 7955.267 2 3977.633 37.08749 4.56E-08 3.402826
Within 2574 24 107.25
Total 12459.37 29
ANOVA
Source of Variation SS df MS F P-value F crit
Sample 168.0333 1 168.0333 1.566744 0.222743 4.259677
Columns 1762.067 2 881.0333 8.214763 0.001915 3.402826
(Rows)
Interaction 7955.267 2 3977.633 37.08749 4.56E-08 3.402826
Within 2574 24 107.25
Total 12459.37 29
Rows (Sample)
(Two age groups)
Columns
(Products)
Interaction
(Two age groups/ Products)
To summarize our results,
Simply rewrite your hypotheses according to your decisions.
Not H0: There is no difference between the means of the monthly sales with repect
Rejected to the two age groups.
H0 H1: There is a between the means of the monthly sales with respect to the two
age groups.
Rejected H0: There is no difference between the means of the monthly sales for the
H0 different products.
H1: There is a difference between the means of the monthly sales for the
different products
Rejected H0: There is no interaction effect on the monthly sales between the ages of the
H0 salespeople and the products they sell.
H1: There is an interaction effect on the monthly sales between the ages of the
salespeople and the products they sell.
Step 5: Summarize the results.
There is no difference among the mean sales between the two age
groups.
2. Fill out the input boxes appropriately – double check the alpha value is correct.
3. Select Output – AND CLICK IN THE INPUT BOX first – then select an empty cell location
for the report.
Example: Gasoline Consumption
Two-Way ANOVA Summary Table:
ANOVA
Source of
Variation SS df MS F P-value F crit
Sample (Rows) 3.92 1 3.92 4.751515 0.094766 7.708647
Columns 9.68 1 9.68 11.73333 0.026648 7.708647
Interaction 54.08 1 54.08 65.55152 0.001265 7.708647
Within 3.3 4 0.825
Rows (Sample)
(Gas Type)
Columns
(Automobile Type)
Interaction
(Gas Type/Automobile
type)
H0: There is no difference in mean gas mileage with respect to type of gasoline
H1:There is a difference in mean gas mileage with respect to type of gasoline
H0: There is no difference in mean gas mileage with respect to type of automobile
H1:There is a difference in mean gas mileage with respect to type of automobile
H0: There is no interaction effect between type of gasoline used and type of automobile a
person drives on gasoline consumption.
H1: There is an interaction effect between type of gasoline used and type of automobile a
person drives on gasoline consumption.
Step 5: Summarize the results.
Important note about formatting the data for Excel:
for 0.01