Welcome to PyTMLE’s documentation!

PyTMLE is a flexible Python implementation of the Targeted Maximum Likelihood Estimation (TMLE) framework for survival and competing risks outcomes. It is designed to be easy to use with default models for initial estimates of nuisance functions which are applied in a super learner framework. However, it also allows for custom models to be used for the initial estimates or even passing initial estimates directly to the second TMLE stage.

Installation from PyPI using pip
pip install pytmle