Tutorials › Stochastic Processes › Hazard Functions and Reliability Event Counts

Compound, Nonhomogeneous and Spatial Poisson Processes · Tutorial 447 of 994

Hazard Functions and Reliability Event Counts

Learn how cumulative hazard determines survival and how the same integrated rate governs event counts in a nonhomogeneous Poisson model.

Advanced 10 min read

What You'll Learn

  • Define a hazard rate and identify the assumptions needed to recover survival probabilities from it.
  • Compute cumulative hazards and conditional failure probabilities over time intervals.
  • Derive event-count probabilities and expected totals for nonhomogeneous Poisson processes.
  • Work with Weibull hazards and piecewise-constant hazards using exact calculations.
  • Distinguish the lifetime of a single component from a recurrent-event count model.
  • Recognize why linear failure probability in cumulative hazard is generally incorrect.

Hazard, Survival, and Event Counts

A hazard rate describes how quickly failure risk accrues among units that have survived so far. A time-varying hazard can be converted into a survival probability by accumulating that rate over time. The same exponential calculation also appears in a nonhomogeneous Poisson process: its cumulative intensity determines the probability of no events and the distribution of the total event count. The formulas look alike, but the models answer different questions. A single lifetime ends at its first failure; a recurrent-event process can record multiple events.

Work on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). Let \(T\) be a nonnegative lifetime, with survival function \(S(t)=\mathbb{P}(T>t)\). Suppose \(T\) has a density \(f\), and \(S(t)>0\) on the time interval under consideration. Its hazard rate is \(h(t)=f(t)/S(t)\), where the density and hazard may be specified up to changes on sets of measure zero. Informally, \(h(t)\) is the instantaneous failure rate conditional on surviving to time \(t\): when the relevant conditional probability is defined, \(h(t)\) is the limit of \(\mathbb{P}(t<T\le t+\Delta\mid T>t)/\Delta\) as \(\Delta\) decreases to zero.

Definition: The cumulative hazard through time \(t\) is \(H(t)=\int_0^t h(u)\,du\). Under the assumptions above, the survival function is \(S(t)=\exp(-H(t))\), and the failure probability by time \(t\) is \(1-\exp(-H(t))\).

The cumulative hazard is not itself a probability: it can exceed \(1\). Instead, it is the negative logarithm of survival. The formula requires an absolutely continuous lifetime with positive survival on the interval. If a lifetime has an atom, such as a positive probability of failure at an exact time, the density-based hazard formula needs adjustment; it should not be applied across that atom as if the distribution were continuous.

Proof. For times where \(S(t)>0\), absolute continuity gives \(S'(t)=-f(t)\) almost everywhere. Thus \(S'(t)/S(t)=-f(t)/S(t)=-h(t)\) almost everywhere. Integrating from \(0\) to \(t\), using \(S(0)=1\) when there is no failure at time zero, gives \(\log S(t)-\log S(0)=-\int_0^t h(u)\,du\). Since \(\log S(0)=0\), exponentiating yields \(S(t)=\exp(-H(t))\). The failure probability is \(\mathbb{P}(T\le t)=1-S(t)\), which gives the stated expression. \(\square\)

For an interval \((a,b]\), conditional failure risk among units still surviving at \(a\) follows by taking a survival ratio. Provided \(S(a)>0\),

$$ \mathbb{P}(a<T\le b\mid T>a) =1-\frac{S(b)}{S(a)} =1-\exp\!\left(-\int_a^b h(u)\,du\right). $$

The integrated hazard over the interval, not the hazard at its endpoint, determines this conditional probability.

Weibull Hazards

For a Weibull lifetime with shape \(\alpha>0\) and scale \(\beta>0\), the survival function and hazard are

$$ S(t)=\exp\!\left(-\left(\frac{t}{\beta}\right)^\alpha\right), \qquad h(t)=\frac{\alpha t^{\alpha-1}}{\beta^\alpha}, \qquad t\ge 0. $$

Integrating the hazard gives \(H(t)=(t/\beta)^\alpha\). If \(\alpha>1\), the hazard increases with time; if \(\alpha=1\), it is constant; and if \(0<\alpha<1\), it decreases for \(t>0\). In the last case it may be unbounded near zero, but its integral over a finite interval remains finite. The survival formula still applies.

