Bayes Factor
The Bayes Factor of model class M1 to model class M2 for some set of observations X is the ratio of their associated marginal class likelihoods. The marginal class likelihood of some set of observations is the marginal likelihood of the observations for the model class obtained by marginalizing the joint probability distribution of the observations and the model class parameters by treating the model class parameters Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta} as nuisance parameters, i.e.,
showing that it may be calculated directly using the joint probability distribution or from the conditional probability distribution where the second form of the integral was obtained using the Bayesian Product Rule.