Probability density function | |||
Cumulative distribution function | |||
Notation | [math]\displaystyle{ \mathrm{Harm}(m,a)\, }[/math] | ||
---|---|---|---|
Parameters | m ≥ 0, a ≥ 0 | ||
Support | x > 0 | ||
[math]\displaystyle{ \frac{1}{2xK_{0}(a)}\exp\left(-\frac{a}{2} \left(\frac{x}{m}+\frac{m}{x} \right)\right) }[/math] | |||
Mean | [math]\displaystyle{ m\frac{K_1(a)}{K_0(a)} }[/math] | ||
Median | m | ||
Mode | [math]\displaystyle{ \frac{m(\sqrt{a^2+1}-1)}{a} }[/math] | ||
Variance | [math]\displaystyle{ m^2\left(1+\frac{2K_1(a)}{K_0(a)a}-\frac{K_1^2(a)}{K_0^2(a)}\right) }[/math] | ||
Skewness | [math]\displaystyle{ \frac{K_0^2(a)K_3(a)-3K_0(a)K_1(a)K_2(a)+2K_1^3(a)}{(K_0(a)K_2(a)-K_1^2(a))^{3/2}} }[/math] | ||
Kurtosis | (see text) |
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 [math]\displaystyle{ \gamma=0 }[/math].
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 scale and under reciprocals, such that the maximum likelihood estimator of the population mean is the sample mean (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]
The harmonic distribution will be denoted by [math]\displaystyle{ \theta(m,a) }[/math]. 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.
The density function of the harmonic law, which depends on two parameters,[3] has the form,
where
To derive an expression for the non-central moment of order r, the integral representation of the Bessel function can be used.[4]
where:
Hence the mean and the succeeding three moments about it are
Order | Moment | Cumulant |
---|---|---|
1 | [math]\displaystyle{ \mu_1 = m\frac{K_1(a)}{K_0(a)} }[/math] | [math]\displaystyle{ \mu }[/math] |
2 | [math]\displaystyle{ \mu_2 = m^2\left(\frac{K_2(a)}{K_0(a)}-\frac{K_1^2(a)}{K_0^2(a)}\right) }[/math] | [math]\displaystyle{ \sigma^2 }[/math] |
3 | [math]\displaystyle{ \mu_3 = m^3 \left(\frac{K_3(a)}{K_0(a)}-3\frac{K_1(a)K_2(a)}{K_0^2(a)} +2 + \frac{K_1^2(a)}{K_0^3(a)}\right) }[/math] | [math]\displaystyle{ k_3 }[/math] |
4 | [math]\displaystyle{ \mu_4 = m^4\left(\frac{K_4(a)}{K_0(a)}-4\frac{K_1(a)K_3(a)}{K_0^2(a)} + 6\frac{K_1^2(a)K_2(a)}{K_0^3(a)} - 3\frac{K_1^4(a)}{K_0^4(a)}\right) }[/math] | [math]\displaystyle{ k_4 }[/math] |
Skewness is the third standardized moment around the mean divided by the 3/2 power of the standard deviation, we work with,[4]
The coefficient of kurtosis is the fourth standardized moment divided by the square of the variance., for the harmonic distribution it is[4]
The likelihood function is
After that, the log-likelihood function is
From the log-likelihood function, the likelihood equations are
These equations admit only a numerical solution for a, but we have
The mean and the variance for the harmonic distribution are,[3][4]
Note that
The method of moments consists in to solve the following equations:
where [math]\displaystyle{ s^2 }[/math] is the sample variance and [math]\displaystyle{ \bar{H} }[/math] is the sample mean. Solving the second equation we obtain [math]\displaystyle{ \hat{a} }[/math], and then we calculate [math]\displaystyle{ \hat{m} }[/math] using
The harmonic law is a sub-family of the generalized inverse Gaussian distribution. The density of GIG family have the form
The density of the generalized inverse Gaussian distribution family corresponds to the harmonic law when [math]\displaystyle{ \gamma=0 }[/math].[3]
When [math]\displaystyle{ a }[/math] tends to infinity, the harmonic law can be approximated by a normal distribution. This is indicated by demonstrating that if [math]\displaystyle{ a }[/math] tends to infinity, then [math]\displaystyle{ U=\sqrt{a}\left(\frac{X}{m}-1\right) }[/math], which is a linear transformation of X, tends to a normal distribution ([math]\displaystyle{ N(0,1) }[/math]).
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]
Original source: https://en.wikipedia.org/wiki/Harmonic distribution.
Read more |