Skip to content

Exam Questions - Block 5: Bayesian factor #31

Discussion options

You must be logged in to vote

The formula for Bayes Factor is:
$r = \frac{P(B|A)}{P(B|\bar{A})}$

This factor can also be obtained by:
$Bayes factor = \frac{Posterior\ odds}{Prior\ odds} = \frac{P(A|B)/P(\bar{A}|B)} {P(A)/P(\bar{A})}$

The bayes factor depends on the sample data and can be used to indicate how much of the data is in favour of one model over another and in hypothesis testing to reject or fail to reject hypotheses. A small value for Bayes Factor will see us reject the null hypothesis in favour of the alternative hypothesis with the highest posterior probability.

The Bayes Factor is also the Likelihood ratio for the simple null and alternative hypotheses:
$\frac{Posterior\ odds}{Prior\ odds} = Likelihood\ …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SebastianVeuskens
Comment options

Answer selected by SebastianVeuskens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment