Tutorials › Generalized Linear Models › Unequal Follow-Up And Person-Time

Exposure and Rate Modeling · Tutorial 432 of 981

Unequal Follow-Up And Person-Time

Construct person-time from unequal follow-up and use it as a fixed offset to model event rates without confusing rates with expected counts.

Intermediate 11 min read

What You'll Learn

  • Define each subject’s exposure as the time actually observed at risk.
  • Explain why counts accumulated over unequal durations have different Poisson means.
  • Derive the log person-time offset in a Poisson rate model.
  • Estimate a common event rate from counts and total person-time.
  • Interpret fitted rates and fitted counts separately when follow-up varies.
  • Identify assumptions and common errors in using person-time.

Why Unequal Follow-Up Changes the Count Model

A count is hard to compare across subjects when their observation periods differ. One subject may have 3 events during 6 months of observation, while another has 3 during 4 years. The counts are equal, but the amount of time in which events could be observed is not. A rate model accounts for that difference by using each subject’s person-time: the duration that subject was actually observed and at risk of the event.

This distinction is central to fitting a Poisson model with unequal follow-up. A subject’s expected count depends both on their event rate and on their exposure duration. The rate describes events per unit of time; the expected count is the rate multiplied by the time available for events to occur.

Definition: For subject \(i\), let \(E_i\) denote the observed person-time at risk, measured in a specified time unit, and let \(Y_i\) be the event count recorded during that time. A Poisson rate model specifies \(Y_i\mid E_i,x_i\sim\operatorname{Poisson}(E_i\lambda_i)\), where \(x_i\) is the subject’s covariate vector and \(\lambda_i\) is the event rate per unit of person-time. The exposure \(E_i\) is known and positive for an included record.

Person-time is not necessarily the same as time since study entry or total calendar time. If a subject enters late, leaves early, is lost to follow-up, or ceases to be at risk, their contribution ends when their observable at-risk time ends. The precise rule depends on the event and study design. For recurrent events, follow-up may continue after an event; for an event that ends the period at risk, it may not.

Worked Example: Calculating Person-Time From Follow-Up

Three patients are followed for an event. Patient A is observed at risk for 18 months, patient B for 2 years, and patient C for 9 months. Find each exposure and the total person-time in person-years.

Convert every duration to the same unit. Patient A contributes \(18/12=1.5\) person-years, patient B contributes \(2\) person-years, and patient C contributes \(9/12=0.75\) person-years.

The total is \(1.5+2+0.75=4.25\) person-years. The three patients do not each contribute one person-year simply because there are three of them: their actual follow-up durations differ. These exposures can be paired with each patient’s count in a rate model.

Why Person-Time Adds Across Follow-Up Periods

The basic justification for person-time comes from how event counts behave over time. Suppose that, conditional on a subject’s covariates, events follow a homogeneous Poisson process with rate \(\lambda\) during the time the subject is at risk. Counts in disjoint time intervals are then independent Poisson random variables, and the mean count in an interval of length \(e\) is \(e\lambda\).

Result: If a subject’s at-risk follow-up consists of disjoint intervals with lengths \(e_1,\ldots,e_m\), and the event rate \(\lambda\) is constant throughout those intervals, the total count has a Poisson distribution with mean \(\lambda\sum_{j=1}^m e_j\). Thus the intervals contribute a combined exposure of \(\sum_{j=1}^m e_j\) person-time units.

Proof. Let \(Y_j\) be the count in interval \(j\). Under the stated Poisson-process assumption, the \(Y_j\) are independent and \(Y_j\sim\operatorname{Poisson}(\lambda e_j)\). For \(0\leq s\leq1\), the probability generating function of \(Y_j\) is \(E[s^{Y_j}]=\exp\{\lambda e_j(s-1)\}\). Independence gives the generating function of the total count:

$$ E\left[s^{\sum_{j=1}^m Y_j}\right] =\prod_{j=1}^m \exp\{\lambda e_j(s-1)\} =\exp\left\{\lambda\left(\sum_{j=1}^m e_j\right)(s-1)\right\}. $$

This is the probability generating function of a Poisson random variable with mean \(\lambda\sum_{j=1}^m e_j\). Therefore the total count has that distribution, and the accumulated exposure is the sum of the interval lengths. \(\square\)

The constant-rate condition matters. If the rate changes with calendar time or with a subject’s changing characteristics, adding durations and multiplying by one rate may not describe the mean correctly. The exposure and rate model must reflect the relevant time structure; simply recording total follow-up does not make changing rates constant.

Worked Example: A Common Rate With Unequal Exposures

Three independent subjects have counts \(Y_1=2\), \(Y_2=0\), and \(Y_3=3\), with exposures \(E_1=1\), \(E_2=0.5\), and \(E_3=2\) person-years. Assume a common rate \(\lambda\) for all three subjects. Find the maximum-likelihood estimate and each fitted expected count.

The total count is \(2+0+3=5\), and the total exposure is \(1+0.5+2=3.5\) person-years. The likelihood, treating the exposures as known, is \(L(\lambda)=\prod_{i=1}^3 \exp(-E_i\lambda)(E_i\lambda)^{Y_i}/Y_i!\). Its log-likelihood, up to terms not depending on \(\lambda\), is \(5\log\lambda-3.5\lambda\). Differentiating gives \(5/\lambda-3.5\), so the maximum occurs at \(\hat\lambda=5/3.5=10/7\), or about \(1.429\) events per person-year.

