You are on page 1of 28

RVCollege

RV Collegeofof Go, change the world


Engineering
Engineering

ANOVA

11/24/2022 DEPT ECE 1


RV College of Go, change the world
Engineering ANOVA
Analysis of Variation
Def: Statistical technique specially designed to test whether the means of
more than 2 quantitative populations are equal.(Sir Ronald A. Fisher in
1920’s.)
Eg.
Study conducted among men of age group 18-25 year in community to assess
effect of Socio Economic Status on BMI

11/24/2022 DEPT ECE 2


RV College of
Engineering
Go Change the world

ANOVA allows us to examine the significance of difference


between more than two samples. We can conclude whether
we have drawn the samples from populations having same
mean. It’s the procedure to test difference amongst different
groups of data for homogeneity.
Variance is used . We can have variance between samples
and within items of same sample. It helps us to decide
whether we have to accept or reject null hypothesis. We will
be testing groups to see if there is a difference between
them.
11/24/2022 DEPT ECE 3
RV College of
Engineering
Go Change the world

LEVELS
Is number of groups you compare.
For example : Say you are comparing cereals. Then if you
are comparing Kellogs, Mohuns, Quaker – three levels.
We will use two Phrases
 Between Samples Variance
 Within Samples variance

11/24/2022 DEPT ECE 4


RV College of Go, change the world
Engineering ANOVA

Effect of age, SES and Diet on BMI

ANOVA with repeated measures - comparing >=3 group means where the
participants are same in each group. E.g.
Group of subjects is measured more than twice, generally over time, such as
patients weighed at baseline and every month after a weight loss program.
We use F-Statistic

11/24/2022 DEPT ECE 5


RV College of Go, change the world
Engineering ANOVA-One Way
Example : samples obtained from normal populations with equal
variances. Test the hypothesis that sample means are equal

11/24/2022 DEPT ECE 6


RV College of Go, change the world
Engineering ANOVA-One Way
Eg. 3 samples obtained from normal populations with equal variances. Test the hypothesis
that sample means are equal

The Table value of F at 5% level of significance for d.f 2 & 12 is 3.88 The calculated value of F > table value H0 is
rejected. Hence there is significant difference in sample means

11/24/2022 DEPT ECE 7


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 8


RV College of Go, change the world
Engineering ANOVA-One Way
Alternative method: Eg. 3 samples obtained from normal populations with equal variances.
Test the hypothesis that sample means are equal

Total sum of all observations = T = 50 + 40 + 60 = 150


Correction factor SoS = T2 / N=(150)2 /15= 22500/15=1500
Total sum of squares= 530+ 336+ 734 – 1500= 100
Sum of square b/w samples=SSC =(50)2/5 + (40)2 /5 + (60)2 /5 – 1500 = 40
Sum of squares within samples=SSE = 100-40= 60

The Table value of F at 5% level of significance for d.f 2 & 12 is 3.88 The calculated value of F > table value H0 is
11/24/2022 DEPT ECE 9
rejected. Hence there is significant difference in sample means
RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 10


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 11


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 12


RV College of
Engineering
Go Change the world

Example 2

11/24/2022 DEPT ECE 13


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 14


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 15


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 16


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 17


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 18


RV College of
Engineering
Go Change the world

Since F < critical value, we accept null hypothesis. We


conclude there is not much difference between mean of the
samples. The difference in wheat outputs is just by chance
and is insignificant. Means varieties are not very different
from each other.

11/24/2022 DEPT ECE 19


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 20


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 21


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 22


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 23


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 24


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 25


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 26


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 27


RV College of
Engineering
Go Change the world

11/24/2022 DEPT ECE 28

You might also like