CMD + K

r-logistf

Community

Fit a logistic regression model using Firth's bias reduction method, equivalent to penalization of the log-likelihood by the Jeffreys prior. Confidence intervals for regression coefficients can be computed by penalized profile likelihood. Firth's method was proposed as ideal solution to the problem of separation in logistic regression, see Heinze and Schemper (2002) <doi:10.1002/sim.1047>. If needed, the bias reduction can be turned off such that ordinary maximum likelihood logistic regression is obtained. Two new modifications of Firth's method, FLIC and FLAC, lead to unbiased predictions and are now available in the package as well, see Puhr et al (2017) <doi:10.1002/sim.7273>.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-logistf

Usage Tracking

1.26.1
1.26.0
1.25.0
1.24.1
1.24
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Fit a logistic regression model using Firth's bias reduction method, equivalent to penalization of the log-likelihood by the Jeffreys prior. Confidence intervals for regression coefficients can be computed by penalized profile likelihood. Firth's method was proposed as ideal solution to the problem of separation in logistic regression, see Heinze and Schemper (2002) <doi:10.1002/sim.1047>. If needed, the bias reduction can be turned off such that ordinary maximum likelihood logistic regression is obtained. Two new modifications of Firth's method, FLIC and FLAC, lead to unbiased predictions and are now available in the package as well, see Puhr et al (2017) <doi:10.1002/sim.7273>.

Last Updated

Apr 16, 2025 at 20:57

License

GPL-2.0-or-later

Total Downloads

124.7K

Supported Platforms

win-64
macOS-arm64
macOS-64
linux-aarch64
linux-ppc64le
linux-64