Permute-match tests: Detecting significant correlations between time series despite nonstationarity and limited replicates
preprint
OA: closed
CC-BY-4.0
Abstract
Researchers frequently analyze correlations between pairs of time series by determining whether an observed correlation is stronger than expected under the null hypothesis of independence. However, the time series are often nonstationary, with statistical properties that change over time, thereby making standard tests invalid. If sufficient replicates exist, a trial-swapping permutation test can be performed that handles nonstationarity by comparing within-replicate correlations to between-replicate correlations. Although largely assumption-free, this test is fundamentally limited by the number of replicates (n) because its minimum p-value is 1/n!. With n=3, this minimum is 1/6, rendering thresholds like 0.05 unattainable. This limits its use considerably in animal experiments, where n may be as low as 3. We propose permute-match tests — modified permutation tests that can report lower p-values of 2/n n or 1/n n under strong evidence of dependence. Permute-match tests guarantee a false positive rate at or below the significance level when replicates are independent and identically distributed. The bound of 1/n n is not gratuitously conservative, since it cannot be further lowered without additional assumptions. We demonstrate our approach using synthetic data and apply it to an existing dataset with 3 independent groups of zebrafish, confirming the observation that zebrafish swim faster when directionally aligned.
My notes (saved in your browser only)
Funding
- funders
- [{'doi': None, 'name': None, 'awards': ['R01GM124128']}, {'doi': None, 'name': None, 'awards': []}, {'doi': None, 'name': None, 'awards': ['1917258']}, {'doi': '10.13039/501100000288', 'name': 'Royal Society', 'awards': []}, {'doi': None, 'name': None, 'awards': []}]
Citation neighborhood (sparse)
Too few in-corpus citations on either side for a chart; here are the lists.
Cites (2)
References (38)
- A rigorous and versatile statistical test for correlations between time series via crossref
- Subtle methodological variations substantially impact correlation test results in ecological time series via crossref
- doi:10.1038/ismej.2015.235 via crossref
- doi:10.1128/msystems.00084-18 via crossref
- doi:10.1142/6300 via crossref
- doi:10.2307/1911686 via crossref
- doi:10.1142/s0218127493001227 via crossref
- doi:10.1098/rsta.2011.0622 via crossref
- doi:10.1016/j.physrep.2018.06.001 via crossref
- doi:10.1037/met0000172 via crossref
- doi:10.1016/s0167-2789(00)00043-9 via crossref
- doi:10.7554/elife.72518 via crossref
- doi:10.1111/j.1469-8986.1981.tb01821.x via crossref
- doi:10.1214/088342304000000396 via crossref
- doi:10.1111/j.1469-8986.1981.tb01822.x via crossref
- doi:10.1162/neco_a_00839 via crossref
- doi:10.1002/hbm.25577 via crossref
- doi:10.1126/scitranslmed.3001628 via crossref
- doi:10.1038/jcbfm.2010.217 via crossref
- doi:10.1016/j.cmpb.2018.01.026 via crossref
- doi:10.1038/s41597-020-00781-y via crossref
- doi:10.1371/journal.pone.0168940 via crossref
- doi:10.1038/ng.3830 via crossref
- doi:10.1007/s11749-017-0571-1 via crossref
- doi:10.1371/journal.pone.0048865 via crossref
- doi:10.3354/meps273239 via crossref
- doi:10.1098/rsfs.2012.0033 via crossref
- doi:10.1038/s41592-018-0295-5 via crossref
- doi:10.1038/s41592-019-0686-2 via crossref
- doi:10.1016/0304-4076(92)90104-y via crossref
- doi:10.1371/journal.pcbi.1010061 via crossref
- doi:10.1017/cbo9780511817106 via crossref
- doi:10.1017/9781108591034 via crossref
- doi:10.1201/9780429428357 via crossref
- doi:10.1126/science.1227079 via crossref
- doi:10.1016/0304-4076(74)90034-7 via crossref
- doi:10.1038/srep14750 via crossref
- doi:10.2307/2341482 via crossref
Source provenance
- crossref
- last seen: 2026-07-14T06:42:10.682512+00:00
- europepmc
- last seen: 2026-05-19T01:45:01.086888+00:00
- unpaywall
- last seen: 2026-05-22T02:00:06.705733+00:00
License: CC-BY-4.0