Frequentist vs Bayesian (formerly Dialectical Inference): Do Your p-Value and Bayes Factor Agree?
A p-value and a Bayes factor answer different questions. The p-value asks how surprising the data would be if there were no effect. The Bayes factor asks how much more likely the data are under one hypothesis than another. Usually they point the same way. Sometimes they don't, especially with large samples and small effects, or small samples and moderate p-values.
Frequentist vs Bayesian runs both on the same data and tells you whether they agree. This is not a new idea. Wetzels and colleagues (2011) did exactly this for 855 published t-tests, and JASP reports both kinds of test side by side.
What It Computes
t-tests (Student two-sample, paired, one-sample)
- The classical t-test and its p-value.
- The exact JZS Bayes factor (Rouder et al., 2009), with a Cauchy prior on the standardised effect δ (scale r = 0.707), computed by numerical integration.
- A posterior distribution for δ.
- Cohen's d with an exact confidence interval based on the noncentral t distribution.
Correlations
- The classical test of Pearson's r, with a Fisher-z confidence interval.
- The Bayes factor of Ly, Verhagen and Wagenmakers (2016), with a stretched-beta prior on ρ (κ = 1, which is uniform).
- A posterior distribution for ρ.
How Agreement Is Classified
- Full agreement: p < α and BF10 > 3 (both favour an effect), or p ≥ α and BF10 < 1/3 (the test is not significant and the Bayes factor favours the null).
- Disagreement: the two point in opposite directions, for example p < α but BF10 < 1/3.
- Partial agreement: anything else, most often a Bayes factor between 1/3 and 3, which means the data are not very informative either way.
Prior sensitivity
A Bayes factor depends on its prior. The tool repeats the calculation for prior scales from r = 0.354 to 1.414 (κ = 0.25 to 2 for correlations), so you can see whether the conclusion changes with a narrower or wider prior.
The cut-offs (α = .05, BF of 3 and 1/3) are conventions, not laws. Agreement between the two frameworks is reassuring, but both are computed from the same data, so agreement is not independent confirmation. Disagreement is not a flaw to be resolved; it usually means the evidence is weaker than the p-value alone suggests, or that the prior matters. The tool reports both results so you can describe them honestly. It does not merge them into a single verdict.
When Should You Use It?
- You report p-values and want to show what a default Bayes factor says about the same data.
- You have a non-significant result and want to know whether the data actually favour the null or are simply uninformative.
- You have a significant result from a large sample and want to check whether the evidence is strong or just detectable.
Try It in PsyStat Lab
Frequentist vs Bayesian is available in the Robustness Checks module of PsyStat Lab, and inside the Dual Report module.
References
- Ly, A., Verhagen, J., & Wagenmakers, E.-J. (2016). Harold Jeffreys's default Bayes factor hypothesis tests. Journal of Mathematical Psychology.
- Rouder, J. N., Speckman, P. L., Sun, D., Morey, R. D., & Iverson, G. (2009). Bayesian t tests for accepting and rejecting the null hypothesis. Psychonomic Bulletin & Review.
- Wetzels, R., Matzke, D., Lee, M. D., Rouder, J. N., Iverson, G. J., & Wagenmakers, E.-J. (2011). Statistical evidence in experimental psychology: An empirical comparison using 855 t tests. Perspectives on Psychological Science.