Тёмный

ANOVA Explained With Example (Analysis of Variance) 

Lucas Learns
Подписаться 13 тыс.
Просмотров 141
50% 1

ANOVA tests are used to check if results from experiments are significant or not or in other words, whether the null hypothesis can be rejected or not. ANOVA is an extension of the t-test because instead of checking the significance of results between 2 datasets, it does it between 3 or more datasets.
To calculate ANOVA you need 2 things:
1. Sum of Squares Within groups (SSW) and its degree of freedom.
2. Sum of Squares Between groups (SSB) and its degree of freedom.
Let’s imagine that we want to compare how many cups of coffee people drink per day in Finland, India and the USA. Is the difference between the groups significant or not? In an attempt to test this, let’s say that we’ve gather data from 5 people from each of these countries.
The participants from Finland answered that they drink 3, 6, 5, 2 and 7 cups of coffee each day. The participants from India answered that they drink 2, 1, 0, 2, and 4 cups of coffee each day. The participants from the USA answered that they drink 3, 5, 1, 2 and 3 cups of coffee each day.
The sum of squares within groups can be calculated in 4 steps:
1. Calculating the mean for each group, which is 4.6 for Finland, 1.8 for India and 2.8 for the USA.
2. Then we square the difference from the mean for each observation.
3. These differences from the mean are then added together, which is 17.2 for Finland and 8.8 for both India and the USA.
4. Finally these sums are added together, which equals 34.8
The sum of squares between groups can be calculated in 3 steps:
1. Calculate the total mean, i.e. the mean of all the samples, which is 3.07.
2. Then, subtract the mean for all of the samples from the mean of each group and square the result.
3. Finally, add all the squared means together and multiply it by the number of observations in each group, in this case 5, to get the final result of 20.13.
Now we can calculate the F-ratio in 3 steps:
1. Divide the sum of squares between groups by its degrees of freedom, which is the number of groups minus 1, or in this case 3-1 = 2. So this gives us 20.13 / 2 = 10.07.
2. Divide the sum of squares within groups by its degrees of freedom, which is the total number of observations minus the number of groups, or in this case 15-3 = 12. So this gives us 34.8 / 12 = 2.9.
3. Now the F-ratio is simply the ratio between these two numbers, so 10.07 / 2.9 = 3.47. So F(2,12) = 3.47.
To check whether or not this result allows us to reject the null hypothesis, we check a F-Distribution table. The critical value for F(2,12) is 3.89. If our F-ratio is larger than the critical value, the null hypothesis can be rejected. So in our case, the difference between the three different sample groups were actually NOT statistically significant as the F-ratio is less than the critical value.

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@GoldonPt
@GoldonPt 4 месяца назад
It's crazy to me how you explain things so well, I've been writing a sort of thesis for the end of my major and it's on MS-based proteomics and bioinformatics. Your videos on MS alone saved me HOURS of research, and this one just explained ANOVA to me in 4 minutes, amazing, extremely underrated channel. Thank you so much! :)
@LucasLearnz
@LucasLearnz 4 месяца назад
Oh my god! This is hands down the nicest comment I've ever received! This makes me so happy and makes me feel like what I do is meaningful. Thank you!
@Aranoc
@Aranoc 4 месяца назад
I love your videos! I am blessed that I stumbled upon your channel many many moons ago. Due to the short format its always worth a watch!
@LucasLearnz
@LucasLearnz 4 месяца назад
Thank you so much!🙏
Далее
ANOVA: Crash Course Statistics #33
13:17
Просмотров 554 тыс.
ANOVA: One-way analysis of variance
13:31
Просмотров 196 тыс.
p-values: What they are and how to interpret them
11:21
One Way ANOVA
21:10
Просмотров 1,8 млн
What Is A P-Value? - Clearly Explained
7:41
Просмотров 665 тыс.
One-Way ANOVA [Analysis of Variance] simply explained
14:14