Skip to main content
# 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)





Download files

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

Source Distribution

causalgraphicalmodels-0.0.4.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

causalgraphicalmodels-0.0.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file causalgraphicalmodels-0.0.4.tar.gz.

File metadata

  • Download URL: causalgraphicalmodels-0.0.4.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.7.2 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for causalgraphicalmodels-0.0.4.tar.gz
Algorithm Hash digest
SHA256 75db560dc1ff096ea17675b1225038fde0a835488be7f3b0e29e15b152573478
MD5 23fb5de4d9ae4bfa6696b8aeaca38763
BLAKE2b-256 3f4b48648fe469bd91b88192d5ac28724b18e139f1c9b089b8fae5ded293b38c

See more details on using hashes here.

File details

Details for the file causalgraphicalmodels-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: causalgraphicalmodels-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.7.2 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for causalgraphicalmodels-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb3dd2300248ca69efb6d9d7f6c1afdfdf60ff250e8e07f7d275fb12d2b9968
MD5 13a1264019e609b9401aa0fab0f23c17
BLAKE2b-256 c8ee3b2d184576f3cb4873cebfc696e8e5c1e53eaef691f38aea76c206f9f916

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

Supported by

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