Editing
Causal Inference in AI
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Analyzing</span> == {| class="wikitable" |+ Causal Inference Methods Comparison ! Method !! Assumptions !! When to Use !! Python Library |- | Regression adjustment || No unmeasured confounding, correct functional form || Known confounders, sufficient data || statsmodels, DoWhy |- | Propensity score matching || No unmeasured confounding || Binary treatment, observational data || DoWhy, CausalML |- | Instrumental variables || Valid instrument exists || Hidden confounders, instrument available || DoWhy, linearmodels |- | Difference-in-differences || Parallel trends assumption || Panel data, natural experiment || CausalPy, statsmodels |- | Causal forest || No unmeasured confounding || Heterogeneous treatment effects || EconML, GRF (R) |- | Regression discontinuity || Local continuity at threshold || Sharp threshold in treatment assignment || RDD (R), DoWhy |} '''Key pitfalls and failure modes:''' * '''Conditioning on colliders''' β Incorrectly conditioning on a variable that is a common effect (not cause) of treatment and outcome opens spurious paths rather than blocking them. Using a DAG is essential to identify what to condition on. * '''Positivity violation''' β If some subgroups never receive (or always receive) treatment, causal effects for those subgroups cannot be estimated from data. Check overlap in propensity score distributions. * '''Model misspecification''' β Parametric methods (regression adjustment) assume a specific functional form. Use doubly-robust or non-parametric methods (causal forests) to reduce this risk. * '''Weak instruments''' β IV estimation with a weak instrument (low correlation with treatment) produces large, unreliable estimates. Test for instrument strength (F-statistic > 10 rule of thumb). * '''Extrapolation beyond support''' β Causal effect estimates are only reliable within the range of the observed data. Be cautious about extrapolating to new populations or intervention levels. </div> <div style="background-color: #483D8B; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information