Bayesian and Non-Bayesian Analysis of Switching Regressions and of Random Coefficient Regression Models