What is deviance in the context of likelihood-based inference, and how is it used?

Quick Overview

Asks what deviance measures in likelihood-based models such as GLMs and how it is used. Tests the saturated-model definition, nested model comparison through the likelihood ratio test, deviance residuals, overdispersion checks, and when the deviance fit test breaks down.

What is deviance in the context of likelihood-based inference, and how is it used?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is deviance in the context of likelihood-based inference, and how is it used? ```hint Generalize a familiar fit measure Least squares judges fit by the residual sum of squares. Ask what could play that role for a model fit by maximum likelihood, where the outcome may be a count or a 0/1 label. ``` ```hint Check a familiar case Work out what deviance reduces to for a Gaussian linear model, and what the dispersion parameter does to it. ``` ### What a Strong Answer Covers - The definition in terms of the saturated and fitted log-likelihoods, and what the saturated model is - How deviance reduces to familiar quantities for common families - Its use in comparing nested models through the likelihood ratio test, including the role of the dispersion parameter - Other uses such as null versus residual deviance, deviance residuals and overdispersion checks - When the absolute deviance is not a valid goodness-of-fit test ### Follow-up Questions - Why is the residual deviance of a logistic regression on ungrouped 0/1 data not a useful goodness-of-fit test? - A Poisson model has residual deviance 480 on 200 degrees of freedom. What do you conclude, and what would you try next? - How are deviance and AIC related, and when would you use AIC instead of a deviance test? - How do you compare nested models when the dispersion parameter has to be estimated?

Overview: Asks what deviance measures in likelihood-based models such as GLMs and how it is used. Tests the saturated-model definition, nested model comparison through the likelihood ratio test, deviance residuals, overdispersion checks, and when the deviance fit test breaks down.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is deviance in the context of likelihood-based inference, and how is it used?

What a Strong Answer Covers Guidance

  • The definition in terms of the saturated and fitted log-likelihoods, and what the saturated model is
  • How deviance reduces to familiar quantities for common families
  • Its use in comparing nested models through the likelihood ratio test, including the role of the dispersion parameter
  • Other uses such as null versus residual deviance, deviance residuals and overdispersion checks
  • When the absolute deviance is not a valid goodness-of-fit test

Follow-up Questions Guidance

  • Why is the residual deviance of a logistic regression on ungrouped 0/1 data not a useful goodness-of-fit test?
  • A Poisson model has residual deviance 480 on 200 degrees of freedom. What do you conclude, and what would you try next?
  • How are deviance and AIC related, and when would you use AIC instead of a deviance test?
  • How do you compare nested models when the dispersion parameter has to be estimated?