-
Notifications
You must be signed in to change notification settings - Fork 946
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
[FEA] Support Generalized Adjustment Criterion for Estimation plus Add Example Notebook #1297
[FEA] Support Generalized Adjustment Criterion for Estimation plus Add Example Notebook #1297
Conversation
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
This will need to be rebased once #1292 merges |
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
5e10aff
to
710b045
Compare
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
@amit-sharma - this is a follow on to #1292 to add support for general adjustment for estimation. It is ready for review |
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Tagging in @bloebp as another possible reviewer! Also - it seems like I don't have permission to actually request a reviewer in the top right |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the reminder, @nparent1 Was travelling and could not get to this sooner.
The notebook example is very clear and well-written. Thanks for adding.
To clarify, even if we miss changing get_backdoor_variables
to get_adjustment_set
in some places, the code should still work if it was assuming backdoor, right?
I'm just trying to understand how wide these changes would apply and if there is a risk of breaking existing functionality.
Currently there is an instrumental variable estimator test failing---can you take a look at that in the build_docs run? Adding other comments inline
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
3a4f819
to
ff6c08a
Compare
Signed-off-by: Nicholas Parente <parentenickj@gmail.com>
Thanks for the review @amit-sharma, regarding your questions
Correct - anywhere get_backdoor_variables() is being called should still work exactly as before, since we are still storing the backdoor variables exactly as before on the identified estimand. This PR allows users to set the identifier method to use the general adjustment criterion instead, but unless they do so everything should behave exactly as before
Thanks for calling out - that should be working now. Fixed in commit ff6c08a That said - there is still a build failing but it looks like potentially a fluke? It says "ModuleNotFoundError: No module named 'torch._dynamo'", an error I've seen in past PRs (like #1292) I think this is ready for review again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these changes, @nparent1 Looks good to me.
Adds support for the generalized adjustment estimands at the estimation stage. The PR primarily does two things:
An example notebook is also added, dowhy_generalized_covariate_adjustment_estimation_example.ipynb
This is a follow-on PR to #1292
Issue Ref: #402