Learn R Programming

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

BayesFactor (version 0.9.12-4.3)

Computation of Bayes Factors for Common Designs

Description

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,808

Version

0.9.12-4.3

License

GPL-2

Maintainer

R. Morey

Last Published

December 13th, 2021

Functions in BayesFactor (0.9.12-4.3)

BFprobability-class

General S4 class for representing multiple model probability comparisons
BFBayesFactorList-class

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

Opens the HTML manual for the BayesFactor package
BFodds-class

General S4 class for representing multiple odds model comparisons, all against the same model
BFBayesFactor-class

General S4 class for representing multiple Bayes factor model comparisons, all against the same model
as.BFprobability

Function to coerce objects to the BFprobability class
BFInfo

Prints the version information for the BayesFactor package
as.BFBayesFactor

Function to coerce objects to the BFBayesFactor class
BayesFactor-package

Functions to compute Bayes factor hypothesis tests for common research designs and hypotheses.
anovaBF

Function to compute Bayes factors for ANOVA designs
correlationBF

Function for Bayesian analysis of correlations
filterBF

Filter the elements of an object according to some pre-specified criteria
extractProbabilities

Extract the probabilities from an object
generalTestBF

Function to compute Bayes factors for general designs
%same%

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

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

Function to compute Bayes factors for specific linear models
newPriorOdds

Create prior odds from a Bayes factor object
oneWayAOV.Fstat

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

General S4 classes for representing models for comparison
meta.ttestBF

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

Recompute a Bayes factor computation or MCMC object.
ttest.tstat

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

Hraba and Grant (1970) children's doll preference data
regressionBF

Function to compute Bayes factors for regression designs
priorOdds<-

Set prior odds in an object
extractBF

Extract the Bayes factor from an object
extractOdds

Extract the odds from an object
priorLogodds<-

Set prior log odds in an object
%termin%

Find a model term in a vector of model terms
options-BayesFactor

options() for package BayesFactor
enumerateGeneralModels

Function for generation of nested linear models
plot.BFBayesFactor

Plot a Bayes factor object
compare

Compare two models, with respect to some data
plot.BFBayesFactorTop

Plot a Bayes factor top-down object
posterior

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

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

Function for Bayesian analysis of one- and two-sample designs
linearReg.R2stat

Use R^2 statistic to compute Bayes factor for regression designs
model.matrix,BFBayesFactor-method

Design matrices for Bayes factor linear models analyses.
puzzles

Puzzle completion times from Hays (1994)
proportionBF

Function for Bayesian analysis of proportions
nWayAOV

Use ANOVA design matrix to compute Bayes factors or sample posterior