From 5b157cf90f05018c0b3ed4dde1c1f39200877065 Mon Sep 17 00:00:00 2001 From: pzivich Date: Wed, 26 Dec 2018 11:50:08 -0500 Subject: [PATCH] Clean-up for 0.4.0 release --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- zepid/calc/__init__.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6283b16..4cdc169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,12 @@ demonstrates how to calculated cumulative probabilities for multiple time points All calculator functions now return named tuples. The returned tuples can be index via ``returned[0]`` or ``returned.point_estimate`` +Documentation has been overhauled for all functions and at ReadTheDocs + Tests have been added for all currently available functions. +Travis CI has been integrated for continuous testing + **MINOR CHANGES**: ``AIPW`` drops missing data. Similar to ``TMLE`` @@ -29,6 +33,9 @@ used ``StandardDifference``. This change is to follow PEP guidelines The ``psi`` argument has been replaced with ``measure`` in ``TMLE``. The print out still refers to psi. This update is to help new users better understand what the argument is for +Better errors for ``IPTW`` and ``IPMW``, when a unstabilized weight is requested but a numerator for the model is +specified + #### v0.3.2 **MAJOR CHANGES**: diff --git a/setup.py b/setup.py index 223f91d..cc86de4 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup(name='zepid', version=__version__, description='Tool package for epidemiologic analyses', - keywords='epidemiology inverse probability weights risk ratio g-computation g-formula IPW AIPW TMLE', + keywords='epidemiology inverse-probability-weights risk-ratio g-computation g-formula IPW AIPW TMLE', packages=['zepid', 'zepid.calc', 'zepid.graphics', diff --git a/zepid/calc/__init__.py b/zepid/calc/__init__.py index 8b5fdf3..2a4dd37 100644 --- a/zepid/calc/__init__.py +++ b/zepid/calc/__init__.py @@ -1,4 +1,4 @@ from .utils import (risk_ci, incidence_rate_ci, risk_ratio, risk_difference, number_needed_to_treat, odds_ratio, incidence_rate_ratio, incidence_rate_difference, attributable_community_risk, population_attributable_fraction, probability_to_odds, odds_to_probability, counternull_pvalue, - semibayes, sensitivity, specificity, ppv_converter, npv_converter, screening_cost_analyzer) \ No newline at end of file + semibayes, sensitivity, specificity, ppv_converter, npv_converter, screening_cost_analyzer)