Learn R Programming

⚠️There's a newer version (0.9.12-4.7) of this package.Take me there.

BayesFactor (version 0.9.9)

Computation of Bayes factors for common designs

Description

The BayesFactor package is a suite of functions for computing various Bayes factors for simple designs, including contingency tables, one- and two-sample designs, one-way designs, general ANOVA designs, and linear regression.

Copy Link

Version

Install

install.packages('BayesFactor')

Monthly Downloads

19,734

Version

0.9.9

License

GPL-2

Maintainer

R. Morey

Last Published

October 22nd, 2014

Functions in BayesFactor (0.9.9)

BayesFactor-package

Functions to compute Bayes factor hypothesis tests for common research designs and hypotheses.
BFBayesFactorList-class

General S4 class for representing a collection of Bayes factor model comprisons, each against a different denominator
BFBayesFactor-class

General S4 class for representing multiple Bayes factor model comparisons, all against the same model
compare

Compare two models, with respect to some data
generalTestBF

Function to compute Bayes factors for general designs
linearReg.R2stat

Use R^2 statistic to compute Bayes factor for regression designs
ttestBF

Function for Bayesian analysis of one- and two-sample designs
BFManual

Opens the HTML manual for the BayesFactor package
contingencyTableBF

Function for Bayesian analysis of one- and two-sample designs
plot.BFBayesFactorTop

Plot a Bayes factor top-down object
%termin%

Find a model term in a vector of
%same%

Compare two objects to see if they are the 'same', for some loose definition of same
raceDolls

Hraba and Grant (1970) children's doll preference data
meta.ttestBF

Function for Bayesian analysis of one- and two-sample designs
BFmodel-class

General S4 classes for representing models for comparison
ttest.tstat

Use t statistic to compute Bayes factor for one- and two- sample designs
proportionBF

Function for Bayesian analysis of proportions
options-BayesFactor

options() for package BayesFactor
extractBF

Extract the Bayes factor from an object
enumerateGeneralModels

Function for generation of nested linear models
oneWayAOV.Fstat

Use F statistic to compute Bayes factor for balanced one-way designs
BFInfo

Prints the version information for the BayesFactor package
plot.BFBayesFactor

Plot a Bayes factor object
posterior

Sample from the posterior distribution of one of several models.
puzzles

Puzzle completion times from Hays (1994)
nWayAOV

Use ANOVA design matrix to compute Bayes factors or sample posterior
model.matrix,BFBayesFactor-method

Design matrices for Bayes factor linear models analyses.
recompute

Recompute a Bayes factor computation or MCMC object.
regressionBF

Function to compute Bayes factors for regression designs
lmBF

Function to compute Bayes factors for specific linear models
as.BFBayesFactor

Function to coerce objects to the BFBayesFactor class
anovaBF

Function to compute Bayes factors for ANOVA designs
logMeanExpLogs

Functions to compute the logarithm of the mean (and cumulative means) of vectors of logarithms