---
title: Extreme Value Theory in PET Analysis
url: https://www.emergentmind.com/topics/extreme-value-theory-for-pet
type: topic
---

# Extreme Value Theory in PET Analysis

Post-encroachment time (PET) is a quantitative surrogate for pedestrian–vehicle conflict, defined as the time difference between a vehicle and a pedestrian successively traversing the same spatial point. Low PET values indicate near-miss scenarios and, in the limit, actual collisions. Because collision events are rare and PET near-misses provide a richer sample of hazardous interactions, statistical models that accurately capture PET extremes enable rapid evaluation of traffic-safety interventions. Extreme Value Theory (EVT) offers a rigorous framework for analyzing the distributional tail behavior of PET and for predicting future extreme conflict events, supporting both inference and proactive decision-making in road safety applications.

## 1. Mathematical Foundations of PET and EVT

PET is formally defined as $\mathrm{PET} = t_2 - t_1$, where $t_1$, $t_2$ are the times of a vehicle and pedestrian crossing a common spatial location. Analytical focus centers on small PET values, which encode near-miss severity. To align with the conventions of EVT—which handles upper-tail behavior—the PET series is negated: $X_t = -\mathrm{PET}_t$. Thus, large $X_t$ are tantamount to hazardous events for analysis.

EVT provides two primary schemes: the block maxima approach, fitting Generalized Extreme Value (GEV) distributions to maxima within blocks (e.g., daily or weekly), and the peaks-over-threshold (POT) method, fitting the Generalized Pareto Distribution (GPD) to exceedances above a high threshold. In traffic safety, POT is preferred due to denser tails and greater statistical efficiency—block maxima often wastes observations given the rarity of actual collisions [2306.05925].

## 2. Statistical Modeling of PET Extremes

Given PET data $X_1, ..., X_n$ and threshold $u$, POT considers the exceedances $Y_i = X_i - u$ for $X_i > u$. EVT assures that for sufficiently high $u$, the conditional distribution of $Y$ is approximated by $H_{\xi, \sigma_u}(y) = 1 - (1 + \xi y / \sigma_u)^{-1/\xi}$, where $\xi$ is the shape (tail-index) and $\sigma_u$ the scale. If $\xi < 0$, the tail is light and bounded, reflecting finite maximal near-miss severity; $\xi > 0$ signals heavy, Pareto-type tails; $\xi = 0$ recovers the exponential case [2504.04602].

Threshold selection is guided by mean residual life (MRL) plots, seeking approximately linear excess means above candidate $u$, and by parameter stability plots for $\xi$. Diagnostic tools include probability-probability (P–P), quantile-quantile (Q–Q) plots, and goodness-of-fit tests (e.g., Anderson–Darling) on residuals.

## 3. Incorporating Temporal Dependence and Covariate Effects

PET time series frequently express temporal clustering—especially during rush hours—and correlation persists between successive extremes. Standard POT assumes independence, but this is indefensible for raw PET time series.

Two remedies are employed:
- **Declustering** uses an auxiliary run-parameter $\kappa$ (e.g., 10 consecutive non-exceedances) to isolate clusters presumed independent, retaining only peak exceedances. This approach is highly sensitive to $\kappa$ and sacrifices substantial data.
- **First-order extreme-value Markov chain modeling** retains all exceedances and employs bivariate copulas (e.g., logistic family) with unit-Fréchet margins to encode extremal dependence, parameterized by $\alpha \in (0,1]$. Extremal index $\theta$ estimated via $\theta \approx 2^{\alpha - 1}$ quantifies cluster structure, with $\theta^{-1}$ representing average cluster size [2306.05925].

Covariate effects, including interventions (e.g., the binary before/after indicator for LPI), enter by allowing scale parameter variation: $\sigma_t = \exp(\beta_0 + \beta_1 t)$. Negative $\beta_1$ values (on the $-PET$ scale) directly evidence increased PET, signifying fewer near-misses.

## 4. Parameter Estimation and Predictive Inference

