PaCAL - ProbAbilistic CALculator - Installation instructions


The following packages are required: The following packages are recommended:

Downloading and installation:

PaCal is available at PyPI so you can just do the usual
  easy_install pacal
If you are a Windows user, simply use the provided Windows installer. To install the package manually download PaCal at SourceForge, unpack the tar.gz file and type
  python install
just as with any other Python package.

Using PaCAL

To start using the package, run Python and type
from pacal import *

N = NormalDistr()

N.cdf(0)          # should produce 0.5
N.summary()       # prints summary: mean, variance, etc.

You can compute with probability distributions just as with standard variables (independence is always assumed):

C = N / N         # Cauchy distribution

L = N*N + N*N     # Laplace distribution

Many more examples are available with the package in the examples/ directory.

Enabling parallel computation

Since version 1.5 PaCAL supports parallel computation through the multiprocessing package. To enable set
at the beginning of your file or in the package sources. You may encounter problems with multithreaded linear algebra libraries. It is best to set the number of threads they use to one, e.g. for OpenBLAS use

Get PaCal at Fast, secure and Free Open Source software downloads