a) The two cosines at the upper left plot were generated assuming a TR = 1 sec, a frequency of f = 0.025 Hz and a phase difference given by θ = arccos 0.2. b) Sliding window correlations (SWCs) were estimated at all possible shifts of one TR and for SWC lengths from 2 to 120 sec. For a given window length, the SWC value depends on the time shift. SWCs for all time shifts are plotted on the upper right figure using small black dots. In this example, following the recommended SWC length (Leonardi and Van De Ville, 2015) will result in fmin= 0.025 Hz and hmin ≥ 1/fmin = 40 sec. However, this figure shows that artifacts are still strong around h = {50,70, ⋯}. c) The bottom left plot shows the effect of averaging for the window length h = 50 sec. Spurious variability of SWCs disappear at the averaging length g =1/2f = 20 sec. d) Bottom right plot shows the resulting SWC value (black line) as a function of h at averaging length g = 20 sec. The SWC values are independent of the time shift selected. For comparison, the asymptotic averaging result g → ∞ obtained in Equation (5) is displayed in red. The two average settings g = 1/2f and g → ∞ lead to the same result.