Code covered by the BSD License  

Highlights from
Correlation permutation test with correction for multiple comparisons

Be the first to rate this file! 32 Downloads (last 30 days) File Size: 5.08 KB File ID: #34920 Version: 1.1

Correlation permutation test with correction for multiple comparisons


David Groppe (view profile)


04 Feb 2012 (Updated )

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

| Watch this File

File Information

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.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
19 Jul 2014 Right Grievous

I'm trying to test the relationship between two variables and this test seems to be exactly what I'm looking for, however, when I run the test on my data it says the familywise alpha level is 0, the p value it returns is also 0, why is this?

Comment only
17 Sep 2012 1.1

Comments updated

Contact us