Wrapped normal distribution explained

In probability theory and directional statistics, a wrapped normal distribution is a wrapped probability distribution that results from the "wrapping" of the normal distribution around the unit circle. It finds application in the theory of Brownian motion and is a solution to the heat equation for periodic boundary conditions. It is closely approximated by the von Mises distribution, which, due to its mathematical simplicity and tractability, is the most commonly used distribution in directional statistics.[1]

Definition

The probability density function of the wrapped normal distribution is[2]

fWN(\theta;\mu,\sigma)=

1
\sigma\sqrt{2\pi
} \sum^_ \exp \left[\frac{-(\theta - \mu + 2\pi k)^2}{2 \sigma^2} \right],

where μ and σ are the mean and standard deviation of the unwrapped distribution, respectively. Expressing the above density function in terms of the characteristic function of the normal distribution yields:[2]

fWN(\theta;\mu,\sigma)=

1
2\pi
infty
\sum
n=-infty
-\sigma2n2/2+in(\theta-\mu)
e=
1\vartheta\left(
2\pi
\theta-\mu,
2\pi
i\sigma2
2\pi

\right),

where

\vartheta(\theta,\tau)

is the Jacobi theta function, given by
infty
\vartheta(\theta,\tau)=\sum
n=-infty

(w2)n

n2
q

wherew\equivei\pi

and

q\equivei\pi\tau.

The wrapped normal distribution may also be expressed in terms of the Jacobi triple product:[3]

fWN(\theta;\mu,\sigma)=

1
2\pi
infty
\prod
n=1

(1-qn)(1+qn-1/2z)(1+qn-1/2/z).

where

z=ei(\theta-\mu)

and
-\sigma2
q=e

.

Moments

In terms of the circular variable

z=ei\theta

the circular moments of the wrapped normal distribution are the characteristic function of the normal distribution evaluated at integer arguments:

\langle

n\rangle=\int
z
\Gamma

ein\thetafWN(\theta;\mu,\sigma)d\theta=

in\mu-n2\sigma2/2
e

.

where

\Gamma

is some interval of length

2\pi

. The first moment is then the average value of z, also known as the mean resultant, or mean resultant vector:

\langlez

i\mu-\sigma2/2
\rangle=e

The mean angle is

\theta\mu=Arg\langlez\rangle=\mu

and the length of the mean resultant is

R=|\langlez\rangle|=

-\sigma2/2
e

The circular standard deviation, which is a useful measure of dispersion for the wrapped normal distribution and its close relative, the von Mises distribution is given by:

s=ln(R-2)1/2=\sigma

Estimation of parameters

A series of N measurements zn = e n drawn from a wrapped normal distribution may be used to estimate certain parameters of the distribution. The average of the series is defined as

\overline{z}=1
N
N
\sum
n=1

zn

and its expectation value will be just the first moment:

i\mu-\sigma2/2
\langle\overline{z}\rangle=e

.

In other words, is an unbiased estimator of the first moment. If we assume that the mean μ lies in the interval [-ππ), then Arg  will be a (biased) estimator of the mean μ.

Viewing the zn as a set of vectors in the complex plane, the 2 statistic is the square of the length of the averaged vector:

\overline{R}2=\overline{z}\overline{z

*}=\left(1
N
N
\sum
n=1
2+\left(1
N
\cos\theta
n\right)
N
\sum
n=1
2
\sin\theta
n\right)

and its expected value is:

\left\langle\overline{R}2\right\rangle=

1+
N
N-1
N
-\sigma2
e

In other words, the statistic

2=N
N-1
R
e
2-1
N
\left(\overline{R}

\right)

will be an unbiased estimator of e-σ2, and ln(1/Re2) will be a (biased) estimator of σ2

Entropy

The information entropy of the wrapped normal distribution is defined as:[2]

H=-\int\GammafWN(\theta;\mu,\sigma)ln(fWN(\theta;\mu,\sigma))d\theta

where

\Gamma

is any interval of length

2\pi

. Defining

z=ei(\theta-\mu)

and
-\sigma2
q=e
, the Jacobi triple product representation for the wrapped normal is:

fWN(\theta;\mu,\sigma)=

\phi(q)
2\pi
infty
\prod
m=1

(1+qm-1/2z)(1+qm-1/2z-1)

where

\phi(q)

is the Euler function. The logarithm of the density of the wrapped normal distribution may be written:

ln(fWN(\theta;\mu,\sigma))=ln\left(

\phi(q)
2\pi
inftyln(1+q
\right)+\sum
m=1

m-1/2

inftyln(1+q
z)+\sum
m=1

m-1/2z-1)

Using the series expansion for the logarithm:

infty
ln(1+x)=-\sum
k=1
(-1)k
k

xk

the logarithmic sums may be written as:

inftyln(1+q
\sum
m=1

m-1/2z\pm

infty
)=-\sum
m=1
infty
\sum
k=1
(-1)k
k

qmk-k/2z\pm=

infty
-\sum
k=1
(-1)k
k
qk/2
1-qk

z\pm

so that the logarithm of density of the wrapped normal distribution may be written as:

ln(fWN(\theta;\mu,\sigma))=ln\left(

\phi(q)
2\pi
infty
\right)-\sum
k=1
(-1)k
k
qk/2
1-qk

(zk+z-k)

which is essentially a Fourier series in

\theta

. Using the characteristic function representation for the wrapped normal distribution in the left side of the integral:

fWN(\theta;\mu,\sigma)=

1
2\pi
infty
\sum
n=-infty
n2/2
q

zn

the entropy may be written:

H=-ln\left(

\phi(q)\right)+
2\pi
1
2\pi

\int\Gamma\left(

infty
\sum
k=1
(-1)k
k
(n2+k)/2
q
1-qk

\left(zn+k+zn-k\right)\right)d\theta

which may be integrated to yield:

H=-ln\left(

\phi(q)
2\pi
infty
\right)+2\sum
k=1
(-1)k
k

(k2+k)/2
q
1-qk

See also

References

  1. D. . Collett . T. . Lewis . Discriminating Between the Von Mises and Wrapped Normal Distributions . Australian Journal of Statistics . 23 . 1 . 1981 . 73–79 . 10.1111/j.1467-842X.1981.tb00763.x .
  2. Book: Mardia, Kantilal . Directional Statistics . Kantilal Mardia . Jupp, Peter E. . 1999. Wiley . 978-0-471-95333-3 .
  3. Book: Whittaker, E. T. . . E. T. Whittaker . Watson, G. N. . G. N. Watson . 2009 . Book Jungle . 978-1-4385-2815-1 .

External links