Professional Documents
Culture Documents
What is ANOVA?
Analysis of variance (ANOVA) tests the hypothesis that the means of two
or more populations are equal. ANOVAs assess the importance of one or
more factors by comparing the response variable means at the different
factor levels. The null hypothesis states that all population means (factor
level means) are equal while the alternative hypothesis states that at least
one is different.
To perform an ANOVA, we must have a continuous response variable and
at least one categorical factor with two or more levels. ANOVAs require
data from approximately normally distributed populations with equal
variances between factor levels. However, ANOVA procedures work quite
well even if the normality assumption has been violated, unless one or
more of the distributions are highly skewed or if the variances are quite
different. Transformations of the original dataset may correct these
violations.
where µ = group mean and k = number of groups but when the one-way
ANOVA returns a significant result, we accept the alternative hypothesis
(H1), which is that there are at least 2 group means that are significantly
different from each other.
One-way ANOVA cannot tell you which specific groups were significantly
different from each other, only that at least two groups were. To determine
which specific groups differed from each other, we use a post hoc test.
Problem Description:
1
A researcher has decided to carry out an experiment on the mean to
assess the IQ level of students enrolled in different subjects as a major.
Sample data collected from school about the IQ level of students enrolled.
The data that I am using in this assignment is divided into 3 major subjects
Physics, Chemistry and mathematics. Our null hypothesis is that mean IQ
level of students from three different majors have the same IQ level. The
alternate hypothesis is that the mean IQ of any group of students is
different from any other.
Hypothesis:
H0: µ1 = µ2 = µ3
2
There should be no significant outliers. Outliers are simply single data
points within your data that do not follow the usual pattern.
Description of data:
IQ scores from three groups of undergraduate students of different
disciplines have been collected. The different disciplines are Mathematics,
Physics and Chemistry. Random sample of 15 from each major has been
tested. The total sample size that has been tasted is of 45 and the data has
been compiled using SPSS.
We have taken two variables into account while perform this test. IQ and
Group, IQ has been taken has a dependent variable and Group has been
taken as a factor.
3
SPSS Analysis:
Means Plot:
4
5
ANOVA Analysis:
The mean square refers to the estimate of population variance; it is
calculated by dividing sum of square by corresponding degree of freedom.
In this case the variance of the IQ level within group of students is 38.203
and variance of IQ level between all three groups is 764.689.
The F ratio is the ratio between mean square between group and mean
square within group, which is 20.016.
The sig value or the P value is 0.000. Since this value is less than alpha
(0.05) we can reject the H0 at 95% confidence interval.
6
Conclusion:
Since P value is less than alpha (0.000 < 0.05) we have sufficient evidence
to reject H0 so we accept the alternate hypothesis which is that not all or
any mean is same.
Now as we have confirmed through the ANOVA test that the mean IQ level
of all the groups of students are not same and therefore we rejected the
null hypothesis but currently we do not know which mean is bigger and
which is smaller. To check this we use post-hoc test.
Post-hoc Analysis:
We have concluded this test using Tukey post-hoc analysis.
7
H0: µPhysics = µMaths
H1: µPhysics ≠ µMaths
As we can see from the above table that the Sig. value is more than 0.05,
(1.000 > 0.05) we can accept the null hypothesis and conclude that the
mean IQ score of Physics student is equal to mean IQ score of Maths
students.
Decision:
Since we are rejecting H0 and accepting H1, we can say that the mean of all
three IQ score are not same and after conducting the Post-hoc test we can
conclude that the mean of IQ score of Physics students and Maths
Students is same but the mean score of IQ level of Physics students and
Chemistry Students is not same. The mean score of Physics students is
greater than the mean of IQ score of Chemistry students.