1 Introduction

The research on income and its distribution occupies an important place in economic theory, and its results are a valuable source of information both for scientists as well as for public institutions as a basis for shaping social policy. Income distribution is also an important element of research on the living conditions of the society and the general condition of the economy.

The income distribution can be described in several ways. The first one consists in providing a synthetic index characterizing a selected trait of distribution, mainly inequality, for example Gini coefficient (Gini 1912, 1914, 1921), Lorenz curve (1905), Pietra inequality index (Pietra 1915) as well as Zenga inequality index (Zenga 2007). The contrast of the Gini and Zenga indices, application them for the analysis of incomes in various countries, and development empirical estimation methodologies for light- and heavy-tailed distributions is the subject of the work of Gresselin et al. (2010, 2013, 2014).

More complete information on the distribution of income can be obtained using an empirical distribution, for example, a histogram or quantiles. In this case, however, it is not always possible to determine all values of the distribution characteristics, e.g. modal, without grouping the data. On the other hand, using only grouped data may be a source of problems with closing extreme class intervals, which is necessary to determine many other distribution characteristics. The above problems can be avoided by using the theoretical distribution as an income distribution model.

The first theoretical function describing the distribution of income was proposed by Pareto in 1897 in Cours d'Economie Politique, formulating it in the form of the Pareto law (Pareto 1964). A detailed description of the Pareto distribution and the research conducted with the participation of this distribution was described by Arnold (1983). Another very popular theoretical model of income distribution is the log-normal (LN) distribution. It was popularized by Aitchison and Brown (1957). In the literature, the LN distribution is available in two versions—two-parameter and three-parameter distribution, but the three-parameter distribution differs from the two-parameter distribution only in position, and not in shape or variance.

Another group of 12 theoretical distributions was proposed by Burr. Some of the Burr distributions are used in the literature under other names, e.g. the type III Burr distribution is sometimes called the Dagum distribution (Dagum 1985), and the Burr distribution of the XII type by the Singh-Maddali distribution (cf. Singh and Maddala 1976). Burr distributions of type III and XII are special cases of generalized beta distribution (McDonald and Xu 1995; Ulman 2011).

Other theoretical models of wage and income distributions include the gamma distribution used by Salem and Mount (1974) to describe the US income distribution in 1960–69, the family of functions to describe Champernowne's (1953) pre-tax income distribution, and the distribution of Gram-Charlier type A used by Rutherford (1955).

In this paper, a new three-parameter model for distributions proposed by Zenga (2010) was applied. This model is a Beta mixture defined for non-negative distributions indicated for describing income, financial and actuarial distributions. Zenga model has three parameters: \(\mu\) is a scale parameter and it is equal to the expected value, \(\alpha\) and \(\theta\) are shape parameters that inequality depends on. It means that this distribution controls the location and inequality separately so restrictions on the expected value and inequality measure can be imposed separately (Arcagni and Porro 2013). The estimated parameters of Zenga distribution can be found, through D’Addario’s invariants method (Zenga et al. 2010a; Arcagni 2011).

The Zenga model was used to describe the income distributions for Italy, Swiss, the United States, the United Kingdom (Zenga et al. 2010b), Poland (Jędrzejczak and Trzcińska 2018), the Czech Republic (Trzcińska 2022). The parameters for Germany and France have not been estimated.

The aim of this paper is to apply the Zenga distribution for equivalent disposable income from the last two waves of European Quality of Life Surveys for Germany and France (both for total society and selected socio-economic groups) and to assess the goodness of fit to empirical data. For this purpose, a new measure of fit based on the distance between empirical and theoretical distribution was applied.

2 Mathematical and statistical properties of Zenga distribution

The three-parameter model was introduced by Zenga (2010, 2010a, 2012). The density function \(f(x:\mu ;\;\alpha ;\;\theta )\) in Zenga distribution has been obtained as a mixture of Polisicchio’s (2008) following truncated Pareto density:

