Skip to content

NSAPH-Software/nsaphx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

df7f693 · Mar 31, 2023

History

40 Commits
Mar 28, 2023
Mar 31, 2023
Mar 31, 2023
Mar 30, 2023
Mar 30, 2023
Mar 24, 2023
Mar 28, 2023
Mar 28, 2023
Mar 22, 2023
Mar 22, 2023
Mar 31, 2023
Mar 31, 2023
Mar 31, 2023
Mar 31, 2023

Repository files navigation

Logo

codecov

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 .