Download presentation
Published byBryce Melton Modified over 9 years ago
1
Running Fisher’s LSD Multiple Comparison Test in Excel
For finding Inter-Groups Differences after getting significant results in overall ANOVA test
2
Fisher’s LSD Test It is also a popular Post Hoc Test.
(Post Hoc = unplanned before experiment) It is the most ‘sensitive’ Post Hoc Test and most unlikely to miss sign. mean group diff. But the chance of committing Type I error - It can be used in either Equal or Unequal Sample size conditions
3
Part One One-Way Anova
4
e.g. Completely Randomized Design Unequal Sample Size
An experiment with Completely Randomized Design has been started with 10 equal weight chickens in each group of Treatment A (Control), Treatment B, Treatment C and Treatment D, with increasing dosage of a new drug that might increase growing rate. However, some chickens have died during the experiment, especially in groups with higher dosage. Please find any significant different increase of weight among the 4 groups.
5
In Excel with ‘Analysis ToolPak’ Add-In activated, click Data, Data Analysis :-
6
Choose ‘Anova: Single Factor’ = One-way Anova
7
Select Data Area including Labels:-
8
Overall Anova result:-
The overall Anova result reject the null hypothesis that all group means are equal! For finding exactly where the differences exist, we proceed to run Scheffe’s Test!! N Group Means to be used later Within Degree of Freedom DFw Within Group Variance MSw to be used later
9
Calculation of LSD (Lease Significant Difference) For Group 1 vs Group 2
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁1 + 1 𝑁2 = t0.025, = X = I Mean Group 1 – Mean Group 2 I = < No significance is found on Mean Difference between Group 1 & Group 2!!
10
Calculation of LSD (Lease Significant Difference) For Group 1 vs Group 3
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁1 + 1 𝑁3 = t0.025, ( ) = X = I Mean Group 1 – Mean Group 3 I = > Significance is found on Mean difference between Group 1 & Group 3!!
11
Calculation of LSD (Lease Significant Difference) For Group 1 vs Group 4
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁1 + 1 𝑁4 = t0.025, ( ) = X = I Mean Group 1 – Mean Group 4 I = > Significance is found on Mean difference between Group 1 & Group 4!!
12
Calculation of LSD (Lease Significant Difference) For Group 2 vs Group 3
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁2 + 1 𝑁3 = t0.025, ( ) = X = I Mean Group 2 – Mean Group 3 I = > Significance is found on Mean difference between Group 2 & Group 3!!
13
Calculation of LSD (Lease Significant Difference) For Group 2 vs Group 4
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁2 + 1 𝑁4 = t0.025, ( ) = X = I Mean Group 2 – Mean Group 4 I = >1.4078 Significance is found on Mean difference between Group 2 & Group 4!!
14
Calculation of LSD (Lease Significant Difference) For Group 3 vs Group 4
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁3 + 1 𝑁4 = t0.025, ( ) = X = I Mean Group 3 – Mean Group 4 I = < No Significance is found on Mean difference between Group 3 & Group 4!!
15
Counter Checking with SPSS
Using the same Data Set
18
Choose Post Hoc test e.g. LSD :-
19
Overall Anova result similiar to that in Excel:-
20
95% confidence Interval Lower Bound Upper Bound
21
Proving that the Excel result are exactly equal to that in SPSS!!
Although the Excel result for the Fisher’s LSD test well matched that in SPSS, this might not be enough to prove the figures they got are absolutely being the same! . However, we can calculate the ‘Lower Bound’ and ‘ Upper Bound’ of the 95% confidence interval for counter checking with those on SPSS printout!!
22
Proving that same figures would be found in using Excel and in using SPSS
23
Conclusion After activating the ‘Analysis TookPak’ Add-in in Excel, we can have useful statistical tests to use including different Anova tests. We find that, if overall Anova result is significant, we can work further to run Post Hoc Test e.g. Fisher’s LSD Test to find where the mean differences exist, not too difficultly! For One-way Anova, the Excel result has been proved to be consistent with SPSS, even with Unequal Sample Size! Let’s go to Part 2 for Two-way Anova now!!
24
Part 2 Two-Way Anova
25
e.g. Fisher’s LSD Test using Excel in aXb factorial Design With Replication
- 6 cages each with 4 rats have been used for a Completely Randomized Two-Factors (a x b factorial) With Replication Design Experiment. The 24 rats had been assigned randomly to be subjects for the ‘combinations’ of factor one (Diet A, B, C, D) with factor two (Lighting 1, 2, 3-2 times each). The response is a ‘score’ after the 12 ‘treatments’ e.g. a growing rate in body weight within a certain period of time. Please find any Significant Differences caused by the two factors.
27
Running the Fisher’s LSD Test in Excel
e.g.Two-way Anova aXb Factorial Design With Replication
28
In Excel with ‘Analysis ToolPak’ Add-In activated, click Data, Data Analysis :-
29
Choose ‘Two-Factor With Replication’:-
30
Select Data Area including all Labels :-
31
A closer look:- Range Including Labels Number of rows of Replication
32
Output :- Overall Anova Results
33
Overall Anova Result Lighting ‘MSE’ for Fisher’s LSD Test (Significant) Diet (Significant) Degree of Freedom for MSE Interaction (Not Significant)
34
For the factor ‘Diet’ the Group Means are:-
35
Since N is equal = 6 for ALL Groups
LSD = t0.05/2,DFW 𝑀𝑆𝑊 1 𝑁1 + 1 𝑁2 = t0.025, = X =
36
Any Group Mean Difference > 4.0603 would indicate Significance
Group 1 vs Group 2, Group 1 vs Group 4, Group 2 vs Group 3 & Group 3 vs Group 4 are found to be significantly different in their group mean respectively!!
37
Counter Checking with SPSS
Using the same Data Set
42
The overall results are identical with that in Excel output previously:-
43
95% confidence interval Lower Bound Upper Bound
44
Proving that the Excel result are exactly equal to that in SPSS!!
Although the Excel result for the Fisher’s LSD test well matched that in SPSS, this might not be enough to prove the figures they got are absolutely being the same! . However, we can calculate the ‘Lower Bound’ and ‘ Upper Bound’ of the 95% confidence interval for counter checking with those on SPSS printout!!
45
Proving that same figures would be found in using Excel and in using SPSS
46
Conclusion After activating the ‘Analysis TookPak’ Add-in in Excel, we can have useful statistical tests to use including different Anova tests. We find that, if overall Anova result is significant, we can work further in Excel to run Post Hoc Test e.g. Scheffe’s Test to find where the mean differences exist, not too difficultly! We find that this is not only possible in One-way Anova, but even in Two-way Anova, such as aXb factorial tests!!
47
Thank You very much!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.