Skip to main content

A Python package for causal inference methods including ATE estimation, propensity score methods, and meta-learners

Project description

Tests

causal_toolkit_qingwei

A Python package for causal inference methods, including:

  • ATE estimation
  • IPW
  • Doubly Robust Estimation
  • S-Learner
  • T-Learner
  • X-Learner
  • Double ML

Installation

git clone https://github.com/qingweizhang054/causal-toolkit-qingwei-package.git
cd causal-toolkit-qingwei-package

uv venv
.venv\Scripts\activate

uv pip install -e ".[dev]"

Run Tests

uv run pytest

Example Usage

from causal_toolkit_qingwei import (
    calculate_ate_ci,
    ipw,
    x_learner_discrete
)

Author

Qingwei Zhang
University of Chicago

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

causal_toolkit_qingwei-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

causal_toolkit_qingwei-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file causal_toolkit_qingwei-0.1.0.tar.gz.

File metadata

  • Download URL: causal_toolkit_qingwei-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for causal_toolkit_qingwei-0.1.0.tar.gz
Algorithm Hash digest
SHA256 372a7b92dc2e69b96c13b2a00c5caa180b0d7994412bf564f962aecc22f815dd
MD5 43bffdc6b7202e9d8166d503e7699353
BLAKE2b-256 4e55b578cbd0e4f41956f47904f436c8759b6e14a53a41f2583e5764d3d0359a

See more details on using hashes here.

File details

Details for the file causal_toolkit_qingwei-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for causal_toolkit_qingwei-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3993f1a7c2fd1426eeab85e2e4c46567fbb7267056100b7b1f6701399f4029
MD5 66ef133647a222d81f6dc7fe176da262
BLAKE2b-256 a44375d648d9205c9d5e704ddcc8d467bc2a72851eb3b845ada9d123ccf5738a

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