In the context of Bayesian hypothesis testing, which of the following best describes the Bayes factor?
A) The likelihood ratio for the observed data under null and alternative hypotheses
B) The posterior probability of the null hypothesis being true
C) The probability of the data given the null hypothesis
D) The ratio of prior probabilities for competing hypotheses