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

CRAN

13.8K

Last 30 days

1025th

50.3K

Last 90 days

198.4K

Last year

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

r2u CRAN

186

Last 30 days

928

Last 90 days

4.8K

Last year

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

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘mice’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘mice’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (21)

depends

Dependency Network

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

Version History

17 tracked
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