Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 15

Exponential Family Forms of Binomial and Poisson Distributions

Recommended resources

Introduction

Hello! In our last lesson, we established a practical framework for selecting an appropriate distribution (the random component) and link function for a Generalized Linear Model (GLM) based on the nature of your data and your research question. We noted that GLMs provide a unified way to handle diverse types of outcomes like counts, proportions, and continuous data.

This lesson delves into the mathematical foundation that makes this unification possible: the exponential family of distributions. We will focus on a critical skill for your exam: converting the probability mass functions (PMFs) of the Binomial and Poisson distributions into the standard exponential family form and identifying the key components. This process isn't just an algebraic exercise; it reveals why the canonical link functions we discussed previously (like logit for Binomial and log for Poisson) arise naturally.


The Exponential Family: A Standard Form for Distributions

The power of GLMs comes from the fact that many common probability distributions—including the Normal, Binomial, Poisson, and Gamma—are members of the exponential family. This means their probability density function (PDF) or probability mass function (PMF) can be written in a specific, standardized form.

A distribution belongs to the exponential family if its PMF or PDF, , can be expressed as:

Let's break down these components:

  • : The observed data or a sufficient statistic (a function of the data that summarizes all the relevant information).
  • : The natural parameter (or canonical parameter). It's a function of the distribution's original mean parameter (like in the Binomial or in the Poisson).
  • : The dispersion parameter. For the Binomial and Poisson distributions, this is fixed at 1, so the term simplifies to 1. We will explore this more in the next lesson.
  • : A function that depends only on the natural parameter . It's often called the cumulant function and is crucial for finding the mean and variance of the distribution.
  • : A function that depends only on the data and the dispersion parameter . It acts as a normalizing constant.

Our goal is to take a familiar PMF, like for the Binomial distribution, and algebraically manipulate it until it matches this structure.


The Algebraic Strategy

The most direct way to convert a PMF/PDF into this form is to work with its logarithm. This turns the products in the original PMF into sums, which are easier to rearrange.

  1. Write down the log-likelihood: Start with the PMF, , and take its natural logarithm, . This is the log-likelihood, .
  2. Rearrange and Isolate: Algebraically rearrange the log-likelihood to match the form . (We can ignore for now).
  3. Identify Components: Once the expression is in the target form, you can directly identify , , and .

Let's apply this strategy.


Worked Example 1: The Binomial Distribution

Your goal is to show that the Binomial distribution is in the exponential family and identify its components.

First, let's review the step-by-step derivation in a clear, formal text. The following resource works through the log-likelihood, which is the exact method we will use.

Stat 5421 Lecture Notes: Exponential Families

These lecture notes from the University of Minnesota, titled 'Stat 5421 Lecture Notes: Exponential Families', provide a formal and clear derivation. We will focus on the Binomial section first.

Please read Section 7.1, 'The Binomial Distribution'. Start from the beginning of the section and read down to the paragraph just before the 'Summary' subsection. Focus on how the log-likelihood is rearranged to isolate the 'x' term and how that allows for the identification of the canonical parameter and cumulant function.

Let's summarize the key steps from that reading.

Step 1: Write the log-likelihood

The PMF for a Binomial random variable is , where we use for the probability of success to avoid confusion with p-values.

The log-likelihood, ignoring the constant term which doesn't involve the parameter , is:

Step 2: Rearrange and Isolate

We want to group all terms involving the data together:

Step 3: Identify Components

Now, we match this to the structure .

  • Natural Parameter (): The term multiplying is our natural parameter.

    You might recognize this as the logit function. This is precisely why the logit is the canonical link for the Binomial distribution!

  • Cumulant Function (): To find , we first need to express the remaining part, , in terms of . As shown in the reading, we first solve for in terms of :

    Substituting this back gives:

The other components are and .

The following image provides a great visual summary of this entire derivation.

Binomial Distribution to Exponential Family Form Derivation
This diagram shows the step-by-step algebraic manipulation to convert the Binomial PMF into the exponential family form, clearly identifying each component.

For a different perspective, the following video walks through the same process but uses a slightly different algebraic path (exponentiating earlier). Watching it can help solidify your understanding.

Binomial distribution: in the exponential family

The video 'Binomial distribution: in the exponential family' demonstrates the conversion process visually.

Watch the video from the beginning to 6:08. Notice how the presenter takes the log, rearranges, and then exponentiates to match the general form. The result is identical to what we found, just arrived at slightly differently.


Worked Example 2: The Poisson Distribution

Now, let's repeat the process for the Poisson distribution. This one is more straightforward.

Again, let's start with the formal derivation from the same set of lecture notes.

Stat 5421 Lecture Notes: Exponential Families

We will now look at the Poisson derivation in the same lecture notes.

Please read Section 7.2, 'The Poisson Distribution'. The derivation is very concise. Pay attention to how quickly the log-likelihood matches the required form.

Here is a summary of that process:

Step 1: Write the log-likelihood

The PMF for a Poisson random variable is .

The log-likelihood, ignoring the constant term , is:

Step 2 & 3: Rearrange and Identify

This expression is already in the form !

  • Natural Parameter (): The term multiplying is .

    This is the log function, which is the canonical link for the Poisson distribution.

  • Cumulant Function (): The remaining term is . We must express it in terms of . Since , it follows that .

The other components are and .

To reinforce this, you can watch the following video walkthrough.

Poisson distribution: a member of the exp family

This video, 'Poisson distribution: a member of the exp family', provides a quick visual walkthrough of the derivation we just did.

Watch from the beginning to 02:39. This section quickly shows the rearrangement and identification of the components for the Poisson distribution.


Conclusion

In this lesson, we demystified the mathematical structure that unifies different models within the GLM framework. You practiced the essential exam skill of converting the Binomial and Poisson PMFs into the exponential family form.

Key Takeaways:

  • Distributions in the exponential family can be written in a standard form: .
  • A reliable method for conversion is to take the natural log of the PMF/PDF, rearrange the terms to isolate the data , and identify the components and .
  • For the Binomial distribution, the natural parameter is , and the cumulant function is .
  • For the Poisson distribution, the natural parameter is , and the cumulant function is .
  • The form of the natural parameter directly gives rise to the canonical link function for that distribution.

In the next lesson, we will extend this skill to continuous distributions, specifically the Normal and Gamma distributions. This will introduce the role of the dispersion parameter, , which we have set aside for today.