Introduction
This library provides C++ classes for targeted inference and semi-parametric efficient estimators as well as bindings for python and R. The library also contains implementation of parametric models (including different discrete choice models) and model diagnostics tools.
Relevant models includes binary regression models with binary exposure and with nuisance models defined by additional covariates. Models for the relative risk and risk differences where examined by (Richardson et al 2017). Various missing data estimators and causal inference models (Bang & Robins 2005, Tsiatis 2006) also fits into this framework.
Documentation
The main documentation can be found here: https://targetlib.org/ (PDF version)
Examples
R
https://kkholst.github.io/targeted
Python
https://pypi.org/project/targeted/
C++
https://www.targetlib.org/cppapi/
Installation
This program may be compiled as a shared library or as stand-alone python and R libraries.
To compile and run the unit tests:
Syntax checks (requires cppcheck
and cclint
), code coverage, and check for memory leaks
R
The R package can be built and installed with
Python
The python package can be installed directly from PyPi (wheels available for Mac OS X and Linux):
or installed from source
Dependencies
The following dependencies are included as submodules:
- Armadillo http://arma.sourceforge.net/docs.html
- Catch2 (unit tests only) https://github.com/catchorg/Catch2/blob/master/docs/Readme.md#top
- pybind11++ (python bindings only) https://pybind11.readthedocs.io
- spdlog (logging) https://github.com/gabime/spdlog