Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Causality Graphical Models in Python

Project description

# CausalGraphicalModels

## Introduction

`causalgraphicalmodels` is a python module for describing and manipulating [Causal Graphical Models](https://en.wikipedia.org/wiki/Causal_graph) and [Structural Causal Models](https://en.wikipedia.org/wiki/Structural_equation_modeling). Behind the scenes it is a light wrapper around the python graph library [networkx](https://networkx.github.io/), together with some CGM specific tools.

It is currently in a very early stage of development. All feedback is welcome.


## Example

For a quick overview of `CausalGraphicalModel`, see [this example notebook](https://github.com/ijmbarr/causalgraphicalmodels/blob/master/notebooks/cgm-examples.ipynb).

## Install

```
pip install causalgraphicalmodels
```


## Resources
My understanding of Causality comes mainly from the reading of the follow work:
- Causality, Pearl, 2009, 2nd Editing. (An overview available [here](http://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf))
- A fantastic blog post, [If correlation doesn’t imply causation, then what does?](http://www.michaelnielsen.org/ddi/if-correlation-doesnt-imply-causation-then-what-does/) from Michael Nielsen
- [These lecture notes](http://www.math.ku.dk/~peters/jonas_files/scriptChapter1-4.pdf) from Jonas Peters
- The draft of [Elements of Causal Inference](http://www.math.ku.dk/~peters/jonas_files/bookDRAFT5-online-2017-02-27.pdf)
- http://mlss.tuebingen.mpg.de/2017/speaker_slides/Causality.pdf

## Related Packages
- [Causality](https://github.com/akelleh/causality)
- [CausalInference](https://github.com/laurencium/causalinference)
- [DoWhy](https://github.com/Microsoft/dowhy)





Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
causalgraphicalmodels-0.0.4-py3-none-any.whl (11.4 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 3, 2018
causalgraphicalmodels-0.0.4.tar.gz (7.8 kB) Copy SHA256 hash SHA256 Source None Sep 3, 2018

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page