A Python package for causal inference methods including ATE estimation, propensity score methods, and meta-learners
Project description
causal-toolkit-josh
A Python package for causal inference methods.
Installation
git clone https://github.com/joshcarbajal/causal_toolkit_josh
cd causal-toolkit-josh
uv pip install -e .
Usage
from causal_toolkit_josh import calculate_ate_ci, ipw, doubly_robust
from causal_toolkit_josh import s_learner_discrete, t_learner_discrete
Methods
- rct.py —
calculate_ate_ci(),calculate_ate_pvalue() - propensity.py —
ipw(),doubly_robust() - meta_learners.py —
s_learner_discrete(),t_learner_discrete(),x_learner_discrete(),double_ml_cate()
Project details
Release history Release notifications | RSS feed
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_josh-0.1.1.tar.gz.
File metadata
- Download URL: causal_toolkit_josh-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a3228cdfa691ec754b47721c65d59339abce56295673bb60cf096bfad38496
|
|
| MD5 |
78fb6e95dff8a4ee2a6a2b6020e67597
|
|
| BLAKE2b-256 |
b55a7e2a082867abc2fcd979c35636f55ecef28c6bbea89410271ccec002495f
|
File details
Details for the file causal_toolkit_josh-0.1.1-py3-none-any.whl.
File metadata
- Download URL: causal_toolkit_josh-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
c9520ecc6b6d775ef2f7edd37aba3896764df560d837d3894d9147febfca6e8f
|
|
| MD5 |
4d5eb1ab31cc21ba9c1b15a215b993c6
|
|
| BLAKE2b-256 |
353938b7c87fdad5a9346623428369ad88e27f57f089383cf2b663af3fb3a678
|