theislab / ehrapy

Electronic Health Record Analysis with Python.
https://ehrapy.readthedocs.io/
Apache License 2.0
239 stars 20 forks source link

Bias detection module #647

Closed Zethson closed 7 months ago

Zethson commented 10 months ago

Description of feature

Pre-requisite: https://github.com/theislab/ehrapy/issues/637

This serves as a meta issue to collect ideas for a bias detection and mitigation module:

eroell commented 7 months ago

Comment regarding balanced sampling from imbalanced-learn, I started off something small a while ago due to a discussion of how to sample things for scanpy: https://github.com/eroell/scimb

Anything like that could be helpful indeed.

Lilly-May commented 7 months ago

Regarding propensity score matching, we already have that implemented for causal inference with dowhy here. If we implement a causal discovery module (#619), implementing a propensity score matching algorithm would be important, but until then, I don't really see the need. However, please feel free to disagree! Should we close this issue then?

Zethson commented 7 months ago

Yup! Let's close

May 4, 2024 12:18:43 PM Lilly May @.***>:

Regarding propensity score matching, we already have that implemented for causal inference with dowhy here[https://github.com/theislab/ehrapy/blob/1b5165d925f87304948fffe9b76cc68669ee6ab2/ehrapy/tools/causal/_dowhy.py#L37]. If we implement a causal discovery module (#619[https://github.com/theislab/ehrapy/issues/619]), implementing a propensity score matching algorithm would be important, but until then, I don't really see the need. However, please feel free to disagree! Should we close this issue then?

— Reply to this email directly, view it on GitHub[https://github.com/theislab/ehrapy/issues/647#issuecomment-2094108522], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFHQA2DLHMCVC4RXT7X73RLZASYYDAVCNFSM6AAAAABCUZSVTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGEYDQNJSGI]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/AFHQA2AQRISA2GSRSJRFIFTZASYYDA5CNFSM6AAAAABCUZSVTWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT42GHWU.gif]