This article handles the general theory for statistics on manifolds. For density estimation, density approximation, and sampling on manifolds, see Probabilistic Learning on Manifolds. For parametric probabilistic models on common matrix manifolds, see Probabilistic Models on Matrix Manifolds.

Main references: [@Pennec2006; @Chikuse2003].

Measures on Manifolds

Hausdorff measure \(\mathcal{H^d}\) on a Riemannian d-manifold is the integral of the Riemannian density over measurable sets: \(\mathcal{H^d}(A) = \int_A d V_g\), \(A \subset \mathcal{M}\). Hausdorff measure generalizes the Lebesgue measure on Euclidean spaces to Riemannian manifolds. A measure on a Riemannian manifold is absolutely continuous w.r.t. the Hausdorff measure if and only if it is a product of the Hausdorff measure with a non-negative unit-integral function: \(\mu \ll \mathcal{H^d}\) iff \(\exists f \in L^1(\mathcal{M}, \mathbb{R}_{\ge 0})\), \(\int_{\mathcal{M}} f d V_g = 1\), \(\mu = f \mathcal{H}^d\). Such a function f is the probability density function (PDF) of μ w.r.t. the Hausdorff measure. In particular, if the manifold is compact, the Hausdorff measure normalized by the full integral (i.e. the volume if the manifold is oriented) defines a reference probability measure on the manifold: \(\mu_0 = \mathcal{H}^d / \int_{\mathcal{M}} d V_g\); it corresponds to the uniform distribution on a compact domain of a Euclidean space.

Given a homeomorphism \(f: \mathcal{M} \cong \mathcal{M}\) over a topological space, an invariant measure under f is a measure that matches the measure induced by f: \(\forall A \subset \mathcal{M}\), \(\mu(f^{-1}(A)) = \mu(A)\). Theorem [@Chikuse2003, Thm 1.2.2]: If a compact topological group acts continuously and transitively on a topological space, then there exists a unique invariant measure on the space under the transformations of the group. Corollary: Every homogeneous space (aka homogeneous manifold) has a unique invariant measure under the associated Lie group, if the group is compact. PDF can also be defined w.r.t. the invariant measure under the group. Invariant differential form is defined for smooth d-manifolds similarly to invariant measures [@Chikuse2003, Sec 1.2.2]. Because every nonvanishing differential d-form determines a positive density, whose integral defines a measure, their invariance are all equivalent, and we can define invariant measures via invariant differential d-forms. For example, see [@Chikuse2003, 1.4.2, 1.4.3, 1.4.5, 1.4.6] for common matrix manifolds (orthogonal group, Stiefel manifold, Grassmann manifold, fixed-rank symmetric projection manifold).

Intrinsic Mean, Median, and Variance

Because Riemannian manifolds generally do not have a linear structure, the mean / expectation of a probability measure cannot be carried over from the Euclidean setting. However, because variance is based on the norm of a difference, it can be generalized to a metric, such as the Riemannian distance function of a complete Riemannian manifold.

Pointwise variance \(\sigma^2(y)\) of a probability measure \(\mu\) on a metric space \((\mathcal{M}, d)\), w.r.t. a point \(y \in \mathcal{M}\), is the expectation of the squared distance between the point and a random point: let \((\mathcal{M}, d, \mu)\), for \(y \in \mathcal{M}\), \(\sigma^2(y) := \mathbb{E}_{x \sim \mu}[d^2(y, x)] = \int_{\mathcal{M}} d^2(y, x) \mu(d x)\). Variance \(\sigma^2\) of a probability measure \(\mu\) on a metric space \((\mathcal{M}, d)\) is the minimum pointwise variance, if the minimum exists: \(\sigma^2 = \min_{y \in \mathcal{M}} \sigma^2(y)\). Standard deviation \(\sigma\) of the probability measure is the (principal) square root of its variance.

The global center of mass, or Fréchet mean (IPA French: [fʁeʃe]) (attributed to @Frechet1944 and @Frechet1948), of a probability measure \(\mu\) on a metric space \((\mathcal{M}, d)\) is the set of points that minimize the pointwise variance, if the minimum exists: \(\overline{x}_{d} := \arg\min_{y \in \mathcal{M}} \sigma^2(y)\). Each point in this set is call a mean point or an expected point. Considering the pointwise variance \(\sigma^2(y)\) as the squared \(L^2_\mu\) norm of the distance function \(d(y, \cdot)\) to the reference point, we can define the L^p center of mass, \(p \in [1, \infty]\), as the minimizer of the \(L^p_\mu\) norm of the distance function: \(\overline{x}^{(p)}_{d} := \arg\min_{y \in \mathcal{M}} \|d(y,\cdot)\|_{L^p_\mu}\), where \(\|d(y,\cdot)\|_{L^p_\mu} = \left(\int_{\mathcal{M}} d^p(y, x) \mu(d x)\right)^{\frac{1}{p}}\) for \(p \in [1, \infty)\), and \(\|d(y,\cdot)\|_{L^\infty_\mu} = \sup_{x \in \overline{\text{supp}}(\mu)} d(y, x)\) with \(\overline{\text{supp}}(\mu)\) being the closure of the support of \(\mu\). When considering \(p = \infty\) we assume that \(\mu\) has a bounded support. The \(L^1\) center of mass corresponds to the multivariate median in Euclidean spaces, which is robust to outliers.

