Essays on model selection using Bayesian inference