We present a Matlab-based routine, ReshuffleCorr that performs the cross-correlation and statistical reshuffling tests to discern the statistical significance of associations between datasets. This code could be readily adapted or modified for a broad range of geophysical applications.
For sample use see "Fig2.m" to recreate the second figure within the corresponding manuscript (Schultz & Telesca, 2018).
References:
Schultz, R., Telesca, L., 2018
The Cross-Correlation and Reshuffling Tests in Discerning Induced Seismicity
Pure and Applied Geophysics,
doi: 10.1007/s00024-018-1890-1.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: http://www.gnu.org/licenses/