Package: BayesFactor 0.9.12-4.6
BayesFactor: Computation of Bayes Factors for Common Designs
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.
Authors:
BayesFactor_0.9.12-4.6.tar.gz
BayesFactor_0.9.12-4.6.zip(r-4.5)BayesFactor_0.9.12-4.6.zip(r-4.4)BayesFactor_0.9.12-4.6.zip(r-4.3)
BayesFactor_0.9.12-4.6.tgz(r-4.4-x86_64)BayesFactor_0.9.12-4.6.tgz(r-4.4-arm64)BayesFactor_0.9.12-4.6.tgz(r-4.3-x86_64)BayesFactor_0.9.12-4.6.tgz(r-4.3-arm64)
BayesFactor_0.9.12-4.6.tar.gz(r-4.5-noble)BayesFactor_0.9.12-4.6.tar.gz(r-4.4-noble)
BayesFactor_0.9.12-4.6.tgz(r-4.4-emscripten)BayesFactor_0.9.12-4.6.tgz(r-4.3-emscripten)
BayesFactor.pdf |BayesFactor.html✨
BayesFactor/json (API)
NEWS
# Install 'BayesFactor' in R: |
install.packages('BayesFactor', repos = c('https://richarddmorey.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/richarddmorey/bayesfactor/issues
Last updated 12 months agofrom:04b83d90d4. Checks:OK: 3 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win-x86_64 | NOTE | Oct 25 2024 |
R-4.5-linux-x86_64 | NOTE | Oct 25 2024 |
R-4.4-win-x86_64 | NOTE | Oct 25 2024 |
R-4.4-mac-x86_64 | NOTE | Oct 25 2024 |
R-4.4-mac-aarch64 | NOTE | Oct 25 2024 |
R-4.3-win-x86_64 | NOTE | Oct 25 2024 |
R-4.3-mac-x86_64 | OK | Oct 25 2024 |
R-4.3-mac-aarch64 | OK | Oct 25 2024 |
Exports:anovaBFas.BFBayesFactoras.BFprobabilityBFInfoBFManualcomparecontingencyTableBFcorrelationBFenumerateGeneralModelsextractBFextractOddsextractProbabilitiesfilterBFgeneralTestBFlinearReg.R2statlmBFlogCumMeanExpLogslogMeanExpLogslogSummaryStatsmeta.ttestBFmodel.matrixnewPriorOddsnWayAOVoneWayAOV.FstatposteriorpriorLogodds<-priorOdds<-proportionBFrecomputeregressionBFtttest.tstatttestBFwhich.maxwhich.min
Dependencies:clicodacontfracdeSolveellipticgluehypergeolatticelifecyclemagrittrMASSMatrixMatrixModelsmvtnormpbapplyRcppRcppEigenrlangstringistringrvctrs
Demos and comparisons
Rendered fromcompare_lme4.Rmd
usingknitr
on Oct 25 2024.Last update: 2018-05-07
Started: 2013-12-21
Odds and probabilities
Rendered fromodds_probs.Rmd
usingknitr
on Oct 25 2024.Last update: 2021-12-15
Started: 2015-03-05
Prior checks
Rendered frompriors.Rmd
usingknitr
on Oct 25 2024.Last update: 2023-09-21
Started: 2013-12-20
Using the 'BayesFactor' package, version 0.9.2+
Rendered frommanual.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2023-09-21
Started: 2013-10-15
Vignette menu
Rendered fromindex.Rmd
usingknitr
on Oct 25 2024.Last update: 2015-03-05
Started: 2013-10-15
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Functions to compute Bayes factor hypothesis tests for common research designs and hypotheses. | BayesFactor-package BayesFactor |
Compare two objects to see if they are the 'same', for some loose definition of same | %same% |
Find a model term in a vector of model terms | %termin% |
Function to compute Bayes factors for ANOVA designs | anovaBF |
Function to coerce objects to the BFBayesFactor class | as.BFBayesFactor |
Function to coerce objects to the BFprobability class | as.BFprobability |
General S4 class for representing multiple Bayes factor model comparisons, all against the same model | *,BFBayesFactor,BFodds-method /,BFBayesFactor,BFBayesFactor-method /,numeric,BFBayesFactor-method BFBayesFactor-class BFBayesFactorTop-class is.na,BFBayesFactor-method t,BFBayesFactor-method which.max,BFBayesFactor-method which.min,BFBayesFactor-method [,BFBayesFactor,index,missing,missing-method [,BFBayesFactorTop,index,missing,missing-method |
General S4 class for representing a collection of Bayes factor model comprisons, each against a different denominator | /,numeric,BFBayesFactorList-method BFBayesFactorList-class t,BFBayesFactorList-method [,BFBayesFactorList,index,index,missing-method [,BFBayesFactorList,index,missing,missing-method [,BFBayesFactorList,missing,index,missing-method |
Prints the version information for the BayesFactor package | BFInfo |
Opens the HTML manual for the BayesFactor package | BFManual |
General S4 classes for representing models for comparison | BFcontingencyTable-class BFcorrelation-class BFindepSample-class BFlinearModel-class BFmodel-class BFoneSample-class BFproportion-class |
General S4 class for representing multiple odds model comparisons, all against the same model | *,BFodds,BFBayesFactor-method /,BFodds,BFodds-method /,numeric,BFodds-method BFodds-class [,BFodds,index,missing,missing-method |
General S4 class for representing multiple model probability comparisons | -,BFprobability,numeric-method /,BFprobability,numeric-method BFprobability-class filterBF,BFprobability,character-method [,BFprobability,index,missing,missing-method |
Compare two models, with respect to some data | compare compare,BFcontingencyTable,BFcontingencyTable,data.frame-method compare,BFcontingencyTable,missing,data.frame-method compare,BFcorrelation,missing,data.frame-method compare,BFindepSample,missing,data.frame-method compare,BFlinearModel,BFlinearModel,data.frame-method compare,BFlinearModel,missing,data.frame-method compare,BFmcmc,BFmcmc,ANY-method compare,BFmcmc,missing,ANY-method compare,BFmetat,missing,data.frame-method compare,BFoneSample,missing,data.frame-method compare,BFproportion,missing,data.frame-method |
Function for Bayesian analysis of one- and two-sample designs | contingencyTableBF |
Function for Bayesian analysis of correlations | correlationBF |
Extract the Bayes factor from an object | extractBF extractBF,BFBayesFactor-method |
Extract the odds from an object | extractOdds extractOdds,BFodds-method |
Extract the probabilities from an object | extractProbabilities extractProbabilities,BFprobability-method |
Filter the elements of an object according to some pre-specified criteria | filterBF |
Function to compute Bayes factors for general designs | generalTestBF |
Use R^2 statistic to compute Bayes factor for regression designs | linearReg.R2stat |
Function to compute Bayes factors for specific linear models | lmBF |
Functions to compute the logarithm of the mean (and cumulative means) of vectors of logarithms | logCumMeanExpLogs logMeanExpLogs logSummaryStats |
Function for Bayesian analysis of one- and two-sample designs | meta.ttestBF |
Design matrices for Bayes factor linear models analyses. | model.matrix,BFBayesFactor model.matrix,BFBayesFactor-method model.matrix,BFBayesFactorTop-method |
Create prior odds from a Bayes factor object | newPriorOdds |
Use ANOVA design matrix to compute Bayes factors or sample posterior | nWayAOV |
Use F statistic to compute Bayes factor for balanced one-way designs | oneWayAOV.Fstat |
options() for package BayesFactor | options-BayesFactor |
Plot a Bayes factor object | plot.BFBayesFactor |
Plot a Bayes factor top-down object | plot.BFBayesFactorTop |
Sample from the posterior distribution of one of several models. | posterior posterior,BFBayesFactor,missing,missing,missing-method posterior,BFBayesFactor,missing,missing,numeric-method posterior,BFBayesFactor,numeric,missing,numeric-method posterior,BFcontingencyTable,missing,data.frame,numeric-method posterior,BFcorrelation,missing,data.frame,numeric-method posterior,BFindepSample,missing,data.frame,numeric-method posterior,BFlinearModel,missing,data.frame,numeric-method posterior,BFmetat,missing,data.frame,numeric-method posterior,BFmodel,missing,data.frame,missing-method posterior,BFoneSample,missing,data.frame,numeric-method posterior,BFproportion,missing,data.frame,numeric-method |
Set prior log odds in an object | priorLogodds<- priorLogodds<-,BFodds,numeric-method |
Set prior odds in an object | priorOdds<- priorOdds<-,BFodds,numeric-method |
Function for Bayesian analysis of proportions | proportionBF |
Puzzle completion times from Hays (1994) | puzzles |
Hraba and Grant (1970) children's doll preference data | raceDolls |
Recompute a Bayes factor computation or MCMC object. | recompute recompute,BFBayesFactor-method recompute,BFBayesFactorTop-method recompute,BFmcmc-method recompute,BFodds-method |
Function to compute Bayes factors for regression designs | regressionBF |
Use t statistic to compute Bayes factor for one- and two- sample designs | ttest.tstat |
Function for Bayesian analysis of one- and two-sample designs | ttestBF |