Zepid

Latest version: v0.9.1

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.3.1

**MINOR CHANGES**:

TMLE now allows user-specified prediction models (like machine learning models). This is done by setting the option
argument `custom_model` to a fitted model with the `predict()` function. For a full tutorial (with SuPyLearner), see
the website.

Updated API for printing model results to the console. All branches have been updated to
use print_results now. (Thanks Cameron Davidson-Pilon)

Semi-Bayesian function now calculates a check on the compatibility between the prior and data. It generates a warning
if a small p-value is detected (p < 0.05). The full information on this check can be read in *Modern Epidemiology* 3rd
edition pg340.

0.3.0

Addition of Targeted Maximum Likelihood Estimation (TMLE). No current timeline developed

Addition of IPW for Interference settings. No current timeline but hopefully before 2018 ends

Further conforming to PEP guidelines (my bad)

0.2.1

TimeVaryGFormula speed-up: some background optimization to speed up TimeVaryGFormula. Changes include: pd.concat()
rather than pd.append() each loop . Shuffled around some statements to execute only once rather than multiple times. In
some testing, I went from 22 seconds to run to 3.4 seconds

0.2.0

**BIG CHANGES**:

IPW all moved to zepid.causal.ipw. zepid.ipw is no longer supported

IPTW, IPCW, IPMW are now their own classes rather than functions. This was done since diagnostics are easier for IPTW
and the user can access items directly from the models this way.

Addition of TimeVaryGFormula to fit the g-formula for time-varying exposures/confounders

effect_measure_plot() is now EffectMeasurePlot() to conform to PEP

ROC_curve() is now roc(). Also 'probability' was changed to 'threshold', since it now allows any continuous variable for
threshold determinations

**MINOR CHANGES**:

Added sensitivity analysis as proposed by Fox et al. 2005 (MonteCarloRR)

Updated Sensitivity and Specificity functionality. Added Diagnostics, which calculates
both sensitivity and specificity.

Updated dynamic risk plots to avoid merging warning. Input timeline is converted to a integer (x100000), merged, then
back converted

Updated spline to use np.where rather than list comprehension

Summary data calculators are now within zepid.calc.utils

**FUTURE CHANGES**:

All pandas effect/association measure calculations will be migrating from functions to classes in a future version.
This will better meet PEP syntax guidelines and allow users to extract elements/print results. Still deciding on the
setup for this... No changes are coming to summary measure calculators (aside from possibly name changes). Intended as

0.1.6

Removed histogram option from IPTW in favor of kernel density. Since histograms are easy to generate with matplotlib,
just dropped the entire option.

Created causal branch. IPW functions moved inside this branch

Added depreciation warning to the IPW branch, since this will be removed in 0.2 in favor of the causal branch for
organization of future implemented methods

Added time-fixed g-formula

Added simple double-robust estimator (based on Funk et al 2011)

0.1.5

Fix to 0.1.4 and since PyPI does not allow reuse of library versions, I had to create new one. Fixes issue with
ipcw_prep() that was a pandas error (tried to drop NoneType from columns)

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.