Skip to contents

[Experimental]

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.

Usage

sumBetaDiff(parX, parY, ci_level = 0.9, go_cut, stop_cut)

Arguments

parX

(numeric):
two parameters of X's Beta distribution (Control)

parY

(numeric):
two parameters of Y'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

Value

List with the mode, credible interval for the difference, along with the go and stop probabilities.