Skip to main content

This is a Python library for estimating distributional treatment effects

Project description

Overview

dte_adj is a Python package for estimating distribution treatment effects. It provides APIs for conducting regression adjustment to estimate precise distribution functions as well as convenient utils. For the details of this package, see the documentation.

Installation

  1. Install from PyPI

    pip install dte_adj
    
  2. Install from source

    git clone https://github.com/CyberAgentAILab/python-dte-adjustment
    cd python-dte-adjustment
    pip install -e .
    

Basic Usage

Examples of how to use this package are available in this Get-started Guide.

Theoretical Foundations

This package implements methods from the following research papers:

Simple Randomization

  • Byambadalai, U., Oka, T., & Yasui, S. (2024). Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction. In Proceedings of the 41st International Conference on Machine Learning (ICML'24). arXiv:2407.16037

Covariate-Adaptive Randomization

  • Byambadalai, U., Hirata, T., Oka, T., & Yasui, S. (2025). On Efficient Estimation of Distributional Treatment Effects under Covariate-Adaptive Randomization. In Proceedings of the 42nd International Conference on Machine Learning (ICML'25). arXiv:2506.05945

Multi-Task Learning

  • Hirata, T., Byambadalai, U., Oka, T., Yasui, S., & Uto, S. (2025). Efficient and Scalable Estimation of Distributional Treatment Effects with Multi-Task Neural Networks. arXiv:2507.07738

Imperfect Compliance

  • Byambadalai, U., Hirata, T., Oka, T., & Yasui, S. (2025). Beyond the Average: Distributional Causal Inference under Imperfect Compliance. arXiv:2509.15594

Citation

If you use this software in your research, please cite our work:

@inproceedings{byambadalai2024estimating,
  title={Estimating distributional treatment effects in randomized experiments: machine learning for variance reduction},
  author={Byambadalai, Undral and Oka, Tatsushi and Yasui, Shota},
  booktitle={Proceedings of the 41st International Conference on Machine Learning},
  articleno={199},
  numpages={32},
  year={2024},
  publisher={JMLR.org},
  series={ICML'24},
  location={Vienna, Austria}
}

For other citation formats, see our CITATION.cff file.

Development

We welcome contributions to the project! Please review our Contribution Guide for details on how to get started.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Maintainers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dte_adj-0.1.9.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dte_adj-0.1.9-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file dte_adj-0.1.9.tar.gz.

File metadata

  • Download URL: dte_adj-0.1.9.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dte_adj-0.1.9.tar.gz
Algorithm Hash digest
SHA256 bb45b2ce3b7bd8b8ba5ed70b23d8cc3b0ee0d70374138d0f4114e5a38eed8f57
MD5 ec31b7c7e67693784dd0cec8dbc15cc0
BLAKE2b-256 f8856b0ae3f4a6c734efd51f782138188fc5884ddbca569cb71b48b6d2170e50

See more details on using hashes here.

File details

Details for the file dte_adj-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: dte_adj-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dte_adj-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6ce2a9f2f685516e8ae286cfedc2e44f07e09012d56d37d5458aa382279fd09d
MD5 799f67e260e93b7e7e4909b3ebee0843
BLAKE2b-256 737bff68048fea50f862a290431eef2f5631b2b08f7cfbac350d7c45b2a24a45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page