Stata Technical Bulletin
27

Generalized Lorenz Curves
Figure 1. Generalized Lorenz curves for household incomes by head of household gender.
One may prefer to focus on comparisons of Lorenz curves for the two groups. In this case, we should first type the following
in order to construct the income measure divided by the relevant subgroup average:
. generate eqinc.m = eqinc
. for O l,l(n): su eqinc-m if headfem==® // replace
> eqinc_m=eqinc_m/_result (3) if headfem==®
We can then build and draw the Lorenz curves, together with the 45 degree line which corresponds to the Lorenz curve
for a perfectly equal distribution, with the following commands:
. glcurve eqinc-m, glvar(lc) pvar(p) by(headfem) split nograph
. graph lc_* p p ,s(...) c(lll) xlabel(0,0.25,0.50,0.75,1)
> ylab(0,0.25,0.50,0.75,1) yline(0tl) xline(0t 1) noaxis
eqinc_m[Male]
Cum. Pop. Prop.
eqinc_m[Female]

Population Share, p_i
Lorenz Curves
Figure 2. Comparing Lorenz curves for the two groups in Figure 1.
In order to illustrate the use of the sortvar(.) option, let us draw now a Concentration curve. Suppose we wish to see
how child benefits are distributed relative to the income distribution. Let us draw the Concentration curve of chpay (solid line)
along with the Lorenz curve of eqinc (dashed line).
. summarize eqinc
. replace eqinc-m = eqinc∕-result(3)
. glcurve eqinc-m, gl(lc) p(p) replace nograph
. summarize chpay
. generate mchpay = chpay∕-result(3)
. glcurve mchpay , gl(cc) sort(eqinc-m) nograph
. graph Ic cc p pt c(lll) s(...) xlabel(0,0.25,0.50,0.75,1)
> ylabel(0,0.25,0.50,0.75,1) yline(0tl) xline(0t 1) noaxis
More intriguing information
1. The name is absent2. A THEORETICAL FRAMEWORK FOR EVALUATING SOCIAL WELFARE EFFECTS OF NEW AGRICULTURAL TECHNOLOGY
3. The name is absent
4. Explaining Growth in Dutch Agriculture: Prices, Public R&D, and Technological Change
5. Distribution of aggregate income in Portugal from 1995 to 2000 within a SAM (Social Accounting Matrix) framework. Modeling the household sector
6. The name is absent
7. CGE modelling of the resources boom in Indonesia and Australia using TERM
8. Correlation Analysis of Financial Contagion: What One Should Know Before Running a Test
9. The WTO and the Cartagena Protocol: International Policy Coordination or Conflict?
10. Gender and aquaculture: sharing the benefits equitably