Skip to main content

nonlinear-causal is a Python module for nonlinear causal inference built on top of Two-stage methods.

Project description

Pypi Python MIT

🧬 nonlinear-causal

logo

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.

The proposed model is: model

  • : 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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page