The threshold ARMA model and its autocorrelation function