# Central limit theorem for directional statistics

In probability theory, the central limit theorem states conditions under which the average of a sufficiently large number of independent random variables, each with finite mean and variance, will be approximately normally distributed.
Directional statistics is the subdiscipline of statistics that deals with directions (unit vectors in R$^n$), axes (lines through the origin in R$^n$) or rotations in R$^n$. The means and variances of directional quantities are all finite, so that the central limit theorem may be applied to the particular case of directional statistics.
This article will deal only with unit vectors in 2-dimensional space (R$^2$) but the method described can be extended to the general case.

## The central limit theorem

A sample of angles $\theta _{i}$ are measured, and since they are indefinite to within a factor of $2\pi$, the complex definite quantity $z_{i}=e^{i\theta _{i}}=\cos(\theta _{i})+i\sin(\theta _{i})$ is used as the random variate. The probability distribution from which the sample is drawn may be characterized by its moments, which may be expressed in Cartesian and polar form:
    $m_{n}=E(z^{n})=C_{n}+iS_{n}=R_{n}e^{i\theta _{n}}\,$
It follows that:
    $C_{n}=E(\cos(n\theta ))\,$
    $S_{n}=E(\sin(n\theta ))\,$
    $R_{n}=|E(z^{n})|={\sqrt {C_{n}^{2}+S_{n}^{2}}}\,$
    $\theta _{n}=\arg(E(z^{n}))\,$
Sample moments for N trials are:
    ${\overline {m_{n}}}={\frac {1}{N}}\sum _{i=1}^{N}z_{i}^{n}={\overline {C_{n}}}+i{\overline {S_{n}}}={\overline {R_{n}}}e^{i{\overline {\theta _{n}}}}$
where
    ${\overline {C_{n}}}={\frac {1}{N}}\sum _{i=1}^{N}\cos(n\theta _{i})$
    ${\overline {S_{n}}}={\frac {1}{N}}\sum _{i=1}^{N}\sin(n\theta _{i})$
    ${\overline {R_{n}}}={\frac {1}{N}}\sum _{i=1}^{N}|z_{i}^{n}|$
    ${\overline {\theta _{n}}}={\frac {1}{N}}\sum _{i=1}^{N}\arg(z_{i}^{n})$
The vector [${\overline {C_{1}}},{\overline {S_{1}}}$] may be used as a representation of the sample mean $({\overline {m_{1}}})$ and may be taken as a 2-dimensional random variate. The bivariate central limit theorem states that the joint probability distribution for ${\overline {C_{1}}}$ and ${\overline {S_{1}}}$ in the limit of a large number of samples is given by:
    $[{\overline {C_{1}}},{\overline {S_{1}}}]{\xrightarrow {d}}{\mathcal {N}}([C_{1},S_{1}],\Sigma /N)$
where ${\mathcal {N}}$ is the bivariate normal distribution and $\Sigma$ is the covariance matrix for the circular distribution:
    $\Sigma ={\begin{bmatrix}\sigma _{CC}&\sigma _{CS}\\\sigma _{SC}&\sigma _{SS}\end{bmatrix}}\quad$
    $\sigma _{CC}=E(\cos ^{2}\theta )-E(\cos \theta )^{2}\,$
    $\sigma _{CS}=\sigma _{SC}=E(\cos \theta \sin \theta )-E(\cos \theta )E(\sin \theta )\,$
    $\sigma _{SS}=E(\sin ^{2}\theta )-E(\sin \theta )^{2}\,$
Note that the bivariate normal distribution is defined over the entire plane, while the mean is confined to be in the unit ball (on or inside the unit circle). This means that the integral of the limiting (bivariate normal) distribution over the unit ball will not be equal to unity, but rather approach unity as N approaches infinity.
It is desired to state the limiting bivariate distribution in terms of the moments of the distribution.

## Covariance matrix in terms of moments

Using multiple angle trigonometric identities
    $C_{2}=E(\cos(2\theta ))=E(\cos ^{2}\theta -1)=E(1-\sin ^{2}\theta )\,$
    $S_{2}=E(\sin(2\theta ))=E(2\cos \theta \sin \theta )\,$
It follows that:
    $\sigma _{CC}=E(\cos ^{2}\theta )-E(\cos \theta )^{2}={\frac {1}{2}}\left(1+C_{2}-2C_{1}^{2}\right)$
    $\sigma _{CS}=E(\cos \theta \sin \theta )-E(\cos \theta )E(\sin \theta )={\frac {1}{2}}\left(S_{2}-2C_{1}S_{1}\right)$
    $\sigma _{SS}=E(\sin ^{2}\theta )-E(\sin \theta )^{2}={\frac {1}{2}}\left(1-C_{2}-2S_{1}^{2}\right)$
The covariance matrix is now expressed in terms of the moments of the circular distribution.
The central limit theorem may also be expressed in terms of the polar components of the mean. If $P({\overline {C_{1}}},{\overline {S_{1}}})d{\overline {C_{1}}}d{\overline {S_{1}}}$ is the probability of finding the mean in area element $d{\overline {C_{1}}}d{\overline {S_{1}}}$, then that probability may also be written $P({\overline {R_{1}}}\cos({\overline {\theta _{1}}}),{\overline {R_{1}}}\sin({\overline {\theta _{1}}})){\overline {R_{1}}}d{\overline {R_{1}}}d{\overline {\theta _{1}}}$.