general linear models (including linear mixed effects models): generalTestBF
, lmBF
linear regression: regressionBF
, lmBF
,
linearReg.R2stat
;
t tests: ttestBF
, ttest.tstat
;
meta-analytic t tests: meta.ttestBF
ANOVA: anovaBF
, lmBF
, oneWayAOV.Fstat
;
contingency tables: contingencyTableBF
;
single proportions: proportionBF
;
Other useful functions: posterior
, for sampling from posterior
distributions; recompute
, for re-estimating a Bayes factor or
posterior distribution; compare
, to compare two model
posteriors; and plot.BFBayesFactor
, for plotting Bayes factor
objects.
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, 16, 225-237
Rouder, J. N., Morey, R. D., Speckman, P. L., Province, J. M., (2012) Default Bayes Factors for ANOVA Designs. Journal of Mathematical Psychology. 56. p. 356-374.
Perception and Cognition Lab (University of Missouri): Bayes factor
calculators.
## See specific functions for examples.
Run the code above in your browser using DataLab