Giter Site home page Giter Site logo

savinims / datas_causal_discovery Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 3.0 2.37 MB

Causal inference tutorials written as part of the Data Analysis Tools for Atmospheric Scientists (DATAS) Gateway.

Jupyter Notebook 100.00%
causal-inference time-series graphical-models causality causal-discovery tutorials

datas_causal_discovery's Introduction

Causal Discovery Tools for Time Series Applications - A Collection of Tutorials

  • Tutorials written with a focus on atmospheric science applications as part of the Data Analysis Tools for Atmospheric Scientists (DATAS) Gateway. DATAS - https://datasgateway.colostate.edu/
  • The methods explained in this repository are focused on observational studies where controlled experiments (e.g., targetted modelling studies in climate) are not performed to identify causes and effects. These methods allow you to identify 'potential' relationships that need to be further validated with our existing knowledge of a specific application domain.
  • Created by Savini M. Samarasinghe, Colorado State University, Fort Collins, CO.

(1) Bivariate Granger causality test

This is the most commonly used approach to find cause-effects in climate science to date.

(2) Time series extension of the PC stable algorithm

PC stable algorithm can be used to learn a probabilistic graphical model representation of data where the variables of interest are presented as nodes of a graph and the stochastic relationships between the variables are presented as graph edges.

About the files and requirements:

  • PC_stable_for_time_series.ipynb is the main tutorial. This notebook provides a simple example of how the PC stable algorithm can be used to find potential cause-effect relationships between a set of time series variables.
  • Seasonal_data_extraction.ipynb gives an example of how to extract seasonal data. This notebook uses data from sample_data.mat
  • Built using Python 3. Requirements: numpy, pandas, matplotlib, scipy, graphviz.
  • Graphviz installation instructions: https://pypi.org/project/graphviz/
  • Cite as: Savini Samarasinghe (2019), "PC Stable Example," https://datasgateway.colostate.edu/resources/218.

datas_causal_discovery's People

Contributors

savinims avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.