View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Holm-Sidak t-test

3.0 | 2 ratings Rate this file 7 Downloads (last 30 days) File Size: 3.46 KB File ID: #12786 Version: 1.3

Holm-Sidak t-test



25 Oct 2006 (Updated )

Holm-Sidak t-test for multiple comparisons

| Watch this File

File Information

As you know, the Student t-test can be used only to compare two groups. When you have k groups you can't use a t-test for each couple because, if you have fixed alpha=0.05 for each t-test, there is a probability of k*0.05 to find a difference when it isn't (Bonferroni inequality).
The Holm-Sidak test is a step-down "recursive reject", because it applies an accept/reject criterion on a sorted set of null hypothesis, starting from the lower p-value and going up to the acceptance of null hypothesis.
For each comparison, the alpha value is set according to Sidak correction of Bonferroni inequality.
Statistics Toolbox is required because this function use TCDF function.

You can visit my homepage
My profile on XING
My profile on LinkedIN

Required Products Statistics and Machine Learning Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
04 May 2013 Right Grievous

Yes it is possible but quite incovenient, I'll have to look through this script to find the correct variables to output.

My point is simply that this script doesn't seem quite finished, the variables are there they are just not being output at the moment...

I thank you for the script, but I can't understand why it doesn't output the info everyone will clearly want.

Comment only
12 Apr 2013 Giuseppe Cardillo

I don't agree. If you are so able to write a script, it would not to be so difficult to write 1 line of code to obtain an output struct. You can modify my script as you want: it is open source.

Comment only
12 Apr 2013 Right Grievous

This code is useless if you want to incorporate it as part of a script... it doesn't really 'output' anything - just some info in the command screen.

Comment only
27 Dec 2007 Gilbert Norrell

This file is similar to multcompare matlab function, but provides much more clear outputs.

21 Dec 2007 Giuseppe Cardillo

I think that my explanation is very simple and if "someone is crap at stats" he never will search this file.

Comment only
19 Dec 2007 nick from belgium

sorry but this does not explain anything to someone who is crap at stats.

26 Oct 2006

m-lint improvements

30 Oct 2006

Error handling and calculation improvements

31 Oct 2006

Logical indexing implemented

17 Jun 2008

Correction to avoid error generation when more comparisons have the same p-value.

12 Nov 2008 1.1

Changes in help section

19 Nov 2008 1.2

logical indexing improved

23 Dec 2009 1.3

Changes in description

Contact us