$$v\left( {x:\mu;\;k} \right) = \left\{ \begin{gathered} \frac{\sqrt \mu }{2}k^{0.5} \left( {1 - k} \right)^{ - 1} x^{ - 1.5} ,\;\mu k \le x \le \frac{\mu }{k};\quad \mu > 0,\;0 < k < 1 \hfill \\ 0,\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad {\text{otherwise,}} \hfill \\ \end{gathered} \right.$$
(1)

a fixed \(\mu >0\) and all the values of k in the interval \((0;1)\). The density on the parameter k is given by the beta density and has the following form:

$$g\left( {k:\alpha ;\;\theta } \right) = \left\{ \begin{gathered} \frac{{k^{{\alpha - 1}} (1 - k)^{{\theta - 1}} }}{{B(\alpha ;\;\theta )}},\quad 0 < k < 1;\;\theta > 0,\alpha > 0 \hfill \\ 0,\quad \quad \quad \quad \quad \quad {\text{otherwise}} \hfill \\ \end{gathered} \right.$$
(2)

where \(B(\alpha;\;\theta )\) is the beta function.

The model is characterized by the probability density function \(f(x:\mu ;\alpha ;\theta )\), (\(\mu >0; \alpha >0; \theta >0\)) for non-negative variables:

$$f\left(x:\mu;\;\alpha;\;\theta \right)={\int }_{0}^{1}v\left(x:\mu;\;k\right)g\left(k:\alpha;\;\theta \right)dk =\left\{\begin{array}{c}\begin{array}{ccc}\frac{1}{2\mu B\left(\alpha ;\theta \right)}{\left(\frac{x}{\mu }\right)}^{-1.5}{\int }_{0}^{\frac{x}{\mu }}{k}^{\alpha -0.5}{\left(1-k\right)}^{\theta -2}dk,& \mathrm{for}& 0<x<\mu \end{array}\\ \begin{array}{ccc}\frac{1}{2\mu B\left(\alpha;\;\theta \right)}{\left(\frac{\mu }{x}\right)}^{1.5}{\int }_{0}^{\frac{\mu }{x}}{k}^{\alpha -0.5}{\left(1-k\right)}^{\theta -2}dk,& \mathrm{for}& x>\mu .\end{array}\end{array}\right.$$
(3)

Graphs of the density function of Zenga distribution for different levels of parameters \(\theta\) (on the left) and \(\alpha\) (on the right) are presented in Fig. 1.

Fig. 1
figure 1

The density functions of Zenga distribution

It is easy to see that

$$\underset{x\to {0}^{+}}{\mathrm{lim}}f\left(x;\mu ,\alpha ,\theta \right)=\left\{\begin{array}{cc}+\infty & \mathrm{ if}\;0<\alpha <1\\ \frac{\theta }{3\mu }& \mathrm{if} \alpha =1\\ 0& \mathrm{if} \alpha >1\end{array}\right.$$
(4)

and

$$\mathop {{\text{lim}}}\limits_{{x \to \mu }} f\left( {x;\;\mu ,\alpha ,\theta } \right) = \left\{ \begin{gathered} \frac{{B\left( {\alpha + \frac{1}{2};\;\theta - 1} \right)}}{{2\mu B(\alpha ,\theta )}}\quad {\text{if}}\;\theta > 1 \hfill \\ + \infty \quad \quad \quad \quad \quad \quad \;{\text{if}}\;0 < \theta \le 1. \hfill \\ \end{gathered} \right.$$
(5)

In the case \(\theta >0\), the cumulative distribution function \(F(x:\mu ;\alpha ;\theta )\) is described by the equation

$$F\left(x:\mu;\;\alpha;\;\theta \right)=\left\{\begin{array}{c}\frac{1}{B\left(\alpha ,\theta \right)}\sum_{i=1}^{\infty }\left\{IB\left(\frac{x}{\mu };\;\alpha +i-1;\;\theta \right)-{\left(\frac{\mu }{x}\right)}^{0.5}IB\left(\frac{x}{\mu };\;\alpha +i-0.5;\;\theta \right)\right\},\\ \mathrm{if } 0<x\le \mu \\ \begin{array}{c}1-\frac{1}{B\left(\alpha ,\theta \right)}\sum_{i=1}^{\infty }\left\{{\left(\frac{\mu }{x}\right)}^{0.5}IB\left(\frac{\mu }{x};\;\alpha +i-0.5;\;\theta \right)-IB\left(\frac{\mu }{x};\;\alpha +i;\;\theta \right)\right\},\\ \mathrm{if} \mu <x.\end{array}\end{array}\right.$$
(6)

where

$$IB\left(x;\;\alpha ;\;\theta \right)=\begin{array}{cc}{\int }_{0}^{x}{t}^{\alpha -1}{\left(1-t\right)}^{\theta -1}dt,& 0<x<1,\end{array}$$
(7)

is the incomplete beta function.

Graphs of the cumulative distribution function of Zenga distribution for different levels of parameters \(\theta\) (on the left) and \(\alpha\) (on the right) are presented in Fig. 2.

Fig. 2
figure 2

The cumulative distribution functions of Zenga distribution

It is interesting to note that the parameter \(\alpha\) governs the behavior of the density function as x tends to 0, while the value of the parameter \(\theta\) regulates the finiteness of the function in the neighborhood of \(\mu\). The parameter α is an inverse inequality indicator and \(\theta\) is a direct inequality indicator. In particular the bigger value of the parameter α the less unequal the distribution (Porro 2015). The expected value \(E(X)\) is always equal to the parameter μ.

3 Data and methods

In this paper all calculations are based on the data from research European Quality of Life Surveys (EQLS), the data of monthly household income has been recalculated into the net equivalent income per member of the household expressed in Euro. The purpose of the European Quality of Life Surveys is to measure both objective and subjective indicators of the standard of living of citizens and their households. The Zenga model for the socio-economic group in Germany and France was used for two periods: 2007 and 2016.

To investigate the goodness of fit of theoretical distribution to the empirical one Zenga proposed: the Mortara index \({A}_{1}\), the quadratic K. Pearson index \({A}_{2}\) and the modified quadratic index \({A}_{2}^{^{\prime}}\) which are described by the following formulas (Zenga et al. 2012):

$${A}_{1}=\frac{1}{n}\sum_{j=1}^{s}|{n}_{j}-{\widehat{n}}_{j}|,$$
(8)
$${A}_{2}=\sqrt{\frac{1}{n}\sum_{j=1}^{s}\frac{{({n}_{j}-{\widehat{n}}_{j})}^{2}}{{\widehat{n}}_{j}}} ,$$
(9)
$${A}_{2}^{\mathrm{^{\prime}}}=\sqrt{\frac{1}{n}\sum_{j=1}^{s}\frac{{({n}_{j}-{\widehat{n}}_{j})}^{2}}{{n}_{j}}},$$
(10)

where \({n}_{j}\) and \({\widehat{n}}_{j}\) are respectively the empirical and the estimated frequencies of the jth interval.

However, all these measures are not suitable for small data sets because they require data aggregation. To find a degree of adjustments of a theoretical distribution to the empirical one, the Wasserstein-Kantorovich distance was applied. This measure has a long history and continues to attract interest from diverse fields in statistics, machine learning, and computer science, in particular image analysis Santambrogio (2015), Peyre and Cuturi (2019), and Panaretos and Zemel (2020).

The Wasserstein-Kantorovich distance between empirical \({F}_{p}\) and theoretical \({F}_{q}\) cumulative distribution function is computed as:

$${d}_{W}=\underset{X}{\overset{}{\int }}|{F}_{p}\left(x\right)-{F}_{q}\left(x\right)|dx.$$
(11)

It should be noted that the maximum value of the income affects the distance between cumulative distribution functions. The distance is greater the higher the maximum income is. To overcome this dependency and compare the goodness of fit of the Zenga distribution between the studied countries as well as in various socio-economic groups, the Wasserstein-Kantorovich measure was normalized. The area between theoretical and empirical cumulative distribution function was divided by the rectangle area, where length is the value of the highest income in a given set and width is maximum value of the cumulative distribution function, which equals to 1. This allows for the standardization of the distance between cumulative distribution functions in the range from [0, 1). The measure equal to 0 means full compliance (overlapping of the empirical and theoretical cumulative graphs). This is rather theoretical situation in which the area between the empirical and theoretical cumulative distribution functions is equal to 0. A value close to 1 means a full cumulative mismatch. The presented measures of distributions similarity have a clear interpretation. The lower the value of \({d}_{W}\), and normalized \({d}_{W}\) the higher the consistency of compared distributions.

The parameters estimates were obtained by means of D’Addario’s invariants method, as it is described in (D’Addario 1934, 1939; Zenga 2010). Numerical methods of optimization were carried out using Mathematica program.

4 Results of applying Zenga distribution for equivalized income in France and Germany

In this chapter, the results of applying Zenga distribution for equivalent income in France and Germany are discussed. Table 1 presents descriptive characteristics of the data set.

Table 1 Descriptive characteristics of equivalized income in Germany and France based on the data coming from EQLS

The data sets range from 994 observations for France in 2016 to 1437 observations for Germany. Each of the above distributions is extremely right-sided asymmetric. The biggest asymmetry is for France in 2007–it is caused by extremely high maximum observation, which equals 46,700€. Both measures of differentiation and shape measures (asymmetry, kurtosis) are higher for France than for Germany.

Table 2 presents estimation results and measures of goodness of fit for income distributions in Germany and France.

Table 2 Estimation results for income distributions in Germany and France based on the data coming from EQLS

Considering the measure of the Wasserstein-Kantorovich distance, the best match was recorded for Germany in 2007. It is easy to see that the fit measured with this measure is better the larger the sample size. As expected, a significantly higher value of the Wasserstein-Kantorovich measure was observed for France in 2007. In this data set, the maximum value of income was almost 2 times higher than for France in 2016 and almost 7 times higher than in the rest of the data. After applying the normalized measure the Wasserstein-Kantorovich distance, the best fit was obtained for Germany in 2007 and France in 2016. These observations are confirmed by Figs. 3, 4, 5 and 6 presenting the empirical distribution and density function of the Zenga distribution.

Fig. 3
figure 3

Density function of Zenga distribution fitted to empirical distribution for France 2016

Fig. 4
figure 4

Density function of Zenga distribution fitted to empirical distribution for Germany 2016

Fig. 5
figure 5

Density function of Zenga distribution fitted to empirical distribution for France 2007

Fig. 6
figure 6

Density function of Zenga distribution fitted to empirical distribution for Germany 2007

The above-described relationship can also be observed in Figs. 7, 8, 9 and 10 presenting empirical and theoretical distributions. Clearly, the worst match is for Germany in 2016 and the best for Germany in 2007.

Fig. 7
figure 7

Empirical and theoretical distributions in France 2007

Fig. 8
figure 8

Empirical and theoretical distributions in Germany 2007

Fig. 9
figure 9

Empirical and theoretical distributions in France 2016

Fig. 10
figure 10

Empirical and theoretical distributions in Germany 2016

5 Results of applying Zenga distribution for equivalized income in socio-economics groups in France and Germany

Table 3 shows the descriptive characteristics of the socioeconomic groups of France and Germany. In both studied countries, the size of the studied groups is diversified—the least numerous groups are students and unable to work. The most numerous groups are employees and retired. In the distinguished subgroups, a high or very high level of differentiation and asymmetry can be observed. In extreme cases (employed France 2007) variation coefficient equals 1.237.882 and the asymmetry coefficient—24.41. In other cases, the asymmetry coefficient ranges from 0.4441 (unable to work France 2016) to 16.78270 (retired France 2007).

Table 3 Descriptive characteristics of equivalized income in socio-economic groups in France 2016 based on the data coming from EQLS

A graphical presentation of the distributions for the studied countries in selected socio-economic groups is shown in Fig. 11.

Fig. 11
figure 11

The density distribution functions of the Zenga model for employees (on the left) and retired (on the right)

For employed, a shift in the shape of the distribution (a marked change in the height of the distribution) in both countries was observed in 2016 compared to 2007. In the case of Germany, a shift to the right (towards higher income values) was also observed. Similar behavior of the distributions was noticed for the retired. The results of the approximation of the empirical income distributions in Germany and France for socio-economic groups in two periods of time by means of the Zenga model, together with the goodness of fit measures dW and normalized dW are presented in Table 4.

Table 4 Estimation results for income distributions by socio-economic group in Germany and France based on the data coming from EQLS

For socio-economic groups in France in 2007, the best match was obtained for employed. The worst fit, on the other hand, was recorded for students. It is also the smallest group—it has only 24 observations. The analysis of the distance between cumulative distribution functions in subsequent data sets confirms the observed relationship that the best match is observed for significantly more numerous groups (employed, retired) and the worst for the least numerous group in a given data subset. It should be noted, however, that the Zenga distribution fits well even for small and very small samples. In 4 out of 15 cases where the group size was less than 100 observations, and in 4 out of 8 cases when the group size was less than 50, the distance between cumulative distribution function is less than 0.05. The greatest distance between cumulative distribution function was observed for the unable to work, whose number was less than 20 observations, yet this measure was 0.070985, which is less than 0.1.

6 Conclusions

In the article, the Zenga distribution was applied to description of the distribution of equivalent income for France and Germany for the last two waves of the EQLS research (2007 and 2016). Parameters were estimated for the entire country as well as for individual socio-economic groups. The obtained parameters were assessed for fitting to empirical data using two measures—the Wasserstein-Kantorovich and the Wasserstein-Kantorovich standardized measure.

The analysis of the obtained results allows to state that the Zenga distribution can fit the income distributions both for small as well as large values. Similar results were obtained using the \({A}_{1}\), \({A}_{2}\) and \(A_{2}^{.\prime }\) measures (Zenga et al. 2010a; Arcagni and Porro 2013). It was shown that the Zenga distribution fits well with the data even with small and very small samples.

In the article, the goodness of fit measures proposed by Zenga were abandoned due to the need to aggregate data in the goodness of fit assessment procedure. It was considered that such an operation with trials of less than 100 observations may strongly influence the obtained results. For this reason, it was decided to use the Wasserstein-Kantorovich measure, which assesses the distance between the empirical and theoretical cumulative distribution function. This measure has not been used in the literature to assess the goodness of fit of the Zenga distribution yet. However, this measure is also not free from disadvantages because it is sensitive to outliers that are often found in variable distribution analyses with the Paretian right teil. For this reason, it was decided to modify the Wasserstein-Kantorovich distance by standardizing it. This was done by dividing the field between the cumulative distribution function by the rectangle area, where length is maximum income and width is maximum value of the cumulative distribution function. The applied measure allowed for the assessment of the distribution fit even in very small samples.