How can I calculate the treatment effect function in a double machine learning model?
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.8k
- Forks
- 827
- PR merge metrics
- No merged PRs in 30d
Description
On this website, the fourth line of code is:
# Treatment effect function
def exp_te(x):
return np.exp(2*x[0])
How can I obtain such an equation from real data? Or how can I calculate the 'True effect'?
Looking forward to your reply.
Thank you/
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
Start with notebooks/Double Machine Learning Examples.ipynb and inspect the fourth code line defining exp_te and where it is used. Determine what explanation the example provides about simulated treatment effects versus effects estimated from real data; done means documenting an accurate answer to the question.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100