Received 30 March 2016; accepted 23 May 2016; published 26 May 2016
In several previous studies  -  , we have obtained close formula of the Gini mean difference for many continuous and discrete distributive models. In those papers, due to the difficulty in finding a solution for the various integrals featuring the error function, we were unable to deduce the formula of the mean difference of the lognormal model. The aim of this study is to bridge that gap.
2. Lognormal Distribution
The density function of the lognormal distribution is:
Without going into generalizations, given that the mean difference is independent of the position parameter and homogenous of the scale parameter, we consider the standardized model with θ = 0
The cumulative distribution function of the lognormal distribution is:
3. The Mean Difference
Given a continuous variable with density function:
cumulative distribution function
and first incomplete moment
the mean difference of the distribution can be expressed by various formulas. The original formula is
the formula based on the density function, and the cumulative distribution function is
another option being the formula based on the density function, the cumulative distribution function and the first incomplete moment:
and, lastly, the formula based solely on the cumulative distribution function is
For our purposes of calculating the mean difference of the lognormal distribution, we utilize the last formula.
4. Selected Integrals for the Error Function
The error function is a particular integral pertaining to a variant of the normal distribution
The following graph shown in Figure 1 represents the error function for x between −3 and +3.
Linked to the function of errors, we have the complementary error function
It can be easily seen that
The calculation of the mean difference of the lognormal distribution requires the utilization of integrals involving various functions, one of these being the error function. These integrals, not available for consideration in standard mathematical calculation software, are presented here in forms rendered highly adaptable to various needs. In our adaptation, in order to obtain the mean difference of the lognormal model, these integrals have been listed as follows
Figure 1. Function of error for x between −3 and 3.
The first two integrals are easily calculated using mathematical software. The following two are very hard and were calculated considering particular cases of an integral given by Prudnikov, Brychkov and Marichev, 1986. The last two integrals were obtained by subtracting the first integral from the third, twice, and the second integral from the fourth, twice.
5. Calculation Procedure for the Mean Difference of Lognormal Distribution
To calculate the mean difference of lognormal distribution, it is possible to start from one of the four formulas indicated in paragraph 2. After several attempts, we opted for the formula based solely on the cumulative distribution function
The cumulative distribution function of lognormal distribution, as indicated in paragraph 2, is
Utilizing the said cumulative distribution function in the Δ formula, after some simplifications, we obtain
introducing the transformation of the variable
we achieve the formula:
which, due to the symmetry of the error function, can also be expressed by the negative argument of the exponential function
splitting the two integrals, we obtain the formulas
Considering the presence of equality
the formula for the mean difference can be expressed by utilizing only the integrals defined by the positive semi- axis
The two integrals in this formula were obtained in the previous paragraph, introducing them into the said formula and simplifying, we obtain the extremely simple expression for the mean difference of the lognormal distribution:
Through a painstaking process utilizing selected hard integrals with functions including the error function, we have obtained an extremely simple formula of the mean difference of the lognormal distribution. This result can be added to the other findings regarding other distribution models. This result is useful for elaborating in-depth characterizations of the lognormal model and facilitating comparisons with other variability indexes of the said model.
Attributions of Work
Girone Sections 2, 4 and 6, Manca Sections 1, 3 and 5.
 Girone, G. and Mazzitelli, D. (2007) La differenza media nei principali modelli distributivi continui, Annali del Dipartimento di Scienze Statistiche “Carlo Cecchi” dell’Università degli Studi di Bari, Cacucci Editore.
 Girone, G., Massari, A. and Mazzitelli, D. (2015) More on the Mean Difference of Continuous Distributive Models. Spontaneous Contribution in the Proceedings/Book of Abstracts of the SIS Conference “Statistics and Demography: The Legacy of Corrado Gini”, Treviso, 9-11 Settembre 2015.
 Girone, G., Manca, F. and D’Uggento, A.M. (2015) The Mean Difference of Discrete Distribution Models. Spontaneous Contribution in the Proceedings/Book of Abstracts of the SIS Conference “Statistics and Demography: The Legacy of Corrado Gini”, Treviso, 9-11 Settembre 2015.