py-why / py-why/EconML

Comparison of confidence intervals between CausalForestDML and the R grf package

Open
#479 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

I trained the same model, both with the econml CausalForestDML and the R grf causal_forest algorithms.
The average marginal effects obtained are comparable, around 0.12. The confidence intervals are however quite different: [0.064,0.166] with causal_forest, and [-0.360,0.621] with CausalForestDML.
Do you have an idea of why there is such a difference?
Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported confidence intervals with Python's CausalForestDML and the R grf causal_forest algorithm using the same model setup. Compare how each entry point computes confidence intervals while checking that the average marginal effects remain comparable. Done means explaining the discrepancy or identifying a reproducible implementation issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.