bayes_error {BayesianPower} | R Documentation |
Determine the unconditional error probabilities for a set of simulated Bayes factors.
Description
Determine the unconditional error probabilities for a set of simulated Bayes factors.
Usage
bayes_error(BFs1, BFs2, bound1 = 1, bound2 = 1/bound1)
Arguments
BFs1 |
A vector. Simulated BF12 under H1 for a given n |
BFs2 |
A vector. Simulated BF12 under H2 for a given n |
bound1 |
A number. The boundary above which BF12 favors H1 |
bound2 |
A number. The boundary below which BF12 favors H2 |
Value
A named vector. The Type 1, Type 2, Decision error and Area of Indecision probabilities and the median Bayes factors under H1 and H2
[Package BayesianPower version 0.2.3 Index]