Skip to main content

VARS-TOOL Sensitivity and Uncertainty Analysis Package

Project description

VARS-TOOL Python Library

1. Overview of VARS-TOOL

VARS-TOOL is a next-generation, multi-method sensitivity and uncertainty analysis software toolbox, applicable to the full range of computer simulation models, including Dynamical Earth Systems Models (DESMs). Developed primarily around the powerful “Variogram Analysis of Response Surfaces” (VARS) framework, VARS-TOOL provides a comprehensive suite of algorithms and methods for global sensitivity analysis (GSA), including ones based on the derivative-based (such as the method of Morris), distribution-based (particularly the variance-based method of Sobol’), and variogram-based (such as VARS) approaches.

The underlying approach of the VARS-TOOL toolkit is described in detail in the following publications:

  1. A new framework for comprehensive, robust, and efficient global sensitivity analysis: 1. Theory
  2. A new framework for comprehensive, robust, and efficient global sensitivity analysis: 2. Application
  3. VARS-TOOL: A toolbox for comprehensive, efficient, and robust sensitivity and uncertainty analysis
  4. Correlation Effects? A Major but Often Neglected Component in Sensitivity and Uncertainty Analysis (GVARS)
  5. A Fresh Look at Variography: Measuring Dependence and Possible Sensitivities Across Geophysical Systems From Any Given Data (DVARS)

2. Installation

2.1. Installing with pip (preferred)

If you have Python3 and pip installed on your machine, then the VARS-TOOL package can be installed as following:

foo@bar:~$ pip install varstool

2.2. Installing from source code

To install the lastest VARS-TOOL code from the source code, you will need to clone the github repository onto your local device using the command:

foo@bar:~$ git clone https://github.com/vars-tool/vars-tool.git

To install the package, enter the VARS-TOOL directory and run:

foo@bar:~$ cd vars-tool
foo@bar:~$ pip install .

If pip is not available on your device use:

foo@bar:~$ python setup.py install
:point_up: If installation does not work due to limited permissions, add the --user option to the install commands.

3. Documentation

The documentation of the project is located on readthedocs.

4. Examples and Tutorials

  • 4.1. Quick Start: Here is an overview of the VARS-TOOL main components and a simple example using ishigami and wavy6d models. Binder

  • 4.2. Real-world Example Using HBV-SASK (using TSVARS): Sensitivity analysis of a real-world hydrological model producing time-series results. Binder

  • 4.3. Handling Correlated Factors Using Generalized VARS (GVARS): Sensitivity analysis using correlated factors that belong to specific distributions. Binder

  • 4.4. Data-driven Sensitivity Analysis (DVARS): under progress...

5. Your Contributions

Contributions to VARS-TOOL are welcome! To contribute new features submit a pull request. To get started it is recommended to install the packages in requirements.txt by using the following command:

foo@bar:~$ pip install -r requirements.txt

Once the packages are installed to contribute do the following:

  1. Fork the repository (here). A fork makes it possible to make changes to the source code through creating a copy,
  2. Create a new branch on your fork,
  3. Commit your changes and push them to your branch, and
  4. When the branch is ready to be merged, you can create a Pull Request (how to create a pull request).

6. Citations

Under progress. Check back again.

7. License

7.1 Software

VARS-TOOL is licensed under the GNU General Public License, Version 3.0 or later.

Copyright (C) 2015-21 Saman Razavi, University of Saskatchewan

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.

7.2 Documentation

Copyright (C) 2015-21 Saman Razavi, University of Saskatchewan

Creative Commons License
This documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

varstool-2.3.1.tar.gz (61.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

varstool-2.3.1-py2.py3-none-any.whl (67.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file varstool-2.3.1.tar.gz.

File metadata

  • Download URL: varstool-2.3.1.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for varstool-2.3.1.tar.gz
Algorithm Hash digest
SHA256 a44f260d584be98196c62f0ee3d185fcf6ed8e310d849ca794bc7f5c957a2eff
MD5 0795e30b749917b3e67662f8e4eee313
BLAKE2b-256 ac07f21e58658bfe6cd697fa55f5e0b9c7a3e2db61083ca9280cb34c89343e9b

See more details on using hashes here.

File details

Details for the file varstool-2.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: varstool-2.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 67.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for varstool-2.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a3937bddd635743387fed7f9db359616e8f20714d53bbd2ca5734566c7ab36ae
MD5 1ca47c207c54f2d627fa94c1a48cc52b
BLAKE2b-256 d38e39e95d6e2bbf2047192a1be8892b86e320c88d672e7be14bc77b5774a398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page