BayesPowerlaw

Written by Kristina Grigaityte.

_images/tweet_powerlaw.png _images/tweet_posterior.png

BayesPowerlaw fits single or mixtures of power law distributions and estimate their exponent using Bayesian Inference, specifically Markov-Chain Monte Carlo Metropolis Hastings algorithm.

Installation

BayesPowerlaw can be installed from PyPI using the pip package manager (version 9.0.0 or higher). At the command line:

pip install BayesPowerlaw

The code for powerlaw is open source and available on GitHub.

Quick Start

To make the figures shown above, do this from within Python:

import BayesPowerlaw as bp
bp.demo()

Contact

For technical assistance or to report bugs, please contact Kristina Grigaityte.

For general correspondence, please contact Gurinder Atwal.

Indices and tables