Title: The Estimation of Financial Markets by Means of Regime-Switching Model