Pewsey 2021 - Circular Distributions and Constructions

Summary

A circular pdf is non-negative, -periodic and integrates to 1 over any length- interval. Models arise by wrapping, projection or perturbation (plus conditioning, diffusion, maximum entropy). The von Mises, wrapped normal/Cauchy and projected normal are the workhorses; flexible families add skewness, peakedness and multimodality.

Overview

Directions on are angles or unit vectors or complex . Axial data identify and . Times on the 24-hour clock can be analysed as circular after mapping to the circle (Gill and Hangartner 2010). Exploratory tools (Sec. 2): moving rose diagram, wrap-around time series plot, circular data image, area-proportional rose diagrams, circular boxplots (Abuzaid et al. 2012, centred on the circular median using , Eq. 1), CircSiZer, WiZer (the wrapped normal is the only kernel guaranteeing circular causality; Huckemann et al. 2016) and SphereSiZer.

Main Content

Von Mises (Eq. 2)

mean direction, concentration, modified Bessel function of the first kind. Derivable using five constructions (Mardia and Jupp 1999, Sec. 3.5.4). Trigonometric moments with (standard result) the mean resultant length .

Wrapping

If is linear, (). The cf of is and . Wrapped Cauchy: with (Eq. 3) — the rare closed form. Wrapped normal () closely approximates the vM and vice versa (Pewsey and Jones 2005). Other wrapped families: skew-normal, exponential, Laplace, , stable, generalized normal-Laplace.

Projection

Stereographic: . Radial projection of : , i.e. . The projected normal (offset normal / angular Gaussian) can be symmetric or asymmetric, unimodal or bimodal; natural for measurements relative to an observer.

Perturbation: cardioid and sine-skewed

Cardioid: , . Sine-skewed (Abe and Pewsey 2011): with symmetric unimodal base and ; same normalising constant as ; skews anticlockwise; only moderate asymmetry and may not be unimodal.

Overarching and highly flexible unimodal families

Jones-Pewsey (2005): , , shape ; contains uniform, cardioid, vM and WC. Kato-Jones (2015, Eq. 4): with , , , subject to ; closed-form cdf; generalises the WC by extending trigonometric moments. Möbius transformation (Eq. 5): , ; applied to circular uniform gives WC (McCullagh 1996). Inverse Batschelet (Jones and Pewsey 2012): transformation of argument, four parameters, Laplace-like shapes. Most flexible unimodal: Jones-Pewsey 2012 and Kato-Jones 2015.

Multimodality: mixtures and generalized vM

Mixture (Eq. 6): , . Identifiability of location-scale wrapped mixtures: Holzmann et al. (2004). Generalized vM of order (Eq. 7): (Gatto 2008), normalising constant numerical; Fernández-Durán’s non-negative trigonometric sums need no constants but are over-parameterised; Taniguchi et al. (2020) normalise spectra via residue theorem.

Examples

Choosing a model for hourly wind direction

Wind direction at an airport can be bimodal (on-shore / off-shore). A single vM cannot represent both; a two-component vM mixture (Eq. 6) or a projected normal (which can be bimodal) can. Using the wrapped normal vs vM matters little for unimodal data (Pewsey and Jones 2005), but heavy-tailed/peaked data favours WC or Jones-Pewsey.

Python: von Mises mean resultant length and MLE

import numpy as np
from scipy import stats, special, optimize
theta = stats.vonmises.rvs(kappa=3.0, loc=1.0, size=2000, random_state=1)
C, S = np.cos(theta).mean(), np.sin(theta).mean()
mu_hat, rho = np.arctan2(S, C), np.hypot(C, S)               # mean direction, resultant length
kappa_hat = optimize.brentq(lambda k: special.i1(k)/special.i0(k) - rho, 1e-6, 100)
print(mu_hat, rho, kappa_hat)                                # ML for vM = moment estimator

Connections

Regression on these: Pewsey 2021 - Circular Regression and Serial Dependence; PyMC: Pewsey 2021 - Circular Models in PyMC.

See Also

Pewsey 2021 - Directional Statistics - Overview