Skip to content

Releases: jzluo/firthlogist

v0.5.0

07 Aug 07:16
6712cb3
Compare
Choose a tag to compare

Release Notes

Added

  • test_vars option to specify the variable(s) for which to calculate PL confidence intervals and p-values.

Fixed

  • Fixed bug where .summary(xname) would append "Intercept" to xname such that repeated calls would break.

v0.4.0

02 Aug 02:47
f27c2d0
Compare
Choose a tag to compare

v0.4.0 adds the Wald option and a few other changes.

Added

  • Option to use Wald method for computing p-values and confidence intervals instead of LRT and profile likelihood. Set wald=True to use (#11).
  • Tests for load_sex2() and load_endometrial() (#9).
  • Test for profile likelihood confidence intervals (#9).

Changed

  • skip_lrt option is now skip_pvals (#11).

Fixed

  • .summary() no longer breaks if skipping confidence interval or p-value calculation (#11).

Removed

  • Diabetes and sex2 csv files removed from testing dir (#9).

v0.3.1

29 Jul 22:15
6db5784
Compare
Choose a tag to compare

Release Notes

  • Added the endometrial cancer dataset analyzed in Heinze and Schemper, 2002. Load using load_endometrial()
  • Disabled step-halving by default to follow logistf, which disabled it in version 1.24.1 for some reason.

v0.3.0

28 Jul 18:45
Compare
Choose a tag to compare

Release Notes

v0.3.0 adds a couple of convenience features.

New Features

  • Added .summary() method to print summary of results (#6). See the readme for a usage example.
  • Added the sex2 dataset from logistf as load_sex2() (#7)

v0.2.0

27 Jul 20:40
92e23e1
Compare
Choose a tag to compare

v0.2.0 Release Notes

v0.2.0 is the MVP release implemented in Numpy and Scipy.

New Features

  • Penalized likelihood ratio tests to compute p-values (#2)
  • Calculate confidence intervals using profile penalized likelihood (#5)
  • skip_ci parameter to skip calculation of confidence intervals.
  • alpha parameter to specify confidence interval.
  • pl_max_iter, pl_max_halfstep, pl_max_stepsize parameters for controlling profile penalized likelihood procedure.

Changed

  • Predictions calculated during fitting procedure are now clipped to the range [1e-15, 1-1e-15] instead of [0, 1].