Skip to content
← All questions

How do you compute the likelihood for an independent sample?

To compute the likelihood for an independent sample, first write the joint pmf/pdf of all observations conditional on the parameter, then use independence to factor it into a product of the individual pmf/pdf terms.

Conditions

  • The sample x1,…,xnx_1, \dots, x_n is independent.
  • Each observation has the same functional form f(xi∣θ)f(x_i \mid \theta).
  • The data values are plugged in while θ\theta remains symbolic.

Reasoning, step by step

  1. Start with the likelihood function L(θ∣x1,…,xn)L(\theta \mid x_1, \dots, x_n).
  2. Rewrite the likelihood as the joint pmf/pdf of the full sample conditional on the parameter: f(x1,…,xn∣θ)f(x_1, \dots, x_n \mid \theta).
  3. Use the independence assumption to expand the joint term into a product of single-observation terms: f(x1∣θ)⋯f(xn∣θ)f(x_1 \mid \theta) \cdots f(x_n \mid \theta).
  4. Condense the expanded product into standard product notation: ∏i=1nf(xi∣θ)\prod_{i=1}^n f(x_i \mid \theta).
  5. Evaluate this product for different candidate values of θ\theta.

Example

The board shows the transition from f(x1,…,xn∣θ)f(x_1,\ldots,x_n\mid\theta) to f(x1∣θ)⋯f(xn∣θ)f(x_1\mid\theta)\cdots f(x_n\mid\theta) and then to the compact form ∏i=1nf(xi∣θ)\prod_{i=1}^n f(x_i\mid\theta). The instructor says, "But we know that they're independent so we can split this up into the product of univariate."

Common misconceptions

  • Forgetting to apply the independence assumption when expanding the joint distribution.
  • Confusing the likelihood function with the joint probability distribution over the data before fixing the observed values.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗
Meet the concept

↗
Meet the concept

↗
Understand why

↗
Understand why

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.