how to identify regime changes in markets