Overview

soerp is the Python implementation of the original Fortran code SOERP
by N. D. Cox to apply a second-order analysis to error propagation (or
uncertainty analysis). The soerp package allows you to easily and
transparently track the effects of uncertainty through mathematical
calculations. Advanced mathematical functions, similar to those in the standard
math module can also be evaluated directly.

In order to correctly use soerp, the first eight statistical moments
of the underlying distribution are required. These are the mean, variance,
and then the standardized third through eighth moments. These can be input
manually in the form of an array, but they can also be conveniently
generated using either the nice constructors or directly by using the
distributions from the scipy.stats sub-module. See the examples below for
usage examples of both input methods. The result of all calculations generates a
mean, variance, and standardized skewness and kurtosis coefficients.

This seems to indicate that even though there are products, divisions, and the usage of sqrt, the result resembles a normal distribution (i.e., Q ~ N(1331, 7.63), where the standard deviation = sqrt(58.2) = 7.63).

The location, scale, and shape parameters follow the notation in the
respective Wikipedia articles. Discrete distributions are not recommended
for use at this time. If you need discrete distributions, try themcerppython package instead.

Installation

Make sure you install theadpackage first! (If you use options
3 or 4 below, this should be done automatically.)

You have several easy, convenient options to install the soerp package
(administrative privileges may be required)

Download the package files below, unzip to any directory, and run:

$ [sudo] python setup.py install

Simply copy the unzipped soerp-XYZ directory to any other location that
python can find it and rename it soerp.

If setuptools is installed, run:

$ [sudo] easy_install [--upgrade] soerp

If pip is installed, run:

$ [sudo] pip install [--upgrade] soerp

Uninstallation

To remove the package, there are really two good ways to do this:

Go to the folder site-packages or dist-packages and simply delete
the folder soerp and soerp-XYZ-egg-info.

See Also

Contact

Acknowledgements

The author wishes to thank Eric O. LEBIGOT who first developed the
uncertainties python package (for first-order error propagation),
from which many inspiring ideas (like maintaining object correlations, etc.)
are re-used and/or have been slightly evolved. If you don’t need second
order functionality, his package is an excellent alternative since it is
optimized for first-order uncertainty analysis.