Mode and Credible Interval Calculation for The Difference between Two Beta Distributions
Source:R/sumBetaDiff.R
sumBetaDiff.Rd
A function to summarize the characters of a betadiff distribution dbetadiff()
.
May require use of random sample generator to calculate, use set.seed()
to reproduce results.
Arguments
- parX
(
numeric
):
two parameters ofX
's Beta distribution (Control)- parY
(
numeric
):
two parameters ofY
's Beta distribution (Treatment)- ci_level
(
numeric
):
level for credible interval- go_cut
(
number
):
a meaningful improvement threshold, the lower boundary of a meaningfully improvement in response rate- stop_cut
(
number
):
a poor improvement threshold, the upper boundary of a meaningfully poor improvement in response rate