betadif: Distribution of Difference of Two Proportions

dbetadifR Documentation

Distribution of Difference of Two Proportions

Description

Distribution of Difference of Two Proportions

Usage

dbetadif(x, a1, b1, a2, b2)

Arguments

x

difference of two beta distributions

a1

shape 1 parameter of Beta distribution with control

b1

shape 2 parameter of Beta distribution with control

a2

shape 1 parameter of Beta distribution with treatment

b2

shape 2 parameter of Beta distribution with treatment

Value

betadif gives a scalar value of density.

References

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.


imprecise101 documentation built on Feb. 16, 2023, 6:08 p.m.