Converts frequentist study results into Bayesian posterior probabilities that an effect exceeds a specified threshold, assuming a non-informative prior.
Study Results — Mean Difference
Posterior Probability
—%
0%50%100%
Posterior distribution
Dashed line marks the threshold τ.
Note on equivalence: With a non-informative prior and normally distributed data, the posterior probability that the effect exceeds zero equals 1 − (one-tailed p-value). For other thresholds the calculation generalises straightforwardly using the normal posterior.
Study Results — Odds Ratio
Posterior Probability
—%
0%50%100%
Posterior distribution
Dashed line marks the threshold on the analysis scale.
Analysis on log scale: The calculation is performed on the log(OR) scale where normality holds. The threshold OR is log-transformed before comparison. The SE of log(OR) is derived from the CI using: SE = [ln(upper CI) − ln(lower CI)] / 3.92.
Study Results — Risk Ratio
Posterior Probability
—%
0%50%100%
Posterior distribution
Dashed line marks the threshold on the analysis scale.
Analysis on log scale: As with odds ratios, the analysis proceeds on the log(RR) scale. SE is derived from the CI using: SE = [ln(upper CI) − ln(lower CI)] / 3.92.
Study Results — Correlation
Posterior Probability
—%
0%50%100%
Posterior distribution
Dashed line marks the threshold on the analysis scale.
Analysis on the Fisher-z scale: The correlation is transformed with z = arctanh(r), where the sampling distribution is approximately normal with SE = 1/√(n−3). When a confidence interval is supplied, SE is taken instead from SE = [arctanh(upper) − arctanh(lower)] / 3.92. The threshold is transformed the same way, and posterior summaries are back-transformed to the r scale via r = tanh(z). An informative prior is entered in correlation units: its mean is converted exactly (z = arctanh(r)), and its SD is converted with the delta method, σ_z ≈ σ_r / (1 − r²), evaluated at the prior mean.
Methodology
This calculator implements Bayesian inference under a normal likelihood model. With a non-informative (flat) prior, the posterior distribution of the parameter equals the likelihood, and the posterior probability that the effect exceeds any threshold τ is:
P(θ ≥ τ | data) = 1 − Φ( (τ − θ̂) / SE )
where Φ is the standard normal CDF, θ̂ is the observed estimate, and SE is its standard error. For ratio measures (OR, RR), the analysis is conducted on the log scale. For correlations, it is conducted on the Fisher z scale (z = arctanh(r)), where z is approximately normal with SE = 1/√(n−3); the threshold and posterior are transformed back with r = tanh(z).
With an informative prior N(μ₀, σ₀²), the posterior is also normal with:
The key equivalence with frequentist statistics: when the threshold is zero (or 1 for ratios) and a flat prior is used, the posterior probability of a positive effect equals 1 − (one-tailed p-value). The Bayesian framing generalises this to arbitrary thresholds and admits prior knowledge.