Fit the hysteretic threshold autoregressive model
