S-Chapter 16: Analysis of Variance (Anova) and Analysis of Covariance (Ancova)
S-Chapter 16: Analysis of Variance (Anova) and Analysis of Covariance (Ancova)
S-Chapter 16: Analysis of Variance (Anova) and Analysis of Covariance (Ancova)
ANOVA and ANCOVA are used for examining the differences in the
mean values of the dependent variables associated with the
effect of the controlled independent variables after taking into
account the influence of the uncontrolled independent variables.
• - Explain it again after citing the example and the null hypothesis.
Discussion
1. Data Requirements For: t-test, ANOVA, ANCOVA,
Regression Analysis, &
Discriminant Analysis
y = ƒ(x1, x2.............xk)
y = Metric
xi = Non-metric ind vars (factors) with ≥ 2 categories.
ANOVA One way ANOVA : One ind var (factor)
n-way ANOVA : n ind vars (factors)
Treatment: A particular combination of factor levels
In one-way ANOVA, a treatment is the same a
factor level
y = ƒ (x1, x2................xk, z1, z2...............zm)
ANCOVA y = Metric
xi = Non-metric ind vars (Factors); Controllable
zi = Metric ind vars (Covariates); Uncontrollable
y = ƒ(x1, x2....................................xk)
y = b0 + b1x1+ b2x2+............... + bkxk
Regression y = Metric
xi = Metric/Non-metric
If non-metric then convert to dummy vars.
y = ƒ(x1, x2...................................xk)
D = b0 + b1x1+ b2x2+... .. + bkxk
Discriminant y = Non-metric
D = Discriminant Scores
xi = Metric
08/06/2022 Chapter 16 4
Income
H M L
Family L 1 3 5
Size
S 2 4 6
Income
H M L
1 2 3
L 1
Family
Size S 2
08/06/2022 Chapter 16 5
t Test
ANOVA ANCOVA Regression
Ex: To examine the preference toward Total cereal of product use groups &
loyalty groups taking into account the respondents’
attitudes toward nutrition and the importance they attach to
breakfast as a meal.
- The first 2 ind vars will be measured categorically &
the latter 2 ind vars would be measured on 9-pt LS.
STATISTICSASSOCIATEDWITHANOVAContd…
CONDUCTINGONE-WAYANOVA
N 2
SSy = (Y
i 1
i Y)
08/06/2022 Chapter 16 11
3. Measurement of Effects
The strength of the effects of X on Y are measured as follows:
ss x ( ss y ss error )
η =
2
= , where 0 ≤ η2 ≤ 1.
ss y ss y
It is a measure of the variation in Y explained by the ind var X.
4. Significance Testing
In one-way ANOVA, we test:
Ho: u1 = u2 = u3 = …………………= uc
using the F-statistic given by
ss x /( c 1) MS x
F=
ss error /( N c ) MS error
where, (c - 1) and (N- c) are the numerator and the
denominator degrees of freedom
based on Appendix: Statistical Table 5 (5%, p.884; 1%, p.886).
Store Y X1 X2 X3
Number Sales In-store Coupon Clientele
Promotion Level Rating
Category means Y j 83 62 37
10 10 10
= 8.3 = 6.2 = 3.7
Grand mean,
(83 62 37)
Y j 6.067
30
08/06/2022 Chapter 16 14
c
SSx = n(Y
j 1
j Y )2 ;
SS x /( c 1) MS x 106.067 /(3 1)
F= 17.944
SS error /( N c) MS error 79.800 /(30 3)
- F2, 27,.05 = 3.35 < 17.944 (Fcal).
Explanation of p value:
p=.000 → H0 is rejected at 0% level; p=.045 →H0 is rejected at 4.5% level
p=.010→H0 is rejected at 1% level; p=.125 →H0 is rejected at 12.5% level
08/06/2022 Chapter 16 18
N-way ANOVA
• Exercise: Decompose SSy for X1, X2 & X3 having categories C1, C2 & C3.
08/06/2022 Chapter 16 19
2
( SS x1 SS x 2 SS x1. x 2 )
Multiple n =
SS y
Significance of the Overall Effect
Is tested by an F-test:
dfd = N - c1c2
MS = Mean Square
08/06/2022 Chapter 16 20
Cell Mean
In- store Promotion Coupon Count Mean
High Yes 5 9.200
High No 5 7.400
Medium Yes 5 7.600
Medium No 5 4.800
Low Yes 5 5.400
Low No 5 2.000