Effect of outliers on regime shifts in mean