Comments (2)
It's hard to say based on the information you provided, but here are a few things to keep in mind:
- What do the confidence intervals look like? Depending on your data, it's possible that your estimate is just very imprecise (i.e. the confidence intervals are wide), such that the point estimate has the wrong sign but the "true" value is still within the confidence intevals.
- The quality of the estimate depends on the quality of the first stage models, particularly the treatment model. Have you chosen appropriate models given the structure of your data?
- DML models make several assumptions of the data that you have (e.g. that the treatment effect is linear in the treatment and that there are no unmeasured confounders). If these assumptions are not satisfied in your setting then you shouldn't expect to get accurate results.
If you have a concrete example you can share, then it might be possible to provide more specific guidance.
from econml.
Our goal is to find what make our outcome Y decrease, and Y should always be decreased given the treatment T. I am sorry that I cannot share the data, but the case is my data should be that if I give a treatment then my outcome will decrease. The Y and T are negative correlated. But the fact is that I also got some wrong data in which when T is increasing the Y decrease a bit. I used Gradient Boosting for first stage and second stage model and LinearDML, below is my code.
est1 = LinearDML(
model_y=GradientBoostingRegressor(),
model_t=GradientBoostingRegressor(),
cv=5)
I find one of my treatment t ATE is negetive, and -5.658953873151606e-05 and the CI is (-6.571635269071133e-05, -4.746272477232079e-05). I don't know if the data would make the estimate wrong and how can I explain this result if it is actually the data issue?
from econml.
Related Issues (20)
- Only one CATE value is recorded from EconML (when called from DoWhy) HOT 1
- W and X in documentation, what are the difference? HOT 2
- Calculate ATE when T is continuous in double machine learning HOT 4
- PEP 517 support HOT 3
- Policy using Treatment Classes with DynamicDML HOT 1
- CausalForestDML need X to successfully run HOT 2
- how can i save model? HOT 2
- Bug with SHAP library v.0.41 HOT 1
- NumbaDeprecationWarning via shap HOT 1
- Changing covariance logic in DRIV HOT 1
- Will DRPolicyForest control for confounder in Treatments that occured under different seasons? HOT 3
- do you have files with real data and code this data ? HOT 1
- SparseLinearDML and DML with Debaised Lasso output only NaNs
- Effect Interval for DR Methods Not Possible When T0 is non-zero HOT 1
- Changing categories and refit_final HOT 1
- Parameter tuning for Policy Learning
- Shap Bug HOT 4
- when use interpret function of SingleTreeCateInterpreter, some error occured
- Question: DMLIV vs. OrthoIV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from econml.