A Python package for causal inference methods including ATE estimation, propensity score methods, and meta-learners
Project description
causal-toolkit-qingwei
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file causal_toolkit_qingwei-0.1.3.tar.gz.
File metadata
- Download URL: causal_toolkit_qingwei-0.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba09ac6bf0a594d8557f7a5a0a60873cf440832bea8faf89688c33419a54aeef
|
|
| MD5 |
7062b22c3feba0b9b53f0c3a4b51b838
|
|
| BLAKE2b-256 |
0fa72b16af33732cc1657c944e84103323ce6b60eb7703dd8650bcd281a30164
|
File details
Details for the file causal_toolkit_qingwei-0.1.3-py3-none-any.whl.
File metadata
- Download URL: causal_toolkit_qingwei-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf6298652f059f82b3586fe3b850fd56d2474128d545ce95945da46e5c100a99
|
|
| MD5 |
8a3e7fbe751c25c21f83edc3118767f1
|
|
| BLAKE2b-256 |
048f25d04a5bf4f258be03b89cb0f90359871fac0bcf5377e01cf6e4e30b4878
|