Testing the Friedman–Schwartz hypothesis using time-varying correlation analysis