py-why / py-why/EconML

The question of the observed outcome input for DynamicDML

Open
#654 1 comment 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,

I have a question related to the input of DynamicDML estimation. The comment suggests the input outcome is one-dimensional array with its length = n_groups * n_periods. n_periods means the length of time series of each entity.
image

However, when I read the Algorithm 1 (which uses Neyman orthogonal g-estimation) in this reference paper [Lewis2021], the data input only uses the final observed outcome Ym. That is, Y = Ym for each sample. Actually all algorithms in this paper just assume single final outcome Ym (not the whole time series for each entity) as the data input.

I am confused why/how to specify a continuous time-step outcome Yi (i=1, ..., m) for the DynamicDML() input. Moreover, which specific algorithm is implemented in the class DynamicDML?

Thanks,

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

Review the DynamicDML input comment and Algorithm 1 in the Lewis2021 reference linked from the references page. Clarify whether the API expects the full outcome time series or only the final observed outcome, identify which algorithm DynamicDML implements, and update the relevant documentation so the expected input is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.