If and , the prior odds on the null hypothesis are
These odds concern which model is true before seeing the observations. They are separate from the prior distribution of the success probability within the alternative model.
Use the orientation that favours the null hypothesis:
For a composite model the denominator is its Bayesian model evidence, obtained by integrating the likelihood against the model's prior distribution. This Bayes factor exceeds one when the observed data have greater marginal probability under . By Bayes' theorem,
Thus the posterior odds equal the prior odds multiplied by the Bayes factor. The reciprocal orientation instead gives .
Conditional on the success probability, the count has binomial distribution. Integrating its likelihood under the uniform prior distribution, or equivalently a beta distribution with parameters , gives
The prior predictive distribution is therefore uniform over the possible counts. Excluding the single point does not alter this integral because a continuous prior distribution gives that point zero probability. This calculation is the marginalization underlying Beta-binomial conjugacy.
Under the null hypothesis, , with expected value and variance . Approximating its probability at an integer by the normal distribution density over a unit-width cell gives
Dividing by the prior predictive distribution from the preceding part gives the uniform-alternative binomial Bayes factor
The second approximation replaces by . Both are large-sample approximations for counts in the central range, rather than exact identities at extreme counts.
The normal distribution standardized statistic for the binomial distribution count is
Because the alternative is two-sided, the approximate p-value is . A continuity correction replaces by and gives approximately , with the same conclusion. Thus the result is statistically significant at both the 5% and 1% levels. The p-value is a null tail probability, not a posterior probability that the null hypothesis is true.
Substituting the standardized deviation into the Bayes factor approximation gives
This is only a slight preference for the alternative, despite the small p-value. The two procedures measure different things: the p-value sums a tail under the null hypothesis, while the Bayes factor compares probabilities of the observed count under both models. The uniform alternative prior distribution spreads its probability over many success probabilities that fit the observations poorly. Only a narrow range around has large likelihood, and integrating over the whole alternative penalizes this diffuse prediction.
The prefactor makes the distinction especially clear. At a fixed standardized deviation , the p-value stays approximately , whereas eventually grows with . A fixed diffuse alternative can consequently favour the point null even while a conventional test rejects it. This is the same prior-width mechanism illustrated by the Jeffreys-Lindley paradox for a Gaussian point null.
An alternative that allows small departures from chance, while assigning little probability to near-perfect prediction or near-perfect failure, is more plausible than a uniform prior distribution. For example, a symmetric beta distribution with is centered at , with
Choosing gives a prior standard deviation of about and concentrates on modest deviations. Its concentration should represent substantive beliefs specified before examining this experiment, rather than being tuned to the observed count. A continuous prior distribution centered at still places no point mass at ; the separate model prior probability supplies that mass.
No. A Bayes factor favouring the alternative means , but the posterior odds are . They are less than one only if . For example, prior odds of on the null hypothesis, combined with a Bayes factor of in favour of the alternative, still give posterior odds of on the null hypothesis. An unusual claim can require substantial evidence to overcome low initial plausibility.

Articles by others on the same topic (0)

There are currently no matching articles.