T-test with Bonferroni Correction

Performs multiple pairwise comparisons between groups of samples.
7.5K Downloads
Updated 3 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 (2024). 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
Categories
Find more on Results, Reporting, and Test File Management in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0