Matlab/SPM scripts and example data for distance correlation calculation for fMRI, based on [[http://www.mrc-cbu.cam.ac.uk/wp-content/uploads/2016/07/Geerligs_NI_16_Multivariate_Connectivity_with_Distance_Correlation.pdf|Geerligs, L., Cam-CAN & Henson, R.N. (2016). Functional connectivity and structural covariance between regions of interest can be measured more accurately using multivariate distance correlation. Neuroimage, 135, 16-31.]] * Basic distance correlation Matlab functions: [[attachment:dcor_uc.m||&do=get]] and [[attachment:dcor_dc.m||&do=get]] * Example [[attachment:Example_script.zip|scripts and data]]