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

Uploaded Python 3

File details

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

File metadata

  • Download URL: causal_toolkit_qingwei-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e023e6f901e6ce1e7a1065e45874176ce6cc71547fae3f13ec0ca7c9edac4f44
MD5 43fd0d1ee4cdd7079082831976e07be8
BLAKE2b-256 b82abf670deca86aa696b91682f5a27fc3e124ed184b2988753678392a9a99d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for causal_toolkit_qingwei-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b664b88d1844a6c9b4cdcd378e7a88b3e5871e870336a1c9176de92c87a8d748
MD5 6da28bf511dae2ddcb898ef1e113e55c
BLAKE2b-256 eb4785ca9b814ea3f2281e78a44ea334c79fc7b6be2dbdb0638eef2260d4ddb7

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