threshBayes function

Threshold model using Bayesian MCMC