This procedure is described in the Materials and methods (see Statistical analysis of correlations between pattern change and behavior). (A,B) The time course of pattern change is constructed using the distance (1 - Pearson’s r) between each pattern and the pattern 80 TRs (2 min) after it. As in the main analysis, we averaged over the 5 consecutive TRs surrounding each pattern (for simplicity, this is not shown in the above figure). (C) 10,000 surrogate pattern distance time courses are generated by randomizing the phases of the original time course, thus conserving the amplitude of each frequency component. (D) Surrogate pattern distances are correlated with time estimates, generating 10,000 null correlations. A Z-value for each ROI / searchlight in each participant is computed to compare the strength of the empirical correlation with the distribution of null correlations. The p-value for a given ROI is obtained using a right-tailed t-test on the Z-values across participants.