Reports tipping points for the binomial Bayes factor: the smallest
observation bias omega > 1 and the smallest rival-tilted prior
Beta(1, M + 1) at which the Bayes factor first drops below
threshold.
Arguments
- y_W
Non-negative integer. Observed count favorable to the working theory.
- y_R
Non-negative integer. Observed count favorable to the rival.
- threshold
Positive numeric. Decision threshold the Bayes factor must remain at or above. Default
20.- theta_cut
Numeric in (0, 1). Cutpoint. Default
0.5.- M_max
Positive integer. Largest
Msearched in the prior sweep. Default200.
Value
A list with elements:
bfBayes factor at the baseline (
omega = 1, uniform prior).omega_starBias tipping point.
0ifbf < thresholdat baseline;NA_real_ifbfdoes not crossthresholdfor any reachableomega.M_starSmallest integer
M >= 0with Beta(1, M + 1) prior at which the Bayes factor drops belowthreshold.0ifbf < thresholdat baseline;NA_integer_if the BF does not drop below threshold within[0, M_max].
Details
omega > 1 makes pro-\(H_1\) items more likely to be observed
than they are in the universe, so the apparent dominance of pro-
\(H_1\) evidence is partly an artifact of observation, and the
Bayes factor falls. omega_star is the value at which this fall
first crosses threshold. Beta(1, M + 1) priors place all density
on \(\theta < 1\) and posit M pseudo-observations all favoring
the rival. M_star is the smallest integer M at which the Bayes
factor first drops below threshold.
If bf_binomial(y_W, y_R) < threshold at baseline, both tipping
points are 0 (the conclusion fails before any perturbation).