Code covered by the BSD License
-
[pval, corr_obs, crit_corr, e...
function [pval, corr_obs, crit_corr, est_alpha, seed_state]=mult_comp_perm_corr(dataX,dataY,n_perm,tail,alpha_level,stat,reports,seed_state)
-
View all files
Correlation permutation test with correction for multiple comparisons
by David Groppe
04 Feb 2012
(Updated 17 Sep 2012)
Permutation test of null hypothesis of no correlation between one more pairs of variables.
|
Watch this File
|
| File Information |
| Description |
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
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 17 Sep 2012 |
Comments updated |
|
Contact us