Learn R Programming

BayesFactor (version 0.9.12-4.7)

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

22,130

Version

0.9.12-4.7

License

GPL-2

Maintainer

Last Published

January 24th, 2024

Functions in BayesFactor (0.9.12-4.7)

filterBF

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

Extract the odds 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
model.matrix,BFBayesFactor-method

Design matrices for Bayes factor linear models analyses.
nWayAOV

Use ANOVA design matrix to compute Bayes factors or sample posterior
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
options-BayesFactor

options() for package BayesFactor
plot.BFBayesFactor

Plot a Bayes factor object
recompute

Recompute a Bayes factor computation or MCMC object.
newPriorOdds

Create prior odds from a Bayes factor object
raceDolls

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

Function for generation of nested linear models
lmBF

Function to compute Bayes factors for specific linear models
priorLogodds<-

Set prior log odds in an object
priorOdds<-

Set prior odds in an object
%termin%

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

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

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

Function for Bayesian analysis of proportions
logMeanExpLogs

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

Plot a Bayes factor top-down object
posterior

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

Puzzle completion times from Hays (1994)
ttest.tstat

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

Function to compute Bayes factors for regression designs
as.BFBayesFactor

Function to coerce objects to the BFBayesFactor class
BFBayesFactorList-class

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

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

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

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

Extract the Bayes factor from an object
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.
correlationBF

Function for Bayesian analysis of correlations
BFManual

Opens the HTML manual for the BayesFactor package
contingencyTableBF

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

Prints the version information for the BayesFactor package
as.BFprobability

Function to coerce objects to the BFprobability class
anovaBF

Function to compute Bayes factors for ANOVA designs