On Bayesian analysis of Threshold autoregressive model (BAYSTAR)