Exchange-rate dynamics under stochastic regime shifts · Study