Distribution of Bayes' factor