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

Example for multiple treatment needed! #51

Closed
tinytuna84hh opened this issue Sep 9, 2022 · 4 comments
Closed

Example for multiple treatment needed! #51

tinytuna84hh opened this issue Sep 9, 2022 · 4 comments

Comments

@tinytuna84hh
Copy link

Hello, the repo states that multiple treatments (along with multiple outcomes) are enabled.

In my case I have 3 treatments which are continuous such as Price, discount, and quality. I want to see how different combinations of treatments impact demand.

Can someone please post an example in python?

@samcarlos
Copy link
Contributor

Hey @tinytuna84hh,

Please take a look here or in the examples here. The treatment input t can be multivariate.

If you post some example data I can walk you through it.

Thanks,
Sam

@tinytuna84hh
Copy link
Author

Hi Sam, thank you for the message. I will take a look.

On another note, do you have the capability to integrate something into the model which provides a monotone decrease in the outcome variable as treatment values increase?

for example, increasing the price of a product may move revenue up to a threshold (if any) but then revenue will drop as no one will pay infinite amounts anymore. Let me know how I could get this baked Into your model suite.

@samcarlos
Copy link
Contributor

Hey @tinytuna84hh,

I think something like revenue would need a non-monodic relationship. Something like demand could require that. But the mr_uplift package does not support that right now (not really sure how to do that for heterogeneous treatment effects). In practice the model is pretty good at retaining monotonic effects out of the box.

I suggest trying it out and posting some examples so I can understand what you're trying to do more clearly. If there are some discrepancies I'd be happy to discuss ways to improve.

Thanks,
Sam

@samcarlos
Copy link
Contributor

Hey @tinytuna84hh,

Can I close this?

Thanks,
Sam

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

2 participants