Harmonic distribution
{{Probability distribution Harmonic distribution is an encyclopedia record, sourced from en.wikipedia.org, last updated 2025-09-27, source revision https://en.wikipedia.org/w/index.php?oldid=1313639693. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
{{Probability distribution | name = Harmonic | type = density | pdf_image = | cdf_image = | notation = \mathrm{Harm}(m,a)\, | parameters = m ≥ 0, a ≥ 0 | support = x > 0 | pdf = \frac{1}{2xK_{0}(a)}\exp\left(-\frac{a}{2} \left(\frac{x}{m}+\frac{m}{x} \right)\right) | mean = m\frac{K_1(a)}{K_0(a)} | median = m | mode = \frac{m(\sqrt{a^2+1}-1)}{a} | variance = m^2\left(1+\frac{2K_1(a)}{K_0(a)a}-\frac{K_1^2(a)}{K_0^2(a)}\right) | skewness = \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}} | 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 \gamma=0 . f(x;m,a)= \frac{1}{2xK_0(a)}\exp\left(-\frac{a}{2}\left(\frac{x}{m}+\frac{m}{x}\right)\right) where K_0(a) denotes the third kind of the modified Bessel function with index 0, m \ge 0, a \ge 0. \mu'_r = \int_0^\infty x^r f(x;m,a) \, dx= m^r \frac{K_r(a)}{K_0(a)} where: r denotes the order of the moment. Hence the mean and the succeeding three moments about it are \gamma_1=\frac{\mu_3}{\mu_2^{3/2}}=\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}} Always \gamma_1>0 , so the mass of the distribution is concentrated on the left. \gamma_2=\frac{\mu_4}{\mu_2^2} = \frac{K_0^3(a)K_4(a)-4K_0^2(a)K_1(a) K_3(a) + 6K_0(a) K_1^2(a) K_2(a)-3K_1^4(a)}{(K_0(a)K_2(a)-K_1^2(a))^2} Always \gamma_2>0 the distribution has a high acute peak around the mean and fatter tails. L(a,m)= \prod_{i=1}^n f(x_i\mid a,m)= \prod_{i=1}^n \frac{1}{2x_i K_0(a)} \exp\left[-\frac{a}{2} \left(\frac{x_i}{m}+\frac{m}{x_i}\right)\right]. After that, the log-likelihood function is \ell(a,m) = \ln L(a,m)= -n\ln(2K_0(a)) - \sum_{i=1}^n \ln x_i + \frac{a}{2m} \sum_{i=1}^n x_i +\frac{am}{2}\sum_{i=1}^n \frac{1}{x_i}. From the log-likelihood function, the likelihood equations are \frac{\partial\ell}{\partial a} = -n\frac{K_0'(a)}{K_0(a)} + \frac{1}{2m} \sum_{i=1}^n x_i + \frac{m}{2} \sum_{i=1}^n \frac{1}{x_i}=0, \frac{\partial\ell}{\partial m} = \frac{1}{2m^2} \sum_{i=1}^n x_i +\frac{a}{2} \sum_{i=1}^n \frac{1}{x_i} = 0. These equations admit only a numerical solution for a, but we have \hat{m}=\sqrt{\frac{\bar{H}}{\bar{H}_{-1}}}; \qquad \sqrt{\bar{H}\bar{H}_{-1}}=\frac{K_1(\hat{a})}{K_0(\hat{a})}. \mu = m\frac{K_1(a)}{K_0(a)} \\ \sigma^2 = m^2 \left( 1+\frac{2K_1(a)}{K_0(a)a}-\frac{K_1^2(a)}{K_0^2(a)}\right) \end{cases} Note that \sigma^2 = \mu^2\left(\frac{2K_0(a)}{K_1(a)}\right)^2+\frac{2K_0(a)\mu^2}{K_1(a)a}- \mu^2 The method of moments consists in to solve the following equations: \begin{cases} \bar{H}=m\frac{K_1(a)}{K_0(a)} \\ s^2= \bar{H}^2 \left( \frac{2K_0(a)}{K_1(a)} \right)^2+\frac{2K_0(a)\bar{H}^2}{K_1(a)a}- \bar{H}^2 \end{cases} where s^2 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}=\frac{\bar{H}K_0(\hat{a})}{K_1(\hat{a})}. f(x\mid m,\gamma)= \frac{x^{\gamma-1}}{2m^\gamma K_\gamma(a)}\exp\left[-\frac{a}{2} \left(\frac{x}{m}+\frac{m}{x}\right)\right] The density of the generalized inverse Gaussian distribution family corresponds to the harmonic law when \gamma=0 . 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(\frac{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. 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.
Cite this
"Harmonic distribution". 1758958318. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1313639693 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy