• Stars
    star
    463
  • Rank 94,634 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GitHub Twitter @data4sci GitHub top language GitHub repo size GitHub last commit Binder

Sunday Briefing

Causality

How do causes lead to effects? Can you associate the cause leading to the observed effect? Big Data opens the doors for us to be able to answer questions such as this, but before we are able to do so, we must dive into the field of Causal Inference, a field championed by Judea Pearl. In this series of blog posts we will learn about the main ideas of Causality by working our way through “Causal Inference In Statistics” a nice Primer co-authored by Pearl himself.


Amazon Affiliate Link: https://amzn.to/3gsFlkO

The book is divided into Four chapters. The first chapter covers background material in probability and statistics. The other three chapters are (roughly) organized to match the “Three steps” in the ladder of causality as defined by Pearl:

  1. — Association
  2. — Intervention
  3. — Counterfactuals

In this series of blog posts we will cover most of the content of the book, with a special emphasis on the parts that I believe are more interesting or relevant to practical applications. In addition to summarizing and explaining the content, we will also explore some of the ideas using simple (or as simple as possible) Python code you can run on Binder: Binder

Chapter 1

1.2 - Simpson's Paradox -- 1.2 - Simpson's Paradox.ipynb

1.3 - Probability Theory -- 1.3 - Probability and Statistics.ipynb

1.4 - Graphs -- 1.4 - Graphs.ipynb

1.5 - Structural Causal Models -- 1.5 - Structural Causal Models.ipynb

Chapter 2

2.2 - Chains and Forks -- 2.2 - Chains and Forks.ipynb

2.3 - Colliders -- 2.3 - Colliders.ipynb

2.4 - d-separation -- 2.4 - d-separation.ipynb

2.5 - Model Testing and Causal Search -- 2.5 - Model Testing and Causal Search.ipynb

Chapter 3

3.1 - Interventions -- 3.1 - Interventions.ipynb

3.2 - Adjustment Formula -- 3.2 - The Adjustment Formula.ipynb

3.3 - Backdoor Criterion -- 3.3 - Backdoor Criterion.ipynb

3.4 - Front-Door Criterion -- 3.4 - Front-Door Criterion.ipynb

3.5 - Conditional Interventions and Covariate-Specific Effects -- 3.5 - Conditional Interventions and Covariate-Specific Effects.ipynb

3.6 - Inverse Probability Weighing -- 3.6 - Inverse Probability Weighing.ipynb

3.7 - Mediation -- 3.7 - Mediation.ipynb


For a more in-depth analysis, checkout Pearl's more technical book:


Amazon Affiliate Link: https://amzn.to/2OSBP6u


Sign up to the Sunday Briefing newsletter to be the first to know when we publish new posts:

More Repositories

1

Epidemiology101

Epidemic Modeling for Everyone
Jupyter Notebook
282
star
2

Timeseries

Timeseries for everyone
Jupyter Notebook
245
star
3

DeepLearning

Deep Learning From Scratch
Jupyter Notebook
136
star
4

NLP

Natural Language Processing For Everyone
Jupyter Notebook
133
star
5

Probability

Applied Probability Theory for Everyone
Jupyter Notebook
114
star
6

Networks

Network and Graph Algorithms From Scratch
Jupyter Notebook
112
star
7

DataViz

Data Visualization With Matplotlib and Seaborn
Jupyter Notebook
101
star
8

CausalInference

Jupyter Notebook
93
star
9

Excel

Transforming Excel Analysis into Python and pandas Data Models
Jupyter Notebook
62
star
10

AdvancedTimeseries

Jupyter Notebook
48
star
11

Graphs4Sci

Jupyter Notebook
44
star
12

AdvancedNLP

Jupyter Notebook
38
star
13

RNN

Recurrent Neural Networks for Timeseries
Jupyter Notebook
23
star
14

InteractiveViz

Jupyter Notebook
22
star
15

Timeseries_LL

Time Series Modeling: ML and Deep Learning Approaches with Python
Jupyter Notebook
22
star
16

OpenAI

Jupyter Notebook
19
star
17

PyData2020

Why And What If: Causal Inference for Everyone
Jupyter Notebook
18
star
18

ChatGPT

Jupyter Notebook
14
star
19

LangChain

Jupyter Notebook
14
star
20

blockchain-data

Blockchain Technology For Data Scientists
Jupyter Notebook
11
star
21

epidemik

Compartmental Epidemic Models in Python
Python
11
star
22

Seaborn

Data Visualization With Seaborn
Jupyter Notebook
10
star
23

DataMining

Jupyter Notebook
9
star
24

Probability-And-Statistics

Jupyter Notebook
8
star
25

PyData2021

Jupyter Notebook
8
star
26

G4DS

Jupyter Notebook
8
star
27

LLM4DS

Jupyter Notebook
7
star
28

NLP_LL

Jupyter Notebook
5
star
29

Viz4Sci

Jupyter Notebook
4
star
30

CoVID19

A Data Driven Approach to Understanding COVID-19 with NetworkX
Jupyter Notebook
3
star
31

PyGotham2021

Jupyter Notebook
2
star