I want to find out whether a neural measure measured at 12 time-points is correlated with a behavioral measure measured on the same time-points. I have data from 20 subjects.
I'm hoping to perform a permutation test where I compare the value of the Pearson correlation coefficient between the 12 neural and behavioral data points in the actual order, with a null distribution generated by permuting the 12 time-points and re-calculating the Pearson correlation 10,000 times.
Since the analysis above is performed on each subject's data, I would like to know how to combine the results across the 20 independent subjects.