Skip to main content

Comparing methods for causality analysis in a fair and just way.

Project description

Docs Status CI Status Coverage Status Code style: black PyPI-Server

JustCause logo


Evaluating causal inference methods in a scientifically thorough way is a cumbersome and error-prone task. To foster good scientific practice JustCause provides a framework to easily:

  1. evaluate your method using common data sets like IHDP, IBM ACIC, and others;
  2. create synthetic data sets with a generic but standardized approach;
  3. benchmark your method against several baseline and state-of-the-art methods.

Our cause is to develop a framework that allows you to compare methods for causal inference in a fair and just way. JustCause is a work in progress and new contributors are always welcome.


If you just want to use the functionality of JustCause, install it with:

pip install justcause

Consider using conda to create a virtual environment first.

Developers that want to develop and contribute own algorithms and data sets to the JustCause framework, should:

  1. clone the repository and change into the directory

    git clone
    cd justcause
  2. create an environment justcause with the help of conda,

    conda env create -f environment.yaml
  3. activate the new environment with

    conda activate justcause
  4. install justcause with:

    python install # or `develop`

Optional and needed only once after git clone:

  1. install several pre-commit git hooks with:
    pre-commit install
    and checkout the configuration under .pre-commit-config.yaml. The -n, --no-verify flag of git commit can be used to deactivate pre-commit hooks temporarily.

Related Projects & Resources

  1. causalml: causal inference with machine learning algorithms in Python
  2. DoWhy: causal inference using graphs for identification
  3. EconML: Heterogeneous Effect Estimation in Python
  4. awesome-list: A very extensive list of causal methods and respective code
  5. IBM-Causal-Inference-Benchmarking-Framework: Causal Inference Benchmarking Framework by IBM


This project has been set up using PyScaffold 3.2.2 and the dsproject extension 0.4. For details and usage information on PyScaffold see

Download files

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

Files for JustCause, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size JustCause-0.3-py2.py3-none-any.whl (80.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size JustCause-0.3.tar.gz (6.8 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page