PT - JOURNAL ARTICLE AU - Harris, Kenneth D. TI - Nonsense correlations in neuroscience AID - 10.1101/2020.11.29.402719 DP - 2020 Jan 01 TA - bioRxiv PG - 2020.11.29.402719 4099 - http://biorxiv.org/content/early/2020/11/30/2020.11.29.402719.1.short 4100 - http://biorxiv.org/content/early/2020/11/30/2020.11.29.402719.1.full AB - Many neurophysiological signals exhibit slow continuous trends over time. Because standard correlation analyses assume that all samples are independent, they can yield apparently significant “nonsense correlations” even for signals that are completely unrelated. Here we compare the performance of several methods for assessing correlations between timeseries, using simulated slowly drifting signals with and without genuine correlations. The best performance was obtained from a “pseudosession method”, which relies on one of the signals being randomly generated by the experimenter, or a “session perturbation” method which requires multiple recordings under the same conditions. If neither of these is applicable, we find that a “linear shift” method can work well, but only when one of the signals is stationary. Methods based on cross-validation, circular shifting, phase randomization, or detrending gave up to 100% false positive rates in our simulations. We conclude that analysis of neural timeseries is best performed when stationarity and randomization is built into the experimental design.Competing Interest StatementThe authors have declared no competing interest.