Worked Example: Weibull Failure Risk Over an Interval

Let \(T\) have a Weibull distribution with shape \(\alpha=2\) and scale \(\beta=3\). Find the probability of failure by time \(3\), and the probability of failure between times \(1\) and \(3\), conditional on surviving to time \(1\).

The cumulative hazard is \(H(t)=(t/3)^2\). At time \(3\), \(H(3)=(3/3)^2=1\), so \(S(3)=e^{-1}\) and the probability of failure by time \(3\) is \(1-e^{-1}\).

At time \(1\), \(H(1)=(1/3)^2=1/9\). The integrated hazard from \(1\) to \(3\) is \(H(3)-H(1)=1-1/9=8/9\). Therefore the conditional probability of failure over that interval is \(1-e^{-8/9}\).

Check: The survival ratio is \(S(3)/S(1)=e^{-1}/e^{-1/9}=e^{-8/9}\), so subtracting it from \(1\) gives the same conditional failure probability. The unconditional probability of failure in \((1,3]\) is \(S(1)-S(3)=e^{-1/9}-e^{-1}\); dividing by \(S(1)=e^{-1/9}\) again gives \(1-e^{-8/9}\).

From Hazard to a Nonhomogeneous Poisson Count

Now consider a different model. Let \((N(t))_{t\ge0}\) be a counting process on \((\Omega,\mathcal{F},\mathbb{P})\), with state space the nonnegative integers. A nonhomogeneous Poisson process with deterministic intensity \(\lambda(t)\ge0\) starts at \(N(0)=0\), has independent increments, and has \(N(b)-N(a)\) Poisson distributed with mean \(\int_a^b\lambda(u)\,du\) for \(0\le a<b\), assuming the intensity is integrable on finite intervals. Write \(\Lambda(t)=\int_0^t\lambda(u)\,du\) for its cumulative intensity.

Theorem: For a nonhomogeneous Poisson process with locally integrable deterministic intensity \(\lambda\), the count \(N(t)\) is Poisson with mean \(\Lambda(t)\). In particular, \(\mathbb{P}(N(t)=0)=e^{-\Lambda(t)}\) and \(\mathbb{E}[N(t)]=\Lambda(t)\). For \(0\le a<b\), the probability of at least one event in \((a,b]\) is \(1-\exp(-\int_a^b\lambda(u)\,du)\).

Proof. By the definition of the process, \(N(t)-N(0)\) has a Poisson distribution with mean \(\int_0^t\lambda(u)\,du=\Lambda(t)\). Since \(N(0)=0\), \(N(t)\) has that same distribution. A Poisson random variable with mean \(\Lambda(t)\) has probability \(e^{-\Lambda(t)}\) of equaling zero and expectation \(\Lambda(t)\). On \((a,b]\), the increment is Poisson with mean \(\int_a^b\lambda(u)\,du\); the probability of at least one event is one minus its zero-count probability. \(\square\)

When \(\lambda(t)=h(t)\), the no-event probability through time \(t\) is \(e^{-H(t)}\), the same formula as lifetime survival. This is a useful link, not an identity between the models. In a lifetime model, \(T>t\) means that one unit has not yet failed. In a recurrent-event model, \(N(t)\) may be \(0,1,2,\ldots\); its count distribution describes events under a Poisson-process assumption. The interpretation of the intensity must come from the application.

Worked Example: Weibull-Shaped Recurrent Event Counts

Suppose a recurrent-event count follows a nonhomogeneous Poisson process whose intensity is the Weibull hazard \(h(t)=2t/4\) for \(t\ge0\), corresponding to shape \(2\) and scale \(2\). Find the expected count through time \(2\), the probability of no events, and the probability of exactly two events.

The cumulative intensity is \(\Lambda(2)=\int_0^2 (2u/4)\,du=\int_0^2 u/2\,du=[u^2/4]_0^2=1\). Thus \(N(2)\) is Poisson with mean \(1\), so \(\mathbb{E}[N(2)]=1\) and \(\mathbb{P}(N(2)=0)=e^{-1}\). For exactly two events, the Poisson probability formula gives \(\mathbb{P}(N(2)=2)=e^{-1}1^2/2!=e^{-1}/2\).

