A segmented generalized Markov regime-switching model with its application in financial time series data. Issue 5 (23rd March 2020)