NOTE: This package is undergoing serious changes now. It will become symbolic, and will handle dependent random variables. This might take a while, though.
Discrete random variables in Python made easy.
Check the new project webpage! Now at http://pelegm.github.io/drv.
The module is fully documented in sphinx style.
Simply download the module and put it either in your project's folder or in
your $PYTHONPATH
. This will soon be a pypi package that will support easy
installation via pip
.
The package is built for Python 2.7.x, and is tested for that version only.
This package is essentialy a wrapper around SciPy's stats package, and uses some NumPy code as well, so both are critical dependencies. Other than these, the package uses Python standard libraries only.
Please refer to LICENSE.
The reasonable way of using this module is as a python module; that is, with
import drv
but see examples.
Please check the project's webpage: http://pelegm.github.io/drv