Determine the unconditional error probabilities for a set of simulated Bayes factors.
bayes_error(BFs1, BFs2, bound1 = 1, bound2 = 1/bound1)
A vector. Simulated BF12 under H1 for a given n
A vector. Simulated BF12 under H2 for a given n
A number. The boundary above which BF12 favors H1
A number. The boundary below which BF12 favors H2
A named vector. The Type 1, Type 2, Decision error and Area of Indecision probabilities and the median Bayes factors under H1 and H2