Professional Documents
Culture Documents
9
Analysis of Variance
(ANOVA)
Analysis of Variance
• Analysis of variance (ANOVA) is
a statistical technique that is used
to check if the means of two or
more groups are significantly
different from each other.
1 2
TERMINOLOGIES RELATED TO ANOVA
Within Group Variability- It refers to variations
caused by differences within individual groups (or
levels) as not all the values within each group are
the same.
2
TERMINOLOGIES RELATED TO ANOVA
ONE-WAY ANOVA
A one way ANOVA is used to compare
two or more means from one
independent (unrelated) groups using
the F-distribution.
FORMULA:
Sum-of-square for between group variability
Where:
n=sample size
x=mean
G
of each class
x=grand mean
f
Where:
x =elements of each group
x= mean of each class
Degrees of freedom for between group variation
dfbetween=k-1
Where:
k=number of the group or levels
Once you have the variances, you divide them to find the F test statistic.
So, divide MS(between) by MS(within) to get F.
Example:
A recent study claims that using music in a class
enhances the concentration and consequently helps
students absorb more information. As a teacher, your
first reaction would be skepticism.
Alternative Hypothesis
H1: there is a significant difference
between the three music treatments.
What Does Two-Way ANOVA Mean?
TWO-WAY ANOVA
A Two Way ANOVA is an extension of
the One Way ANOVA. Use a two way
ANOVA when you have one
measurement variable (i.e. a quantitative
variable) and two nominal variables.
We already know how to calculate SS (within)/df (within) in our one-way
ANOVA section, but in two-way ANOVA the formula is different.
Where:
Yijk=elements of the class
Yij=mean of combination
dfsound=a-1
Where:
MSsound=Sssound/dfsound
r= number of replicates
a=number of factors
b=number of levels
dfage=b-1
Msage=SSage/dfsound
In two-way ANOVA, we also calculate SSinteraction and
dfinteraction which defines the combined effect of the two factors.
Calculate the F-test: Calculate critical F-value. If you
found the F-value less than the critical F-value then
you will not be able to reject the null hypothesis.
F-statistics
F1= MSsound/Mswithin
F2= MSage/MSwithin
F12= MSinteraction/MSwithin
A two-way ANOVA can have up to three hypotheses, which
are as follows: