Skip to main content

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

Project description

causal-toolkit-qingwei

Tests

PyPI version

A Python package for causal inference methods including:

  • ATE estimation
  • IPW (Inverse Probability Weighting)
  • Doubly Robust Estimation
  • S-Learner
  • T-Learner
  • X-Learner
  • Double Machine Learning

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.5.tar.gz (6.1 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.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for causal_toolkit_qingwei-0.1.5.tar.gz
Algorithm Hash digest
SHA256 84624a95a7894984d23070a4907753418d86951b6bb1c5cfa31ceea9c9095c1c
MD5 d938f3bc1ff864ba904e006f019fbba3
BLAKE2b-256 fe7fd28060119e6f1d5309e835c1c6237b26dcfd222a3deed44dab4347cf4835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for causal_toolkit_qingwei-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 81778304b1720ea29b65f2acaa56fd252c30399d21c1a0f5b34296d6c19d9980
MD5 3bdf322bb40e09dc83c59992d05bc3b0
BLAKE2b-256 013b2604b3eaf8fe9f317e451b1891ab06dc5fe1c6f01acee2cb902d358f2786

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