Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement causal impact estimation #38

Open
davidpomerenke opened this issue Mar 20, 2024 · 4 comments
Open

Implement causal impact estimation #38

davidpomerenke opened this issue Mar 20, 2024 · 4 comments

Comments

@davidpomerenke
Copy link
Collaborator

No description provided.

@davidpomerenke
Copy link
Collaborator Author

The most intuitive estimators are those that predict a counterfactual and compare with it. These are especially nice because they give us the impact of every single event.

  • Synthetic control. Deals with hidden confounding under some assumptions (geographic uniformity of the confounders). Has other unrealistic assumptions (causal impact does not transfer to other regions) that make it overly conservative in our case.
  • Interrupted time series. Does not deal with hidden confounding, thus tends to be overly optimistic about the impact of the events. This is a very simple concept

Generic causal inference estimators:

Meta-learners: These are more fancy. They can be used with any machine learning models, which is cool. Double Machine Learning seems most promising to me, but I still have to read more about it. See e.g. https://matheusfacure.github.io/python-causality-handbook/22-Debiased-Orthogonal-Machine-Learning.html or https://causalml-book.org/. And causal random forests might also be relevant.

I suggest focusing on the first two for the first versions of the project, synthetic control and interrupted time series.

@davidpomerenke
Copy link
Collaborator Author

davidpomerenke commented Apr 1, 2024

Alternative to CausalImpact: ConformalImpact.
See https://www.linkedin.com/posts/activity-7180155807836053504-EaYk

@davidpomerenke
Copy link
Collaborator Author

  • time-series
    • interrupted time series
    • synthetic control
  • generic
    • regression
    • inverse propensity weighting
    • doubly robust
  • fancy
    • double machine learning
    • causal random forests

@davidpomerenke
Copy link
Collaborator Author

Inverse propensity weighting has been added to CausalPy https://github.com/pymc-labs/CausalPy/releases/tag/0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant