Structural Shifts And Deterministic Regime Switching in Aggregate Data Analysis