Including the treatment variable as a moderator of the treatment effect
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.8k
- Forks
- 827
- PR merge metrics
- No merged PRs in 30d
Description
I want to estimate the price elasticity of demand (by using the ForestDML algorithm). In this purpose, I specify log(quantity) as the outcome variable and log(price) as the treatment variable.
I am interested in how the price elasticity varies with the price itself. Does it make sense to include the price in the set X of covariates? Do you have other suggestions for modeling the price elasticity as a function of price?
Many thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start with the ForestDML documentation and API entry point to determine whether price can also be used as a moderator; done means a clear, supported recommendation for modeling elasticity as a function of price.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100