Learn R Programming

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

BayesFactor (version 0.9.1)

Computation of Bayes factors for simple designs

Description

The BayesFactor package is a suite of functions for computing various Bayes factors for simple designs, including the 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.1

License

GPL-2

Maintainer

R. Morey

Last Published

February 21st, 2013

Functions in BayesFactor (0.9.1)

nWayAOV

Use ANOVA design matrix to compute Bayes factors or sample posterior
%same%

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

Function to compute Bayes factors for specific linear models
BFodds-class

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

Function to compute Bayes factors for general designs
logMeanExpLogs

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

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

Opens the HTML manual for the BayesFactor package
BFBayesFactorList-class

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

Function for Bayesian analysis of proportions
BFInfo

Prints the version information for the BayesFactor package
priorOdds<-

Set prior odds in an object
extractProbabilities

Extract the probabilities from an object
puzzles

Puzzle completion times from Hays (1994)
ttest.tstat

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

Recompute a Bayes factor computation or MCMC object.
anovaBF

Function to compute Bayes factors for ANOVA designs
ttestBF

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

Plot 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
raceDolls

Hraba and Grant (1970) children's doll preference data
plot.BFBayesFactorTop

Plot a Bayes factor top-down object
%termin%

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

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

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

Create prior odds from a Bayes factor object
posterior

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

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

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

Function to compute Bayes factors for regression designs
priorLogodds<-

Set prior log odds in an object
enumerateGeneralModels

Function for generation of nested linear models
filterBF

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

options() for package BayesFactor
extractBF

Extract the Bayes factor from an object
BFprobability-class

General S4 class for representing multiple model probability comparisons
model.matrix,BFBayesFactor-method

Design matrices for Bayes factor linear models analyses.
compare

Compare two models, with respect to some data
as.BFBayesFactor

Function to coerce objects to the BFBayesFactor class
extractOdds

Extract the odds from an object
as.BFprobability

Function to coerce objects to the BFprobability class