y0-causal-inference / y0

❓y0 (pronounced "why not?") is for causal inference in Python
https://y0.readthedocs.io
BSD 3-Clause "New" or "Revised" License
44 stars 10 forks source link

Add average causal effect workflow #186

Closed cthoyt closed 1 year ago

cthoyt commented 1 year ago

This is currently a smarter wrapper around ananke that automatically picks the right estimator. Next steps is to provide own implementations that are capable of extending ananke functionality, such as allowing multiple treatments/outcomes.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 32.20% and project coverage change: -0.90% :warning:

Comparison is base (8765289) 75.86% compared to head (009a39c) 74.96%.

:exclamation: Current head 009a39c differs from pull request most recent head 1e3cbf1. Consider uploading reports for the commit 1e3cbf1 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #186 +/- ## ========================================== - Coverage 75.86% 74.96% -0.90% ========================================== Files 45 46 +1 Lines 2697 2756 +59 Branches 600 615 +15 ========================================== + Hits 2046 2066 +20 - Misses 560 599 +39 Partials 91 91 ``` | [Files Changed](https://app.codecov.io/gh/y0-causal-inference/y0/pull/186?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=y0-causal-inference) | Coverage Δ | | |---|---|---| | [src/y0/algorithm/estimation/\_\_init\_\_.py](https://app.codecov.io/gh/y0-causal-inference/y0/pull/186?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=y0-causal-inference#diff-c3JjL3kwL2FsZ29yaXRobS9lc3RpbWF0aW9uL19faW5pdF9fLnB5) | `0.00% <0.00%> (ø)` | | | [src/y0/graph.py](https://app.codecov.io/gh/y0-causal-inference/y0/pull/186?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=y0-causal-inference#diff-c3JjL3kwL2dyYXBoLnB5) | `76.02% <95.00%> (+1.48%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.