Skip to content

logistf

Firth's Bias-Reduced Logistic Regression

v1.26.1 · Apr 16, 2025 · GPL

Description

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>.

Downloads

15.6K

Last 30 days

984th

58.4K

Last 90 days

185.2K

Last year

Trend: -48.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (19)

depends

Dependency Network

Dependencies Reverse dependencies mice mgcv formula.tools Matrix mDAG AUtests BiVariAn Surrogate emcAdr iPRSue multisite.accuracy pogit EHR WeightIt clarify ggeffects insight jointest marginaleffects +4 more reverse deps logistf

Version History

new 1.26.1 Mar 10, 2026
updated 1.26.1 ← 1.26.0 diff Apr 15, 2025
updated 1.26.0 ← 1.25.0 diff Aug 17, 2023
updated 1.25.0 ← 1.24.1 diff May 2, 2023
updated 1.24.1 ← 1.24 diff Jan 17, 2022
updated 1.24 ← 1.23.1 diff Sep 15, 2020
updated 1.23.1 ← 1.23 diff Sep 3, 2020
updated 1.23 ← 1.22 diff Jul 18, 2018
updated 1.22 ← 1.21 diff Dec 18, 2016
updated 1.21 ← 1.20 diff Jun 25, 2013
updated 1.20 ← 1.10 diff May 15, 2013
updated 1.10 ← 1.06 diff Apr 24, 2010
updated 1.06 ← 1.05 diff Apr 19, 2006
updated 1.05 ← 1.03 diff Nov 16, 2005
updated 1.03 ← 1.01 diff Apr 4, 2005
updated 1.01 ← 1.00 diff Apr 21, 2004
new 1.00 Oct 22, 2003