Python implementation of Logistic Regression with Firth's bias reduction
Project description
firthlogist
A Python implementation of Logistic Regression with Firth's bias reduction.
WIP!
Installation
pip install firthlogist
Usage
firthlogist follows the sklearn API.
from firthlogist import FirthLogisticRegression
firth = FirthLogisticRegression()
firth.fit(X, y)
coefs = firth.coef_
References
Firth, D (1993). Bias reduction of maximum likelihood estimates. Biometrika 80, 27–38.
Heinze G, Schemper M (2002). A solution to the problem of separation in logistic regression. Statistics in Medicine 21: 2409-2419.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
firthlogist-0.0.3.tar.gz
(15.2 kB
view hashes)
Built Distribution
Close
Hashes for firthlogist-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5fdccea9acd7c8a9e07db882d49ffffed7033e13f6d8eedfa2b14341f4b1723 |
|
MD5 | f1bbf9d9a7ac4729c0b6bf17fe3ba63a |
|
BLAKE2b-256 | 75780beaae79d824fbd2ddf18ee0493156d03c8d50f837a33c698062e215231d |