T-test with Bonferroni Correction
Version 1.0.0.0 (2.56 KB) by
Guy Shechter
Performs multiple pairwise comparisons between groups of samples.
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 (2026). T-test with Bonferroni Correction (https://nl.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 LinuxCategories
Find more on Results, Reporting, and Test File Management in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
