Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is a feature engineered from treatment T another treatment to consider for CATE? #857

Open
kalel1976x opened this issue Mar 4, 2024 · 0 comments

Comments

@kalel1976x
Copy link

Hi EconML Team,

First of all a big thanks for this great library !
So I'm trying to determine the price elasticity of each customer of a base in order to determine the level of discount to apply to boost the quantities sold. So in the end, what I really need is counterfactual predictions for different discount levels for each individual. Here my treatment T is the selling price and the target variable is the quantities sold Y. Given that we can't directly obtain counterfactual predictions with econML, I have an xgboost model which predicts the quantities sold as a function of the price and other customer characteristics and the CausalForestDML which gives me the individual CATE. The CATE then allows me to determine the counterfactual predictions.

My problem is that in the xgboost model I use a feature derived from the treatment T, the difference between the internal sales price T and the average price of the competition, which is a very important feature in the model. So when the price T moves this engenniered feature also moves. Should I consider this feature as an additional treatment and therefore calculate the CATE for 2 treatments, the selling price T1 and the difference between the internal price and the competition price T2?
Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant