Skip to main content

A Causal Inference Framework for Environmental Data Analysis

Project description

EnvCausal

A Causal Inference Framework for Environmental Data Analysis

This repository contains all the necessary data and custom Python scripts to reproduce the results in the paper "Machine Learning–Aided Causal Inference Framework for Environmental Data Analysis: A COVID-19 Case Study".

Jupyter Notebook examples will be uploaded in future releases.

Install

pip install EnvCausal

Script descriptions

clustering.py -- A PCA-then-k-means clustering pipeline.
causal_estimate.py -- A dowhy package wrapper, results will be written in a txt file1.
recover_network.py -- A SAM model for Bayesian network recovery, adjacent matrix will be returned.
result_plot.py -- A couple of functions for result visualization.

1Inspired by Dowhy example: Iterating over multiple refutation tests

Acknowledgements

This software is based in part on the following packages:
DoWhy
EconML
CausalML
CausalDiscoveryToolbox

Thanks for the developers' effort on those fascinating causal inference tools!

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

EnvCausal-0.3.4.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

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