Harmonic distribution explained

In probability theory and statistics, the harmonic distribution is a continuous probability distribution. It was discovered by Étienne Halphen, who had become interested in the statistical modeling of natural events. His practical experience in data analysis motivated him to pioneer a new system of distributions that provided sufficient flexibility to fit a large variety of data sets. Halphen restricted his search to distributions whose parameters could be estimated using simple statistical approaches. Then, Halphen introduced for the first time what he called the harmonic distribution or harmonic law.The harmonic law is a special case of the generalized inverse Gaussian distribution family when

\gamma=0

.

History

One of Halphen's tasks, while working as statistician for Electricité de France, was the modeling of the monthly flow of water in hydroelectric stations. Halphen realized that the Pearson system of probability distributions could not be solved; it was inadequate for his purpose despite its remarkable properties. Therefore, Halphen's objective was to obtain a probability distribution with two parameters, subject to an exponential decay both for large and small flows.

In 1941, Halphen decided that, in suitably scaled units, the density of X should be the same as that of 1/X.[1] Taken this consideration, Halphen found the harmonic density function. Nowadays known as a hyperbolic distribution, has been studied by Rukhin (1974) and Barndorff-Nielsen (1978).[2]

The harmonic law is the only one two-parameter family of distributions that is closed under change of scaleand under reciprocals, such that the maximum likelihood estimator of the population mean is the samplemean (Gauss' principle).[3]

In 1946, Halphen realized that introducing an additional parameter, flexibility could be improved. His efforts led him to generalize the harmonic law to obtain the generalized inverse Gaussian distribution density.[1]

Definition

Notation

The harmonic distribution will be denoted by

\theta(m,a)

. As a result, when a random variable X is distributed following a harmonic law, the parameter of scale m is the population median and a is the parameter of shape.

X\sim\operatorname{Harm}(m,a)

Probability density function

The density function of the harmonic law, which depends on two parameters,[3] has the form,

f(x;m,a)=

1\exp\left(-
2xK0(a)
a\left(
2
x+
m
m
x

\right)\right)

where

K0(a)

denotes the third kind of the modified Bessel function with index 0,

m\ge0,

a\ge0.

Properties

Moments

To derive an expression for the non-central moment of order r, the integral representation of the Bessel function can be used.[4]

\mu'r=

infty
\int
0

xrf(x;m,a)dx=mr

Kr(a)
K0(a)

where:

Hence the mean and the succeeding three moments about it are

Order Moment Cumulant
1

\mu1=m

K1(a)
K0(a)

\mu

2

\mu2=

2\left(K2(a)
K0(a)
m-
2(a)
K
1
2(a)
K
0

\right)

\sigma2

3

\mu3=m3\left(

K3(a)-3
K0(a)
K1(a)K2(a)
2(a)
K
0

+2+

2(a)
K
1
3(a)
K
0

\right)

k3

4

\mu4=

4\left(K4(a)
K0(a)
m-4
K1(a)K3(a)
2(a)
K
0

+6

2(a)K
K
2(a)
3(a)
K
0

-3

4(a)
K
1
4(a)
K
0

\right)

k4

Skewness

Skewness is the third standardized moment around the mean divided by the 3/2 power of the standard deviation, we work with,[4]

\gamma=
1=\mu3
3/2
\mu
2
2(a)K
K0(a)K1(a)K2(a)+
3(a)
2K
1
3(a)-3K
(K2(a)-K
2(a))
1
3/2
0(a)K

\gamma1>0

, so the mass of the distribution is concentrated on the left.

Kurtosis

The coefficient of kurtosis is the fourth standardized moment divided by the square of the variance., for the harmonic distribution it is[4]

\gamma
2=\mu4
2
\mu
2

=

3(a)K
K
2(a)K
1(a)
K3(a)+6K0(a)
2(a)
K
1
K2(a)-3K
4(a)
1
4(a)-4K
(K2(a)-K
2(a))
1
2
0(a)K

\gamma2>0

the distribution has a high acute peak around the mean and fatter tails.

Parameter estimation

Maximum likelihood estimation

The likelihood function is

L(a,m)=

n
\prod
i=1

f(xi\mida,m)=

n
\prod
i=1
1\exp\left[-
2xiK0(a)
a\left(
2
xi+
m
m
xi

\right)\right].

After that, the log-likelihood function is

\ell(a,m)=lnL(a,m)=-nln(2K0(a))-

n
\sum
i=1

lnxi+

a
2m
n
\sum
i=1

xi+

am
2
n
\sum
i=1
1
xi

.

From the log-likelihood function, the likelihood equations are

\partial\ell
\partiala

=-n

K0'(a)
K0(a)

+

1
2m
n
\sum
i=1

xi+

m
2
n
\sum
i=1
1
xi

=0,

\partial\ell
\partialm

=

1
2m2
n
\sum
i=1

xi+

a
2
n
\sum
i=1
1
xi

=0.

These equations admit only a numerical solution for a, but we have

\hat{m}=\sqrt{\bar{H
}}; \qquad \sqrt=\frac.

Method of moments

The mean and the variance for the harmonic distribution are,[3] [4]

\begin{cases} \mu=m

K1(a)
K0(a)

\\ \sigma2=m2\left(1+

2K1(a)-
K0(a)a
2(a)
K
1
2(a)
K
0

\right) \end{cases}

Note that

\sigma2=

2\left(2K0(a)
K1(a)
\mu
2+
2
2K
0(a)\mu
K1(a)a
\right)

-\mu2

The method of moments consists in to solve the following equations:

\begin{cases} \bar{H}=m

K1(a)
K0(a)

\\ s2=\bar{H}2\left(

2K0(a)
K1(a)
2+2K0(a)\bar{H
2}{K
\right)
1(a)a}-

\bar{H}2 \end{cases}

where

s2

is the sample variance and

\bar{H}

is the sample mean. Solving the second equation we obtain

\hat{a}

, and then we calculate

\hat{m}

using
\hat{m}=\bar{H
K

0(\hat{a})}{K1(\hat{a})}.

Related distributions

The harmonic law is a sub-family of the generalized inverse Gaussian distribution. The density of GIG family have the form

f(x\midm,\gamma)=

x\gamma-1\exp\left[-
2m\gammaK\gamma(a)
a\left(
2
x+
m
m
x

\right)\right]

The density of the generalized inverse Gaussian distribution family corresponds to the harmonic law when

\gamma=0

.[3]

When

a

tends to infinity, the harmonic law can be approximated by a normal distribution. This is indicated by demonstrating that if

a

tends to infinity, then
U=\sqrt{a}\left(X
m

-1\right)

, which is a linear transformation of X, tends to a normal distribution (

N(0,1)

).

This explains why the normal distribution can be used successfully for certain data sets of ratios.[4]

Another related distribution is the log-harmonic law, which is the probability distribution of a random variable whose logarithm follows an harmonic law.

This family has an interesting property, the Pitman estimator of the location parameter does not depend on the choice of the loss function. Only two statistical models satisfy this property: One is the normal family of distributions and the other one is a three-parameter statistical model which contains the log-harmonic law.[2]

See also

Notes and References

  1. Book: Kots, Samuel L.. Encyclopedia of statistical sciences. 1982–1989. 5. 3059–3061 3069–3072.
  2. Rukhin. A.L.. Strongly symmetrical families and statistical analysis of their parameters. 1978. Journal of Soviet Mathematics . 9. 6 . 886–910. 10.1007/BF01092900 . 123063626 .
  3. Puig. Pere. A note on the harmonic law: A two-parameter family of distributions for ratios. 2008. Statistics and Probability Letters . 78. 3 . 320–326. 10.1016/j.spl.2007.07.024 .
  4. Perrault. L.. Bobée, B. . Rasmussen, P.F. . Halphen distribution system. I: Mathematical and statistical properties.. 1999. Journal of Hydrologic Engineering. 4 . 3 . 189–199. 10.1061/(ASCE)1084-0699(1999)4:3(189) .