Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

strawlab/best

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian estimation for two groups

Update: This package has now been incorporated into PyMC. The PyMC developers maintain it. Please use it https://docs.pymc.io/en/v3/pymc-examples/examples/case_studies/BEST.html. This repository is an archive of the original Python version which was used as the basis for incorporation into PyMC.

This Python package implements the software described in

Kruschke, John. (2012) Bayesian estimation supersedes the t test. Journal of Experimental Psychology: General.

It implements Bayesian estimation for two groups, providing complete distributions for effect size, group means and their difference, standard deviations and their difference, and the normality of the data. See John Kruschke's website on BEST for more information.

Requirements

  • tested with Python 2.7 (not Python 3)
  • PyMC for MCMC sampling
  • matplotlib for plotting

Example

Here is the plot created by examples/smart_drug.py:

smart_drug.png

About

Bayesian estimation supersedes the t test

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages