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.
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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!