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.2.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.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: causal_toolkit_qingwei-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f20ac47c8077952f4593aa987e55f6d41304f705f486427dc00c52dc00f4db9e
MD5 0848d385d1b8128313ea7a2aeaa8ac5c
BLAKE2b-256 ea677b9f2df54a73396e9dc455e56d66bf09b84a52a9811c000980bac718bf2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for causal_toolkit_qingwei-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a8bb6c39aff1b090df7a45a1652707bb1d27009ffd5674d89f7aa3e7ced6def
MD5 1ee77630508e605b390befa4054084e9
BLAKE2b-256 eb6db7cdb520b39813354734b4e5337e17e47690d797fe4d721c8dad991686d3

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