EconML
A Python toolkit that uses machine learning to estimate how much a change or action actually causes an outcome.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
A Python toolkit that uses machine learning to estimate how much a change or action actually causes an outcome.
EconML is a Python package for measuring cause and effect in data. It helps answer questions like: what effect did a treatment or intervention have on an outcome, and how does that effect differ between groups of people or things?
It combines machine learning with econometrics (statistical methods used in economics). Its makers say it works even with historical data that did not come from a planned experiment. Most of its methods also give confidence intervals, a range showing how certain the estimate is.
The package was built as part of the ALICE project at Microsoft Research. It offers many estimation methods, such as double machine learning and causal forests, through one shared API (a consistent way for programs to use it). It also includes tools for interpreting results, choosing between models and learning decision policies.
Data scientists, economists and researchers who write Python and want to measure the causal effect of an action or treatment from data.
Developers only. It is a Python library that you use by writing code. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?