Azzera filtri
Azzera filtri

How do you calculate observed F using Scheffe's method?

14 visualizzazioni (ultimi 30 giorni)
I'm currently conducting some post-hoc ANOVA analyses for my statistics homework (this is not real data). I first conducted an ANOVA to see if there's a difference between 3 groups (Monetary, Bonus, Feelings).
%data input
ingroups = [5,4,6,7,5,6,7,5,5,6;6,7,7,5,7,7,8,6,7,7;7,8,7,7,8,5,6,7,7,7];
Mon = [5 4 6 7 5 6 7 5 5 6];
Bon = [6 7 7 5 7 7 8 6 7 7];
Feel = [7 8 7 7 8 5 6 7 7 7];
%transpose data rows in to columns for anova1
ingroups2 = transpose(ingroups);
%one-way ANOVA (treats columns as separate groups)
[p,tbl,stats] = anova1(ingroups2);
I was able to reject the null hypothesis, F(2) = 6.18, p = 0.0062 , so now I've been asked (in the homework) to conduct a Scheffe's test, along with some others.
To do so, I ran the command below.
[c,m,h,gnames] = multcompare(stats,'CType','scheffe');
Using, https://www.danielsoper.com/statcalc/calculator.aspx?id=4 I computed my critical F-value to be 3.35.
But how do I compute the observed F in order to compare it against my critical F-value to see if the groups significantly differ? My homework specifically asks for the observed F.
I'm a beginner with MATLAB, so I'd appreciate any help.
  5 Commenti
Darla Bonagura
Darla Bonagura il 30 Set 2021
This is super helpful. Thank you so much! I'm going to work on following the steps from the video.
Scott MacKenzie
Scott MacKenzie il 30 Set 2021
You're welcome. BTW, you can compute the observed F-statistics by adding just a few lines to the code in my last comment. All the pieces are there! Good luck.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by