- Notifications
You must be signed in to change notification settings - Fork2
The Bayesian playground. A package for learning Bayes factors
License
Unknown, MIT licenses found
Licenses found
bayesplay/bayesplay
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The goal of bayesplay is to provide an interface for calculating Bayesfactors for simple models. It does this in a way that makes thecalculations moretransparent and it is therefore useful as a teachingtools.
bayesplay is now on CRAN. You can install it with:
install.packages("bayesplay")Or if you want to live on the edge, you can install the developmentversion fromGitHub with:
# install.packages("devtools")devtools::install_github("bayesplay/bayesplay")
Thebayesplay package comes with three basic functions for computingBayes factors.
The
likelihood()function for specifying likelihoodsThe
prior()function for specifying priorsAnd the
integral()function
Currently the following distributions are supported for likelihoods andpriors
Normal distribution (
normal)Uniform distribution (
uniform)Scaled and shiftedt distribution (
student_t)Cauchy distributions (
cauchy)Beta distribution (
beta)
Normal distribution (
normal)Scaled and shiftedt distribution (
student_t)Binomial distribution (
binomial)Various noncentralt distributions, including:
Noncentralt distribution (
noncentral_t)Noncentralt distribution scaled for a paired samples/one sampleCohen’sd (
noncentral_d)Noncentralt distribution scaled for an independent samplesCohen’sd (
noncentral_d2)
For worked examples of the basic usage seebasicusage. Orfor basic plot functionality seebasicplotting
About
The Bayesian playground. A package for learning Bayes factors
Topics
Resources
License
Unknown, MIT licenses found
Licenses found
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.