Releases: pzivich/zEpid
v0.4.3
v0.4.1
v0.4.0
v0.3.2
MAJOR CHANGES:
TMLE
now allows estimation of risk ratios and odds ratios. Estimation procedure is based on tmle.R
TMLE
variance formula has been modified to match tmle.R
rather than other resources. This is beneficial for future
implementation of missing data adjustment. Also would allow for mediation analysis with TMLE (not a priority for me at
this time).
TMLE
now includes an option to place bounds on predicted probabilities using the bound
option. Default is to use
all predicted probabilities. Either symmetrical or asymmetrical truncation can be specified.
TimeFixedGFormula
now allows weighted data as an input. For example, IPMW can be integrated into the time-fixed
g-formula estimation. Estimation for weighted data uses statsmodels GEE. As a result of the difference between GLM
and GEE, the check of the number of dropped data was removed.
TimeVaryGFormula
now allows weighted data as an input. For example, Sampling weights can be integrated into the
time-fixed g-formula estimation. Estimation for weighted data uses statsmodels GEE.
MINOR CHANGES:
Added Sciatica Trial data set. Mertens, BJA, Jacobs, WCH, Brand, R, and Peul, WC. Assessment of patient-specific
surgery effect based on weighted estimation and propensity scoring in the re-analysis of the Sciatica Trial. PLOS
One 2014. Future plan is to replicate this analysis if possible.
Added data from Freireich EJ et al., "The Effect of 6-Mercaptopurine on the Duration of Steriod-induced
Remissions in Acute Leukemia: A Model for Evaluation of Other Potentially Useful Therapy" Blood 1963
TMLE
now allows general sklearn algorithms. Fixed issue where predict_proba()
is used to generate probabilities
within sklearn
rather than predict
. Looking at this, I am probably going to clean up the logic behind this and
the rest of custom_model
functionality in the future
AIPW
object now contains risk_difference
and risk_ratio
to match RiskRatio
and RiskDifference
classes
v0.3.1
v0.3.0
v0.2.1
v0.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
part of v0.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)