Take to be the positive standard deviations. Multiply the normal likelihood function by the normal prior density. Terms independent of can be absorbed into the normalizing constant:The identity makes the quadratic term explicit. Completing the square giveswhereThus . This is normal-normal conjugacy: prior and data precisions add, and the posterior mean shrinks the sample mean towards the prior mean zero.
The symmetric continuous prior distribution gives , so the prior odds are one. Therefore the Bayes factor equals the posterior odds. Standardizing the normal posterior distribution, putThen and . The endpoint has zero posterior probability, so the strict/non-strict split causes no additional term. HenceIn particular, positive values of the sample mean make this Bayes factor smaller, favouring the positive-mean hypothesis.
The denominator is positive, soStrict increase of the standard normal distribution function turns this into . Since the coefficient multiplying in is positive, the rejection rule is precisely , withThe quantile is approximately . Equivalently, the rule requires posterior probability of below , because its prior odds are one. The calculation is an instance of the Bayes factor for the sign of a normal mean.
Articles by others on the same topic
There are currently no matching articles.