image thumbnail

T-test with Bonferroni Correction

version 1.0.0.0 (2.56 KB) by Guy Shechter
Performs multiple pairwise comparisons between groups of samples.

7.3K Downloads

Updated 03 Nov 2003

View License

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.

Cite As

Guy Shechter (2021). T-test with Bonferroni Correction (https://www.mathworks.com/matlabcentral/fileexchange/4114-t-test-with-bonferroni-correction), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!