Check: The probability of at least one event is \(1-e^{-1}\). Summing the probabilities for zero, one, and two events gives \(e^{-1}+e^{-1}+e^{-1}/2=5e^{-1}/2\), which is the corresponding partial sum of the Poisson probabilities \(e^{-1}(1+1+1/2)\). The mean is also the integrated intensity \(1\), as required.

Piecewise-Constant Hazards

A piecewise-constant hazard is convenient when the rate changes at known times. If the hazard is \(c_r\) on each interval \((a_{r-1},a_r]\), the cumulative hazard through an endpoint is the sum of each interval’s rate multiplied by its duration. The same integration gives cumulative intensity for a Poisson count model with that time-varying rate. Care is needed at change points: each rate applies only over its own interval.

Worked Example: A Two-Stage Hazard and Event Count

Let a single lifetime have hazard \(h(t)=1/4\) for \(0\le t\le2\) and \(h(t)=1/2\) for \(2<t\le5\). Find the failure probability by time \(5\), the conditional failure probability between times \(2\) and \(5\), and the expected count by time \(5\) if a recurrent-event model uses the same rate.

The cumulative hazard through time \(5\) is the sum of the two interval contributions: \((2-0)(1/4)=1/2\) and \((5-2)(1/2)=3/2\). Hence \(H(5)=1/2+3/2=2\). The failure probability by time \(5\) is \(1-e^{-2}\). The interval hazard from \(2\) to \(5\) is \(3(1/2)=3/2\), so the conditional failure probability for a unit surviving to time \(2\) is \(1-e^{-3/2}\).

For the recurrent-event model, the cumulative intensity is \(\Lambda(5)=2\), so \(\mathbb{E}[N(5)]=2\). The probability of exactly two events is \(e^{-2}2^2/2!=2e^{-2}\), and the probability of no events is \(e^{-2}\).

Check: The survival ratio is \(S(5)/S(2)=e^{-2}/e^{-1/2}=e^{-3/2}\), confirming the conditional failure calculation. Also, the recurrent-event mean \(2\) equals the sum of the two integrated rates, \(1/2+3/2\). These checks use the rates on their respective intervals rather than extending either rate across the entire five-unit period.

Common Pitfall and Interpretation

A common error is to treat cumulative hazard \(H(t)\) as a failure probability. For the piecewise example, \(H(5)=2\); using \(2\) as a probability is impossible because probabilities cannot exceed \(1\). The correct lifetime failure probability is \(1-e^{-2}\), while the survival probability is \(e^{-2}\). The exponential transformation matters even when \(H(t)\) is less than \(1\): in general, \(1-e^{-H(t)}\) is not equal to \(H(t)\).

Another error is to apply the single-lifetime interpretation to a recurrent-event count without stating a model. A survival function concerns the first failure of one unit. A nonhomogeneous Poisson process permits repeated events and additionally assumes independent increments with Poisson-distributed interval counts. If the application instead has dependence between failures, repair effects, or a changing population at risk, the Poisson count formula may not describe it. The shared cumulative-rate calculation is valid only after the relevant model and its assumptions have been specified.

Check Your Understanding

Use the definitions and verify your calculations by substituting them into the survival or Poisson formulas.

  1. A lifetime has constant hazard \(h(t)=1/3\) over \([0,6]\). Find its survival probability at time \(6\) and its failure probability by that time.
  2. For a Weibull lifetime with shape \(1\) and scale \(4\), find the cumulative hazard through time \(8\). What does the shape value imply about the hazard?
  3. A nonhomogeneous Poisson process has intensity \(2t\) on \([0,2]\). Find its cumulative intensity, expected count, and probability of no events through time \(2\).
  4. For the piecewise hazard in the worked example, explain why the integrated hazard from time \(2\) to time \(5\) is \(3/2\), not \(5/2\).
  5. In one or two sentences, distinguish the event \(T>t\) for a single lifetime from the event \(N(t)=0\) for a recurrent-event model.