Riemannian center of mass \(\overline{x}_{d_g}\) of a probability measure \(\mu\) on a complete Riemannian manifold \((\mathcal{M}, g, d_g)\) is the global (\(L^2\)) center of mass, i.e. Fréchet mean, w.r.t. the Riemannian distance function \(d_g\). This concept was first studied by Élie Cartan in the 1920s for Hadamard manifolds. The next published work on this topic is [@Grove and Karcher, 1973], along with two papers in 1973 and 1974 coauthored by Grove, Karcher, and Ruh. [@Karcher1977] gives new proofs, applications and improvements of the previous results. However, these Karcher and coauthors used a local definition of the Riemannian center of mass, aka "solipsistic Karcher mean" per [@Groisser, 2004], where the optimization is restricted to the closure of an open geodesic ball containing the support of the distribution. Such a local definition is considered to have no clear benefit than, and often coincide with, the global definition [@Afsari2011]. Local Riemannian center of mass, or Karcher mean (coined in [@Kendall1990], see also [@Pennec2006]), are just like the Riemannian center of mass but includes all local minimizers of the pointwise variance: \(\mathbb{E} \chi = \{y \in \mathcal{M} : \exists \varepsilon > 0, y = \arg\min \sigma^2|_{\exp_y(B_\varepsilon(0))}\}\). One advantage of this local definition is that the mean points can be found by gradient-based algorithms.

Existence and uniqueness of the Riemannian center of mass. Any measure on a complete simply connected Riemannian manifold of nonpositive curvature (aka Hadamard manifold) has a unique Riemannian center of mass [@Cartan, 1920s]. Regular geodesic ball is a geodesic ball whose radius is less than \(C^{-1/2} \pi / 2\), where \(C = \max \{\text{sec}(\Pi) : \Pi \in G_2(T_{q} \mathcal{M}), q \in \exp_p(B_r(0))\}\) is the maximum sectional curvature in this geodesic ball. Theorem [@Karcher1977]: If the measure is supported in a regular geodesic ball and the ball of double radius is still a regular geodesic ball, then the pointwise variance \(\sigma^2(y)\) is a geodesically convex function and has only one critical point which is the unique Riemannian center of mass. Theorem [@Kendall1990]: If the measure is supported in a regular geodesic ball, then it has a unique Riemannian center of mass. For results on the Riemannian \(L^p\) center of mass, see [@Afsari2011], which also includes a detailed history of Riemannian center of mass.

Tangent Space Constructs

"Pullback measure" on the tangent space of a point in a connected complete Riemannian manifold, given a measure on the manifold, is the measure induce on the injectivity domain of the point by the exponential map: for \(T \subset \text{ID}(x) \subset T_x \mathcal{M}\), define \(\mu(T) = \mu(\exp_x(T))\). The PDF of the pullback measure is \(p(v) = p(y) \omega_g(d \exp_{x}(v) (e_i))_{i=1}^n\). Note that we use the same notation for the objects on the manifold and on the injectivity domain.

Theorem (differentiability of pointwise variance) [@Pennec2006; @Pr Maillot, 1997]: The pointwise variance of a probability measure on a connected complete Riemannian manifold is differentiable at any point where its cut locus has measure zero and the pointwise variance is finite: if \(\mu(\text{Cut}(y)) = 0\) and \(\sigma^2(y) < \infty\), then \(\text{grad}~\sigma^2 (y) = -2 \int_{\text{ID}(y)} v~\mu(d v)\).

If the pointwise variance is differentiable, then any Riemannian center of mass must be a critical point: \(\mathbb{E} \chi \subset (\text{grad}~\sigma^2)^{-1}(0)\).

The covariance matrix of a random vector can be naturally extented to a tangent space. Covariance of a probability measure on a connected complete Riemannian manifold, w.r.t. a point whose cut locus has measure zero, is the covariant 2-tensor \(\text{Cov}(y) = \int_{\text{ID}(y)} v v^T \mu(d v)\). The trace of the covariance equals the pointwise variance: \((\text{tr}_g \text{Cov})(y) = \sigma^2(y)\).