T-test with Bonferroni Correction

Performs multiple pairwise comparisons between groups of samples.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/4114-t-test-with-bonferroni-correction), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0