Giter Club home page Giter Club logo

Comments (1)

vsyrgkanis avatar vsyrgkanis commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.