mult_comp_perm_corr

Permutation test of null hypothesis of no correlation between one more pairs of variables.

You are now following this Submission

Permutation test based on Pearson's linear correlation coefficient (r) or Spearman's rank correlation coefficient (rho). This function can perform the test on one or more pairs of variables. When applying the test to multiple pairs of variables, the "max statistic" method is used for adjusting the p-values of each variable for multiple comparisons (Groppe, Urbach, & Kutas, 2011). Like Bonferroni correction, this method adjusts p-values in a way that controls the family-wise error rate. However, the permutation method will be more powerful than Bonferroni correction when different variables in the test are correlated.

Cite As

David Groppe (2026). mult_comp_perm_corr (https://www.mathworks.com/matlabcentral/fileexchange/34920-mult_comp_perm_corr), 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.4.0.0

RandStream now called correctly for most recent versions of MATLAB when seed state is needed.

1.3.0.0

Minimal change to command line output.

1.2.0.0

Now runs even if unable to set seed state (due to 2014+ version of Matlab)

1.1.0.0

Comments updated

1.0.0.0