The fitted expected count for each subject is exposure multiplied by this rate: \(\hat\mu_1=1(10/7)=1.429\), \(\hat\mu_2=0.5(10/7)=0.714\), and \(\hat\mu_3=2(10/7)=2.857\). These differ even though the fitted rate is common. Their sum is \(5\), matching the observed total count.

Putting Person-Time Into the Poisson Regression

When covariates explain differences in rates, write the rate as \(\lambda_i=\exp(x_i^\mathsf{T}\beta)\), where \(x_i\) is the covariate vector and \(\beta\) is the coefficient vector. The conditional mean count is then \(\mu_i=E_i\exp(x_i^\mathsf{T}\beta)\). Taking logarithms shows exactly how the exposure enters the linear predictor.

$$ \log(\mu_i)=\log(E_i)+x_i^\mathsf{T}\beta. $$

The term \(\log(E_i)\) is an offset: it enters with coefficient fixed at one, rather than being estimated as another predictor. The linear predictor \(x_i^\mathsf{T}\beta\) describes the log rate, while the full expression describes the log expected count. In particular, the fitted rate and fitted count are distinct quantities:

$$ \hat\lambda_i=\exp(x_i^\mathsf{T}\hat\beta), \qquad \hat\mu_i=E_i\hat\lambda_i. $$

This form follows directly from the Poisson likelihood. Assume the counts are conditionally independent given their covariates and exposures, and \(Y_i\mid x_i,E_i\sim\operatorname{Poisson}\{E_i\exp(x_i^\mathsf{T}\beta)\}\). For positive \(E_i\), the log-likelihood is

$$ \ell(\beta) =\sum_i\left[ Y_i\{\log(E_i)+x_i^\mathsf{T}\beta\} -E_i\exp(x_i^\mathsf{T}\beta) -\log(Y_i!) \right]. $$

This is the Poisson log-likelihood with log exposure added to each linear predictor. Differentiating with respect to \(\beta\) gives the score \(\sum_i x_i\{Y_i-E_i\exp(x_i^\mathsf{T}\beta)\}\): the exposure affects the fitted mean through the offset, not through an estimated exposure coefficient. This derivation assumes the \(E_i\) are observed, positive exposures and that the specified conditional Poisson model is appropriate.

Worked Example: Fitting Rates With a Binary Covariate

Consider two subjects with different covariate values. Subject A has \(x=0\), exposure \(E=4\) person-years, and count \(Y=4\). Subject B has \(x=1\), exposure \(E=3\) person-years, and count \(Y=6\). Fit the intercept-and-binary-covariate rate model \(\log(\lambda_i)=\beta_0+\beta_1x_i\).

With one observation at each of the two covariate values, the model has one fitted rate for each subject. For A, the likelihood is maximized at \(\hat\mu_A=Y_A=4\), so \(\hat\lambda_A=4/4=1\) event per person-year. For B, it is maximized at \(\hat\mu_B=Y_B=6\), so \(\hat\lambda_B=6/3=2\) events per person-year.

The rate at \(x=0\) is \(\exp(\hat\beta_0)=1\), giving \(\hat\beta_0=\log(1)=0\). The rate at \(x=1\) is \(\exp(\hat\beta_0+\hat\beta_1)=2\), so \(\hat\beta_1=\log(2)\). The fitted expected counts are \(4(1)=4\) for A and \(3(2)=6\) for B. The fitted rates differ by covariate profile, while the fitted counts also reflect each subject’s follow-up duration.

Interpreting Rates and Counts

With unequal follow-up, a fitted count cannot be interpreted as if every subject had the same time at risk. At fixed covariates, doubling exposure doubles the fitted expected count, but it does not change the fitted rate. Thus a longer-followed subject can have a larger fitted count even when their modeled event rate is identical to that of a shorter-followed subject.

The exposure unit must be stated when reporting a rate. A rate of \(1.4\) events per person-year is not a count of \(1.4\) events for every subject, and it is not automatically a one-year risk. It is a rate relative to person-time under the model. The expected count over a specified duration is obtained by multiplying that rate by the duration in the matching units.

Common pitfall: Treating every subject as contributing the same exposure, or comparing raw counts without considering follow-up, confuses event frequency with time available for events. Use each subject’s actual at-risk duration in the offset. Conversely, do not multiply the fitted rate by exposure and then report the result as a rate: that product is a fitted expected count.

Person-time modeling is useful when individuals enter or leave observation at different times, provided that each exposure is defined consistently with the event process and the model’s assumptions. It does not by itself correct informative loss to follow-up, unmeasured differences in risk, or a rate that changes over time in an unmodeled way. Those features require an appropriate model or study design; an offset alone cannot resolve them.

Check Your Understanding

Use the definitions and derivations above to answer the following questions.

  1. A subject is observed at risk for 15 months. What is the exposure in person-years?
  2. Under a common Poisson rate of \(0.8\) events per person-month, what is the fitted expected count for 5 person-months of exposure?
  3. In a Poisson rate model, why is log exposure included with a fixed coefficient of one rather than estimated as an ordinary covariate coefficient?
  4. Two subjects have the same fitted rate but exposures of 1 and 4 person-years. How do their fitted expected counts compare?
  5. Name one situation in which summing follow-up durations and applying a single constant rate may fail to represent the event process adequately.
Clinical Biostats