Why is the i.i.d. likelihood a product, and how does it change when observations are not independent?

Quick Overview

Asks why the likelihood of an i.i.d. sample is a product of individual densities and how to write the likelihood when observations depend on each other. Tests understanding of joint densities, the chain rule of probability, and what happens to inference when dependence is ignored.

Why is the i.i.d. likelihood a product, and how does it change when observations are not independent?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

Why does the likelihood take an i.i.d. product form, and how does the likelihood change when observations are not independent? ```hint Start from the joint density Write the likelihood as the joint density of all $n$ observations first, then ask which assumption lets you split it into separate pieces and what other identity splits it when that assumption fails. ``` ### What a Strong Answer Covers - Why independence factorizes the joint density, and what "identically distributed" adds on top of it. - Why the log-likelihood is used in practice. - How the joint density is written when observations are dependent. - At least one concrete dependent-data likelihood, such as an autoregressive model or a multivariate normal with a covariance matrix. - What goes wrong in estimation and inference if dependence is ignored. ### Follow-up Questions - Write the likelihood of an AR(1) model. How do the conditional and exact likelihoods differ? - If you fit an i.i.d. model to clustered data, which parts of the inference go wrong and how would you fix them? - How does a random-effects model create dependence between observations, and what does its likelihood look like? - When the full joint likelihood is intractable, what alternatives can you use?

Overview: Asks why the likelihood of an i.i.d. sample is a product of individual densities and how to write the likelihood when observations depend on each other. Tests understanding of joint densities, the chain rule of probability, and what happens to inference when dependence is ignored.

General logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

Why does the likelihood take an i.i.d. product form, and how does the likelihood change when observations are not independent?

What a Strong Answer Covers Guidance

  • Why independence factorizes the joint density, and what "identically distributed" adds on top of it.
  • Why the log-likelihood is used in practice.
  • How the joint density is written when observations are dependent.
  • At least one concrete dependent-data likelihood, such as an autoregressive model or a multivariate normal with a covariance matrix.
  • What goes wrong in estimation and inference if dependence is ignored.

Follow-up Questions Guidance

  • Write the likelihood of an AR(1) model. How do the conditional and exact likelihoods differ?
  • If you fit an i.i.d. model to clustered data, which parts of the inference go wrong and how would you fix them?
  • How does a random-effects model create dependence between observations, and what does its likelihood look like?
  • When the full joint likelihood is intractable, what alternatives can you use?