Essays on nonlinearities in time series : regime switching, outlying observations, and changes in persistence