Skip to content

S-acharya57/Learning-Causal-Inference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning-Causal-Inference

This repository consists the journey of learning a new topic Causal Inference. Some of the major topics discussed and implemented in this repo are as follows:

  • Statistics Fundamentals : Has basic concepts of statistics useful in Causal Machine Learning.

  • Counterfactuals and their Meaning: Contains how counterfactuals can be computed via linear regression, and compares them with the ones estimated using libraries.

  • Backdoor Criterion for Effect Estimation : This notebook dives into the meaning of backdoor criterion, examples of confounders, values computed via linear regression controlling confounders(that backdoor criterion does), and compares its values with that from using library.

  • Average Treatment Effect Basics : This implements ATE from scratch with linear regression, and compares with that from dowhy library.

  • Treatment Effect Estimation : This notebook implements treatment effect on a synthetic data, and explores the findings from their values. This explores difference between ATE and CATE, and why CATE is essential despite ATE is computed.

    • Use of synthetic data with treatment, outcome, and covariates
    • A causal variable that affects the outcome
    • Modeling of ATE Estimation with dowhy causal model
    • CATE for subgroups, divided from the population
    • Change of ATE and CATE, as effect of a treatment variable changes.
  • Matching and Propensity Scores : Implementation of matching, understanding its importance in understanding causal effects and how it minitages effects of confounders.

  • Marginal Structural Models: Implementation of inverse probability weighting to balance the control and treatment variables, without need to ignore or waste available data.

About

This repository consists the journey of learning a new topic Causal Inference.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors