What is Firth's penalized likelihood, and when would you use it for a logistic regression?

Quick Overview

Explain Firth's penalized likelihood for logistic regression and the situations where it should replace ordinary maximum likelihood. Tests understanding of separation, small-sample and rare-event bias, the Jeffreys prior penalty, valid confidence intervals and how the method compares with ridge.

What is Firth's penalized likelihood, and when would you use it for a logistic regression?

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Other

What is Firth's penalized likelihood, and when would you use it for a logistic regression? ```hint Start from what breaks Think about what happens to the maximum likelihood estimate when one predictor perfectly splits the two classes. ``` ```hint Look at the penalty Ask which quantity of the model the penalty is built from, and how that quantity behaves as fitted probabilities approach 0 or 1. ``` ### What a Strong Answer Covers - The failures of ordinary maximum likelihood it addresses: separation and small-sample bias - The form of the penalty and what it does to the estimates - Situations where it is the right choice, and how to recognize them in fitted output - How inference changes after a Firth fit - How it compares with ridge or other priors, including its effect on predicted probabilities for rare events ### Follow-up Questions - In a 2x2 table with a zero cell, what does Firth's method give for the log odds ratio? - Why are Wald confidence intervals a poor choice after a Firth fit? - A Firth model on data with a 1% event rate predicts an average probability of 1.4%. Why, and how would you correct it? - When would you prefer ridge or a weakly informative prior over Firth's method?

Overview: Explain Firth's penalized likelihood for logistic regression and the situations where it should replace ordinary maximum likelihood. Tests understanding of separation, small-sample and rare-event bias, the Jeffreys prior penalty, valid confidence intervals and how the method compares with ridge.

Nov 25, 2026
hardData ScientistOtherMachine Learning
0
0

What is Firth's penalized likelihood, and when would you use it for a logistic regression?

What a Strong Answer Covers Guidance

  • The failures of ordinary maximum likelihood it addresses: separation and small-sample bias
  • The form of the penalty and what it does to the estimates
  • Situations where it is the right choice, and how to recognize them in fitted output
  • How inference changes after a Firth fit
  • How it compares with ridge or other priors, including its effect on predicted probabilities for rare events

Follow-up Questions Guidance

  • In a 2x2 table with a zero cell, what does Firth's method give for the log odds ratio?
  • Why are Wald confidence intervals a poor choice after a Firth fit?
  • A Firth model on data with a 1% event rate predicts an average probability of 1.4%. Why, and how would you correct it?
  • When would you prefer ridge or a weakly informative prior over Firth's method?