Description Usage Arguments Examples
One sided (Directional) Bayesian hypothesis testing
1 | prob_directed(posterior, H0 = 0, direction = "fsp", plot = TRUE)
|
posterior |
the posterior distribution in question |
H0 |
The Null Hypothesis. Defaults to 0, but for distributions such as the beta it makes sense to change H0 to 0.50. |
direction |
"pos" evaluates P(theta > H0 | Data). "neg" evaluates P(theta < H0 | Data). "fsp" (false sign probability) calculates the probability that the estimate is in the wrong direction, ie, min( P(theta > H0 | Data) , P(theta < H0 | Data) ). Defaults to "fsp". |
plot |
defaults to TRUE |
1 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.