py-why / py-why/EconML

Reduce residual confounding in time series

Open
#886 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

Hi @kbattocchi ,

This paper presents a method to partially correct for residual confounding in time series, including in the model a negative control exposure (the value of the exposure the day after the outcome event (Xt+1). This is the DAG used in the paper:
dag
The authors say "Our main result has been that the effect estimator from the “extended” model (with the negative control exposure) tends to be less biased than that from the “final” model (without the negative control). That is, adding a negative control exposure to the model is expected to reduce residual confounding, given our assumptions".
My question is: How should I enter the negative control exposure Xt+1, for estimating the effect in econml? i.e.:

Y=Yt, T=Xt, X="other covariate"
and
W=[Ct, Xt+1]??? (Xt+1 is not a confounder)

Or is there another correct form to introduce the negative control exposure Xt+1?

I appreciate your cooperation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified. Start by reviewing the linked paper alongside EconML's estimator documentation and determine whether negative-control exposures are supported; done would be a documented, agreed-upon integration path or a separately scoped implementation issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
machine-learning, python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.