Académique Documents
Professionnel Documents
Culture Documents
(Analysis of Variance)
SUBMITTED BY:
Many studies involve comparisons between more than two groups of subjects.
If the outcome is categorical (count) data, a Chi-
ANOVA: Introduction
square test for a larger than 2 X 2 table can be used to compare proportions between groups. If the outcome is numerical, ANOVA can be used to compare the means between groups. ANOVA is an abbreviation for the full name of the method: ANalysis Of Variance
Invented by R.A. Fisher in the 1920s
groups, why not just do several two sample t-tests to compare the mean from one group with the mean from each of the other groups?
Before ANOVA, this was the only option available to
The problem with the multiple t-tests approach is that as the number of groups increases, the number of two sample t-tests also increases. As the number of tests increases the probability of making a Type I error also increases.
ANOVA Hypotheses
The Null hypothesis for ANOVA is that the means for
H o : 1 2 3 .... k
The Alternative hypothesis for ANOVA is that at least two of the means are not equal. The test statistic for ANOVA is the ANOVA F-statistic.
Analysis of Variance
ANOVA is used to compare means between three or more
groups, so why is it called Analysis of VARIANCE? The ANOVA F-test is a comparison of the average variability between groups to the average variability within groups.
The variability within each group is a measure of the spread of the
data within each of the groups. The variability between groups is a measure of the spread of the group means around the overall mean for all groups combined. F = average variability between groups average variability within groups
differences:
The variability between each observation and the overall (or
grand) mean is measured by the sum of squares total (SST) The variability within groups is measured by the sum of squares within (SSW). The variability between groups is measured by the sum of squares between (SSB).
ANOVA Assumptions sample and they The observations are from a random
are independent from each other The observations are normally distributed within each group
ANOVA is still appropriate if this assumption is not met when the sample size in each group is at least 30
If the ratio of the largest SD / smallest SD < 2, this assumption is considered to be met.
The following table gives the number of LCD computers sold by 3 salesmen in four months January, February, March and April.
MONTH SALESMEN
ANOVA example
A B
3 5 7 5
C
3 5 4 4
3 6 8 7
Is there a significant difference in the sales made by the four salesmen? Is there a significant difference in the sales made during different months?
ANOVA:SOLUTION
STEP-1: FORMULATE THE HYPOTHESIS
A
JANUARY FEBRUARY MARCH APRIL COLUMN TOTAL 3 6 8 7 24
B
3 5 7 5 20
C
3 5 4 4 16 9 16 19 16 60
T= Total of the values of individual items in the sample=60 so, Correction Factor=T2 /n = 602 /12 =300
F1=4/1=4 F=6/1=6
degree of freedom at df1 = 2 and df2 = 6. hence we accept the null hypothesis. So we conclude that sales made by in months vary significantly. Since the calculated value of F2 = 6 which is more than its critical value of 4.76 at significance level 5% with dof at df1 = 3 and df2= 6. so we reject the null hypothesis. We conclude that sales made during the diff months vary significantly.
ANOVA summary
ANOVA was done to evaluate differences in mean mobility score between three groups: a control group, a group that received physical therapy only and a group that received physical therapy and counseling. The significant ANOVA F-test result indicated that at least two of the mean mobility scores were significantly different. Post-hoc t-tests with adjusted a-level = 0.017 (Bonferroni adjustment for multiple comparisons) were done. Results of the post-hoc comparisons indicated a significant difference between the control group and the treatment group with both physical therapy and counseling (p = 0.012), a marginally significant difference between the control group and the treatment group with physical therapy only (p = 0.0179) and no significant difference between the two treatment groups.
factor
More than one factor can be used for a two, three or four-way ANOVA
A continuous variable can be added to the model this is Analysis of Covariance (ANCOVA)
Repeated Measures ANOVA can handle replicated
THANK YOU