Real-time latin-hypercube-sampling-based Monte Carlo Error Propagation
With this package you can easily and transparently track the effects of uncertainty through mathematical calculations. Advanced mathematical functions, similar to those in the standard math module, and statistical functions like those in the scipy.stats module, can also be evaluated directly.
If you are familiar with Excel-based risk analysis programs like @Risk, Crystal Ball, ModelRisk, etc., this package will work wonders for you (and probably even be faster!) and give you more modelling flexibility with the powerful Python language. This package also doesn’t cost a penny, compared to those commercial packages which cost thousands of dollars for a single-seat license. Feel free to copy and redistribute this package as much as you desire!
What’s New In This Release
- this is a Python 3 release of the mcerp package by Abraham Lee
- available via conda or pip
- officially adds the 3-clause BSD licesnse text to the software (this license has been specified in the mcerp PyPI package for years)
- supports SciPy >= 1.0 by removing the scipy.stats.signaltonoise function
- Transparent calculations. No or little modification to existing code required.
- Basic NumPy support without modification. (I haven’t done extensive testing, so please let me know if you encounter bugs.)
- Advanced mathematical functions supported through the mcerp.umath sub-module. If you think a function is in there, it probably is. If it isn’t, please request it!
- Easy statistical distribution constructors. The location, scale, and shape parameters follow the notation in the respective Wikipedia articles and other relevant web pages.
- Correlation enforcement and variable sample visualization capabilities.
- Probability calculations using conventional comparison operators.
- Advanced Scipy statistical function compatibility with package functions. Depending on your version of Scipy, some functions might not work.
- Python 3 support
How to install
Effort has been made to ensure mcerp3 is easy to install.
From the command-line, do one of the following:
The source code is also freely available, in case you would like to incorporate it directly into your project. However, when possible, it is usually easier to let your package manager handle things for you.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size mcerp3-1.0.3-py3-none-any.whl (23.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size mcerp3-1.0.3.tar.gz (24.5 kB)||File type Source||Python version None||Upload date||Hashes View hashes|