nonlinear-causal is a Python module for nonlinear causal inference built on top of Two-stage methods.
Project description
🧬 nonlinear-causal
nonlinear-causal is a Python module for nonlinear causal inference, including hypothesis testing and confidence interval for causal effect, built on top of two-stage methods.
- GitHub repo: https://github.com/nl-causal/nonlinear-causal
- PyPi: https://pypi.org/project/nl-causal
- Open Source: MIT license
The proposed model is:
: marginal causal effect from X -> Y;
: nonlinear causal link;
What We Can Do:
- Estimate
and
.
- Hypothesis testing (HT) and confidence interval (CI) for marginal causal effect $\beta$.
- Estimate nonlinear causal link
.
Installation
Dependencies
nonlinear-causal requires:
| Python>=3.8 | numpy | pandas | sklearn | scipy | sliced |
User installation
Install nonlinear-causal using pip
pip install nl_causal
pip install git+https://github.com/nl-causal/nonlinear-causal
Source code
You can check the latest sources with the command::
git clone https://github.com/nl-causal/nonlinear-causal
Examples and notebooks
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
nonlinear-causal-0.1.tar.gz
(3.8 kB
view details)
File details
Details for the file nonlinear-causal-0.1.tar.gz.
File metadata
- Download URL: nonlinear-causal-0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abfe70b6e9749cb3a9152ecb4c6c95698e1276ba8c465457d09f9bbbd5eae13c
|
|
| MD5 |
3ab0c198eb04d73590ef07914a3edb4e
|
|
| BLAKE2b-256 |
d19698ef8737a6626e9c0600b7c37c019f1be6479625c5556edeaf9281f9f835
|