I'm wondering whether anyone knows whether it is possible to directly calculate a Bayes Factor (comparing null model of zero correlation to non-zero correlation) given just a correlation coefficient and sample size.
I've found this site that allows you to calculate the Bayes factor from t-test or regression coefficients and am hoping that a similar thing could be done with correlation coefficients.
Many thanks.
Contents
hide
Best Answer
You could convert the Pearson's $r$ value to its corresponding $t$-statistic and then use the app that you found. The conversion is $$ t=sqrt{frac{(n-2)r^2}{1-r^2}} $$ where $n$ is the sample size.
Similar Posts:
- Solved – Bayes factor calculation
- Solved – Bayes factor calculation
- Solved – Bayes-factor for testing a null-hypothesis
- Solved – Computing Bayes Factor using “Bayesfactor” package
- Solved – Threshold for correlation coefficient to indicate statistical significance of a correlation in a correlation matrix