Distribution of Difference of Two Proportions
dbetadif(x, a1, b1, a2, b2)betadif gives a scalar value of density.
difference of two beta distributions
shape 1 parameter of Beta distribution with control
shape 2 parameter of Beta distribution with control
shape 1 parameter of Beta distribution with treatment
shape 2 parameter of Beta distribution with treatment
Chen, Y., & Luo, S. (2011). A few remarks on 'Statistical distribution of the difference of two proportions' by Nadarajah and Kotz, Statistics in Medicine 2007; 26 (18): 3518-3523. Statistics in Medicine, 30(15), 1913-1915.