Giter Club home page Giter Club logo

Comments (2)

kbattocchi avatar kbattocchi commented on July 20, 2024

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.

xiaogangzhu avatar xiaogangzhu commented on July 20, 2024

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)

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.