nsaphx is a Python package for causal inference studies using the potential outcome framework. It offers a flexible and extensible framework to apply computational instructions to input data, including exposure, outcome, and confounders. The package uses directed acyclic graphs and database storage for efficient computation and storage.
Project description
nsaphx is a Python package designed for causal inference studies under the potential outcome framework. It provides a flexible and extensible framework for defining and applying computational instructions to input data, which should include outcome, exposure, and confounders. The package uses a directed acyclic graph and database storage to ensure efficient computation and storage of each object. Instruction handlers can be easily extended by defining new classes and methods, which can then be used to create new instructions that can be applied to data. Each object is computed only once and stored in the database, ensuring that computation is efficient and data is not duplicated.
Installation
PyPI
pip install nsaphx
Source
Please note that the package requires Python 3.7 or higher.
git clone https://github.com/NSAPH-Software/nsaphx
cd nsaphx
pip install .
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
File details
Details for the file nsaphx-0.0.1.tar.gz
.
File metadata
- Download URL: nsaphx-0.0.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f202ad3f82db2bc77fb534c81b06bc6f1ed09f1c86cd52f56d69d82bbedf2b |
|
MD5 | 3c863926228b65806a548230e162953f |
|
BLAKE2b-256 | f5e2e29087dc60ac54ed3e59039d224d9ade2ba1cda51798b44f8930fdc2ede9 |