View License

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

» Watch video

Highlights from
T-test with Bonferroni Correction

2.9 | 7 ratings Rate this file 20 Downloads (last 30 days) File Size: 2.56 KB File ID: #4114 Version: 1.0

T-test with Bonferroni Correction


Guy Shechter (view profile)


01 Nov 2003 (Updated )

Performs multiple pairwise comparisons between groups of samples.

| Watch this File

File Information

This function can be used to perform multiple comparisons between groups of sample data.

The Bonferroni correction is used to keep the total chance of erroneously reporting a difference below some ALPHA value.

For example, consider an experiment with four patients. Their temperature is measured at 8AM, Noon, and 5 PM. This function can be used to test if there is a difference in temperature between 8AM and Noon, between Noon and 5PM, and between 8AM and 5PM.

MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
14 Aug 2010 Alex

Alex (view profile)

Works as advertised. Would help if it could handle NaNs in the input columns.

19 Jan 2010 Rob Campbell

Rob Campbell (view profile)

bonferroni is awfully conservative. There are now better alternatives:

Comment only
02 Sep 2008 ram sen

09 Nov 2007 Leon Kiang

Very good and easy to use!!

02 Aug 2007 peter winterfeldt

17 May 2007 eleven zhao


Comment only
24 Mar 2005 James Rathman

Requires Statistics toolbox, so this isn't a standalone.

23 Nov 2004 ada daria

25 Jun 2004 jim beam

Contact us