In this article, I introduce a simple method for estimating an income distribution using only two representative statistics: the median income1 and the Gini coefficient2.
In this article, I focus on the log-logistic distribution as a probability distribution that can easily reproduce an income distribution from these two statistics.
Modeling the income distribution
The log-logistic distribution is also known in economics as the Fisk distribution, and it is commonly used to represent income distributions. The advantage of this probability distribution is that its parameters can be easily estimated from the median income and the Gini coefficient.
Specifically, this probability distribution has two parameters, a scale parameter \(\alpha\) and a shape parameter \(\beta\), and the following relationships are known to hold for these parameters. Using these relationships, we can easily set the parameters of the log-logistic distribution from the median income and the Gini coefficient.
The scale parameter \(\alpha\) equals the median income \(m\)\[
\alpha = m
\]
The shape parameter \(\beta\) equals the reciprocal of the Gini coefficient \(G\)\[
\beta = \frac{1}{G}
\]
Next, visualize the income distribution for each country. In the code below, I plot the income distribution of the G7 countries using the probability density function of the log-logistic distribution.
data_income_distribution_params <- income_distribution_params |># G7filter( country_name %in%c("Canada","France","Germany","Italy","Japan","United Kingdom","United States" ) ) |>expand_grid(income =seq(0, 150000, by =1000) ) |>mutate(density = VGAM::dfisk( income,scale = scale_param,shape1.a = shape_param ) ) |>select(!c(scale_param, shape_param))plot_income_distribution <- data_income_distribution_params |>ggplot(aes(x = income, y = density, color = country_name)) +geom_line() +scale_x_continuous(labels = scales::dollar_format(prefix ="$", big.mark =",", accuracy =1)) +scale_y_continuous(labels = scales::comma_format(accuracy =0.0001)) +labs(title ="Estimated income distribution of OECD countries (log-logistic distribution)",x ="Income (USD PPP)",y ="Probability density",color ="Country" ) +theme_minimal()plotly::ggplotly(plot_income_distribution)
Conclusion
In this article, I introduced a method for reconstructing an income distribution from its median and Gini coefficient using the log-logistic distribution. By using the log-logistic distribution, we can capture the overall shape of an income distribution from just these two statistics: the median income and the Gini coefficient.
Note that this method may differ from the actual income distribution. To estimate a more accurate income distribution, additional data and a more complex model would be required.
Footnotes
The median income is widely used as a representative statistic for income distributions because, unlike the mean, it is less affected by high-income earners.↩︎