Comments (1)
Its true. It was a software engineering technical reason and primarily because it required a lot more coding effort to implement intrrvals for these differences. Currently the linear drlearner fits separate ols models for each treatment (compared to baseline). So then you have CIs for each treatment compared to baseline.
but to get CIs for diffs between T2 and T1 you need to also calculate the covariance between the parameters that were estimated in the ols for T2 and the parameters that were estimated in the ols for T1. But these parameters live in different ols models and these ols models only calculate covariances for their own parameters.
To calculate the covariance between parameters that live in separate ols models, the structure of the code needs to change a lot.
There was also an alternative design that we had considered which however would require blowing up the dataset to be K times larger than the original dataset (where K is the number of treatments) and containing many zeros. This could have allowed you to estimate all parameters simultaneously in a single OLS for all treatments. To avoid this blow up in memory we didnt go with that design, as we thought there wouldn’t be that many uses.
if you really want intervals for T2-T1, then consider simply changing the baseline treatment to be T1 (e.g. by making T1 the lexicographically smallest treatment) when you fit the DRLearner and refit your model.
Then since T1 will be your baseline you will be able to get intervals for that difference.
from econml.
Related Issues (20)
- IV Models: CATE or LATE? HOT 1
- Background Variable for Causal Analysis Object HOT 2
- Scaling Othrolearners using Ray HOT 6
- 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
- Wrong ATE estimation result, expected positive ATE got negative ATE HOT 2
- 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
- Changing categories and refit_final HOT 1
- Parameter tuning for Policy Learning
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.