In most situations, a process involving circular statistics produces angles ( ϕ {\displaystyle \phi } ) which lie in the interval ( − ∞ , ∞ ) {\displaystyle (-\infty ,\infty )} , and are described by an "unwrapped" probability density function p ( ϕ ) {\displaystyle p(\phi )} . However, a measurement will yield an angle θ {\displaystyle \theta } which lies in some interval of length 2 π {\displaystyle 2\pi } (for example, 0 to 2 π {\displaystyle 2\pi } ). In other words, a measurement cannot tell whether the true angle ϕ {\displaystyle \phi } or a wrapped angle θ = ϕ + 2 π a {\displaystyle \theta =\phi +2\pi a} , where a {\displaystyle a} is some unknown integer, has been measured.
If we wish to calculate the expected value of some function of the measured angle it will be:
We can express the integral as a sum of integrals over periods of 2 π {\displaystyle 2\pi } :
Changing the variable of integration to θ ′ = ϕ − 2 π k {\displaystyle \theta '=\phi -2\pi k} and exchanging the order of integration and summation, we have
where p w ( θ ′ ) {\displaystyle p_{w}(\theta ')} is the PDF of the wrapped distribution and a ′ {\displaystyle a'} is another unknown integer ( a ′ = a + k ) {\displaystyle (a'=a+k)} . The unknown integer a ′ {\displaystyle a'} introduces an ambiguity into the expected value of f ( θ ) {\displaystyle f(\theta )} , similar to the problem of calculating angular mean. This can be resolved by introducing the parameter z = e i θ {\displaystyle z=e^{i\theta }} , since z {\displaystyle z} has an unambiguous relationship to the true angle ϕ {\displaystyle \phi } :
Calculating the expected value of a function of z {\displaystyle z} will yield unambiguous answers:
For this reason, the z {\displaystyle z} parameter is preferred over measured angles θ {\displaystyle \theta } in circular statistical analysis. This suggests that the wrapped distribution function may itself be expressed as a function of z {\displaystyle z} such that:
where p w ( z ) {\displaystyle p_{w}(z)} is defined such that p w ( θ ) | d θ | = p w z ( z ) | d z | {\displaystyle p_{w}(\theta )\,|d\theta |=p_{wz}(z)\,|dz|} . This concept can be extended to the multivariate context by an extension of the simple sum to a number of F {\displaystyle F} sums that cover all dimensions in the feature space:
where e k = ( 0 , … , 0 , 1 , 0 , … , 0 ) T {\displaystyle \mathbf {e} _{k}=(0,\dots ,0,1,0,\dots ,0)^{\mathsf {T}}} is the k {\displaystyle k} th Euclidean basis vector.
A fundamental wrapped distribution is the Dirac comb, which is a wrapped Dirac delta function:
Using the delta function, a general wrapped distribution can be written
Exchanging the order of summation and integration, any wrapped distribution can be written as the convolution of the unwrapped distribution and a Dirac comb:
The Dirac comb may also be expressed as a sum of exponentials, so we may write:
Again exchanging the order of summation and integration:
Using the definition of ϕ ( s ) {\displaystyle \phi (s)} , the characteristic function of p ( θ ) {\displaystyle p(\theta )} yields a Laurent series about zero for the wrapped distribution in terms of the characteristic function of the unwrapped distribution:
or
Analogous to linear distributions, ϕ ( m ) {\displaystyle \phi (m)} is referred to as the characteristic function of the wrapped distribution (or more accurately, the characteristic sequence).2 This is an instance of the Poisson summation formula, and it can be seen that the coefficients of the Fourier series for the wrapped distribution are simply the coefficients of the Fourier transform of the unwrapped distribution at integer values.
The moments of the wrapped distribution p w ( z ) {\displaystyle p_{w}(z)} are defined as:
Expressing p w ( z ) {\displaystyle p_{w}(z)} in terms of the characteristic function and exchanging the order of integration and summation yields:
From the residue theorem we have
where δ k {\displaystyle \delta _{k}} is the Kronecker delta function. It follows that the moments are simply equal to the characteristic function of the unwrapped distribution for integer arguments:
If X {\displaystyle X} is a random variate drawn from a linear probability distribution P {\displaystyle P} , then Z = e i X {\displaystyle Z=e^{iX}} is a circular variate distributed according to the wrapped P {\displaystyle P} distribution, and θ = arg ( Z ) {\displaystyle \theta =\arg(Z)} is the angular variate distributed according to the wrapped P {\displaystyle P} distribution, with − π < θ ≤ π {\displaystyle -\pi <\theta \leq \pi } .
The information entropy of a circular distribution with probability density p w ( θ ) {\displaystyle p_{w}(\theta )} is defined as:
where Γ {\displaystyle \Gamma } is any interval of length 2 π {\displaystyle 2\pi } .3 If both the probability density and its logarithm can be expressed as a Fourier series (or more generally, any integral transform on the circle), the orthogonal basis of the series can be used to obtain a closed form expression for the entropy.
The moments of the distribution ϕ ( n ) {\displaystyle \phi (n)} are the Fourier coefficients for the Fourier series expansion of the probability density:
If the logarithm of the probability density can also be expressed as a Fourier series:
where
Then, exchanging the order of integration and summation, the entropy may be written as:
Using the orthogonality of the Fourier basis, the integral may be reduced to:
For the particular case when the probability density is symmetric about the mean, c − m = c m {\displaystyle c_{-m}=c_{m}} and the logarithm may be written:
and
and, since normalization requires that ϕ 0 = 1 {\displaystyle \phi _{0}=1} , the entropy may be written:
Mardia, Kantilal; Jupp, Peter E. (1999). Directional Statistics. Wiley. ISBN 978-0-471-95333-3. 978-0-471-95333-3 ↩
Mardia, K. (1972). Statistics of Directional Data. New York: Academic press. ISBN 978-1-4832-1866-3. 978-1-4832-1866-3 ↩