Extended switching regression models with time-varying probabilities for combining forecasts