## bayes factor

the proportion, p , of defective items is unknown and we need to test the simple hypotheses: Ho: p =0.3 and H1: p = 0.4

The prior probability that p= 0.4 is 0.75. A random sample, n, is chosen and the number of defective items, x, is noted. Find the bayes factor for hypothesis Ho versus H1.

I think ive worked the bayes factor out to be 3/4 exp (1/10) but i think this is totally wrong!?