powered by
Calculate the Bayes factor (BF10) for comparing two proportions using a Bayesian framework.
BF10.props(a0, b0, a1, b1, a2, b2, n1, n2, x1, x2)
The Bayes factor (BF10) for comparing two proportions.
Alpha parameter of the beta distribution under the null hypothesis.
Beta parameter of the beta distribution under the null hypothesis.
Alpha parameter of the analysis beta prior distribution for group 1 under the alternative hypothesis.
Beta parameter of the analysis beta prior distribution for group 1 under the alternative hypothesis.
Alpha parameter of the analysis beta prior distribution for group 2 under the alternative hypothesis.
Beta parameter of the analysis beta prior distribution for group 2 under the alternative hypothesis.
Sample size for group 1.
Sample size for group 2.
Observed number of successes for group 1.
Observed number of successes for group 2.
BF10.props( a0 = 2, b0 = 3, a1 = 2, b1 = 3, a2 = 2, b2 = 3, n1 = 50, n2 = 60, x1 = 25, x2 = 30 )
Run the code above in your browser using DataLab