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.4)

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

15,621

Version

0.9.12-4.4

License

GPL-2

Maintainer

R. Morey

Last Published

July 5th, 2022

Functions in BayesFactor (0.9.12-4.4)

as.BFBayesFactor

Function to coerce objects to the BFBayesFactor class
BFprobability-class

General S4 class for representing multiple model probability comparisons
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
BFBayesFactorList-class

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

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

Compare two models, with respect to some data
extractProbabilities

Extract the probabilities from an object
BayesFactor-package

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

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

Function to compute Bayes factors for general designs
BFManual

Opens the HTML manual for the BayesFactor package
as.BFprobability

Function to coerce objects to the BFprobability class
BFInfo

Prints the version information for the BayesFactor package
anovaBF

Function to compute Bayes factors for ANOVA designs
extractBF

Extract the Bayes factor from an object
lmBF

Function to compute Bayes factors for specific linear models
%termin%

Find a model term in a vector of model terms
linearReg.R2stat

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

Function for generation of nested linear models
newPriorOdds

Create prior odds from a Bayes factor object
correlationBF

Function for Bayesian analysis of correlations
BFmodel-class

General S4 classes for representing models for comparison
plot.BFBayesFactorTop

Plot a Bayes factor top-down object
posterior

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

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

Extract the odds from an object
model.matrix,BFBayesFactor-method

Design matrices for Bayes factor linear models analyses.
recompute

Recompute a Bayes factor computation or MCMC object.
meta.ttestBF

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

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

Use ANOVA design matrix to compute Bayes factors or sample posterior
ttestBF

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

Plot a Bayes factor object
ttest.tstat

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

options() for package BayesFactor
regressionBF

Function to compute Bayes factors for regression designs
logMeanExpLogs

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

Set prior odds in an object
priorLogodds<-

Set prior log odds in an object
oneWayAOV.Fstat

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

Function for Bayesian analysis of proportions
puzzles

Puzzle completion times from Hays (1994)