Directional Statistics on Circles and Spheres: A New Angle on Data

Siddhesh KulkarniarXiv 2026 · arXiv

TL;DR

Standard statistical tools like the arithmetic mean often fail when data "wraps around," such as compass bearings, clock times, or 3D orientations. This paper provides a "geometry-first" framework for directional statistics, introducing robust methods for averaging and modeling data on circles and spheres that are essential for fields ranging from meteorology to machine learning.

What Problem Does This Paper Address?

The core challenge is that ordinary statistics quietly assume a Euclidean (flat) geometry. Consider a ship recording two headings: $1^\circ$ and $359^\circ$. Both are nearly due North. However, a standard arithmetic average yields $180^\circ$—pointing due South!

This "compass puzzle" arises because angles live on a circle, not a straight line. The same issue plagues any data with periodicity (daily biological cycles), axial symmetry (fiber orientations in medical imaging where the "head" and "tail" are indistinguishable), or unit-normalized vectors (embeddings in AI). Using the wrong geometric assumptions leads to nonsensical results and scientifically inappropriate models.

Methods

The paper advocates for a "geometry-first" approach, summarized in a diagnostic decision guide:

A geometry-first decision guide for choosing statistical models based on periodicity, magnitude, and symmetry.

Key techniques include:

  • Circular Mean: Instead of averaging raw angles, each observation is treated as a unit vector (an "arrow"). You average the horizontal and vertical coordinates of these arrows and then find the direction of the resulting average vector using the atan2 function.
  • Mean Resultant Length ($\bar{R}$): A measure of concentration ranging from 0 (randomly scattered) to 1 (all pointing the same way). This leads to Circular Variance ($1 - \bar{R}$).
  • Probability Models:
    • von Mises Distribution: The circular equivalent of the Normal distribution, defined by a preferred direction ($\mu$) and a concentration parameter ($\kappa$).
  • von Mises–Fisher (vMF): An extension for data on higher-dimensional spheres.
  • Watson Distribution: Designed for axial data, where opposite directions ($x$ and $-x$) represent the same physical state, such as the orientation of a generic fiber.

Datasets

The paper demonstrates these concepts using a mix of real-world and pedagogical datasets:

  • JFK Wind Directions: 24 hourly observations from January 15, 2013, sourced from the nycflights13 R package. This real-world example highlights how circular means remain stable even when numerical labels (like $0^\circ$ vs $360^\circ$) are swapped.
  • Diffusion-MRI (Synthetic): Used to illustrate axial symmetry in brain fiber orientation.
  • Text Embeddings (Synthetic): Three hand-constructed phrases ("cancer therapy," "tumor treatment," "weather forecast") mapped to 2D vectors to demonstrate how cosine similarity in machine learning is essentially a form of directional statistics.

Key Insights and Ideas

  • Geometry Over Formulas: The most critical step is identifying the sample space (circle, sphere, or axis) before calculating a single number.
  • The "Average the Arrows" Principle: Circular means are not just "special formulas"; they are the result of performing standard vector averaging and then projecting back onto the circle.
  • Axial vs. Directional: In many physical systems (like MRI), a vector's sign is arbitrary. The paper explains that treating these as "arrows" causes artificial cancellation, whereas treating them as "axes" (using the Watson distribution or doubling the angle) yields the correct physical orientation.
  • ML Connection: The paper bridges the gap between classical statistics and modern AI, showing that popular metrics like cosine similarity are principled ways to measure distance on a hypersphere.

Key Results

The JFK wind example provides a striking quantitative result. When North is labeled as $360^\circ$, the arithmetic mean is $232.5^\circ$. Simply changing the label to $0^\circ$ (a mathematically identical direction) shifts the arithmetic mean to $82.5^\circ$—a massive $150^\circ$ swing for the exact same weather. In contrast, the circular mean remains a consistent $6.3^\circ$ regardless of the labeling convention.

Figure 2: Real hourly wind directions at JFK Airport on 15 January 2013. (A) A straight scale places the two equivalent labels for north, 0◦and 360◦, at opposite ends. (B) An outlined wind rose restores their adjacency; the circular mean is about 6.3◦and ¯R = 0.94. (C) Replacing the label 360◦by the equivalent label 0◦changes the arithmetic mean from 232.5◦to 82.5◦, while the circular mean remains unchanged. In panel C, the solid, dashed, and dotted arrows represent 232.5◦, 82.5◦, and 6.3◦, respectively. Data: nycflights13::weather [6].

Furthermore, the paper visualizes how the von Mises concentration parameter ($\kappa$) acts as a dial for uncertainty, sharpening the probability peak as $\kappa$ increases.

von Mises densities showing how increasing the concentration parameter κ sharpens the peak around the preferred direction.

Limitations and Future Work

The author notes that while the foundations of directional statistics are mature, several "emerging questions" remain:

  • High-Dimensional Scaling: Handling normalized representations with thousands of coordinates in modern AI.
  • Dynamic Data: Modeling how directions and orientations evolve over time.
  • Multimodality: Developing better tools for populations with multiple preferred directions (e.g., a wind rose with two distinct peaks).
  • Uncertainty-Aware Representations: Expressing confidence geometrically rather than just as a +/- error bar.

The paper concludes that directional statistics is not a replacement for ordinary statistics, but a necessary reminder to ask: "What mathematical object was actually measured?"

Summary updated

Abstract

Two compass bearings near north can have an ordinary arithmetic mean pointing south: the difficulty is that angles live on a circle, not a straight line. Using real wind observations, diffusion-MRI orientations, and geometric examples from machine learning, this article introduces circular and axial averages, directional variability, and probability models on circles and spheres. The guiding principle is to identify the geometry and symmetries of the observations before choosing a statistical method.
BibTeX
@misc{kulkarni2026directional,
  author = {Siddhesh Kulkarni},
  title = {{Directional Statistics on Circles and Spheres: A New Angle on Data}},
  year = {2026},
  eprint = {2610.36227},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.36227},
}
Figure