Parameter estimation proceeds via frequentist maximum likelihood or Bayesian MCMC. The GPD log-likelihood,
\[
\ell(\xi, \sigma_u) = -k\ln\sigma_u - \left( \frac{1}{\xi} + 1 \right) \sum_{i=1}^k \ln \left( 1 + \xi \frac{y_i}{\sigma_u} \right),
\]
is maximized numerically for MLEs $(\widehat{\xi}, \widehat{\sigma}_u)$. Bayesian inference employs priors $\pi(\xi, \sigma_u)$ and samples from the posterior predictive density
\[
\widehat{f}_{n+1}(x) = \int \frac{1}{\sigma_u} \left( 1 + \xi \frac{x-u}{\sigma_u} \right)^{-1/\xi - 1} d\pi(\xi, \sigma_u | y_{1:k}),
\]
typically via Monte Carlo.

Return levels $z_T$ (e.g., the “once-in-100-years” PET) satisfy
\[
z_T = u + \frac{\sigma_u}{\xi} \left[ (T n_u)^\xi - 1 \right],
\]
with asymptotic validity guaranteed by standard second-order POT regularity conditions [2504.04602]. Both frequentist and Bayesian interval estimators attain correct coverage rates for future extreme PETs in large samples.

## 5. Practical Implementation in Road Safety Studies

In applied PET analysis, the workflow incorporates:
1. Automated video tracking of pedestrian–vehicle trajectories to harvest minute-resolved PET time series.
2. Extraction of minimum PET values within fixed time windows (e.g., 10-minute bins), yielding dense conflict event sampling.
3. Threshold selection via MRL and parameter-stability diagnostics.
4. Model fitting: GPD (marginal-only), declustered POT, or first-order Markov chain POT under a Bayesian or frequentist framework.
5. Goodness-of-fit assessment via posterior predictive checks, QQ/PP plots, and sensitivity analysis to $\kappa$ or prior scales.

When PET exhibits AR(1)-type dependence, residuals post-AR(1) filtering are submitted to POT fitting and predictive inference is recast as
\[
f_{X_{n+1} | X_{n+1}>u}(x | X_n) \approx \frac{1}{\sigma_u} \left[ 1 + \xi \frac{x - \widehat{\phi} X_n - u}{\sigma_u} \right]^{-1/\xi - 1},
\]
where $x > \widehat{\phi} X_n + u$ [2504.04602].

## 6. Inference on LPI Safety Intervention: Empirical Findings

The LPI (“leading pedestrian interval”) treatment, granting 5 s exclusive pedestrian right-of-way, was evaluated at 15 intersections using before/after PET conflict data. Markov chain EVT modeling exhibited:
- At 12/15 treated sites, posterior 95% credible intervals for $\beta_1$ (change in extreme scale post-treatment) lay wholly below zero, indicating statistically significant reductions in tail scale of $X$ (i.e., increased PET, fewer near-misses).
- Untreated control sites showed credible intervals for $\beta_1$ strongly containing zero, evidencing no systematic shift.
- Representative results: Site 1 (treated) $\beta_1 \approx -0.344$ (CI [$-0.456, -0.231$]), $\xi \approx -0.165$ (CI [$-0.222, -0.108$]), $\alpha \approx 0.75$ ($\theta \approx 0.84$); Site 2 (control) $\beta_1 \approx -0.013$ (CI [$-0.123, 0.098$]).
- The LPI intervention increased PET by approximately $+0.43$ s at the extreme tail, i.e., half a second greater separation in severe near-miss events [2306.05925].

A negative $\xi$ confirms a bounded worst-case severity for PET near-misses. Estimated extremal indices $\theta \approx 0.8–0.9$ reflect moderate clustering, with clusters of roughly 1.1 extremes on average.

## 7. Extensions, Diagnostic Tools, and Future Research

Future directions include dynamic threshold selection based on traffic volume or time-of-day, spatial dependence modeling across intersections via max-stable processes, and refined estimation of extremal indices for nonstationary PET series. Threshold stability allows extrapolation: GPD parameters estimated at intermediate $u$ apply to higher $u'$, with scale updating $\sigma_{u'} = \sigma_u + \xi(u' - u)$.

Practical recommendations mandate MRL-guided thresholding, robust fitting (MLE, Bayesian), reporting of return levels/periods for risk assessment, and filtering for temporal dependence before extreme modeling. Diagnostic plots and tests remain essential for model validation.

These EVT methodologies enable the proactive, evidence-based targeting of traffic-safety interventions using near-miss data rather than waiting for collision thresholds, providing rapid and statistically sound metrics for policy makers and researchers [2306.05925], [2504.04602].

Source: https://www.emergentmind.com/topics/extreme-value-theory-for-pet