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

Add handlers for masking indexed random variables #97

Merged
merged 35 commits into from
Mar 16, 2023

Conversation

eb8680
Copy link
Contributor

@eb8680 eb8680 commented Feb 18, 2023

Addresses #80, #12.

Part of a series of PRs extracted from #92. Builds on #96.

This PR adds a cleaner, more general implementation of the functionality for assigning a different default meaning to observation in the presence of counterfactuals that was temporarily removed in #96.

Remaining tasks:

Tested:

  • Exercised by existing tests in test_mediation.py, e.g. test_mediation.py::test_mediation_nde_smoke

@eb8680 eb8680 added refactor status:WIP Work-in-progress not yet ready for review blocked labels Feb 18, 2023
@eb8680 eb8680 added this to the Initial public release milestone Feb 18, 2023
@eb8680 eb8680 force-pushed the eb-indexset-multiworld branch from b37fb99 to 5f2a25d Compare March 1, 2023 17:16
@eb8680 eb8680 force-pushed the eb-indexset-selection branch from 15337f8 to 0ada4ec Compare March 1, 2023 17:32
@eb8680 eb8680 mentioned this pull request Mar 2, 2023
9 tasks
@eb8680 eb8680 force-pushed the eb-indexset-multiworld branch from 5f2a25d to 82b0b6a Compare March 8, 2023 16:09
@eb8680 eb8680 force-pushed the eb-indexset-selection branch 2 times, most recently from d157b2a to 8d3ec11 Compare March 8, 2023 20:53
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@eb8680 eb8680 changed the base branch from eb-indexset-multiworld to master March 8, 2023 20:53
@eb8680 eb8680 removed the blocked label Mar 8, 2023
@eb8680 eb8680 added status:awaiting review Awaiting response from reviewer and removed status:WIP Work-in-progress not yet ready for review labels Mar 13, 2023
@eb8680 eb8680 force-pushed the eb-indexset-selection branch from 5537f46 to c4e84dd Compare March 13, 2023 19:49
@eb8680 eb8680 requested a review from SamWitty March 13, 2023 19:51
eb8680 and others added 3 commits March 16, 2023 17:54
* Add transform conditioning

* incorporate changes

* format

* test file

* docs

* test passes

* fix bug

* refactor

* move default strategy into handlers
@cscherrer cscherrer merged commit b92b0b0 into master Mar 16, 2023
@cscherrer cscherrer deleted the eb-indexset-selection branch March 17, 2023 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor status:awaiting review Awaiting response from reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants