Given a variable varname, call it x with c.d.f. F(x), glcurve draws its generalized Lorenz curve and/or generates two new variables containing the generalized Lorenz ordinates for x; i.e., GL(p) at each p = F(x). For a 公卫人
population ordered in ascending order of x, a graph of GL(p) against p plots the cumulative total of x divided by population size against cumulative population share GL(1) = mean(x). glcurve can also be used to derive many other 公卫人
related concepts such as Lorenz curves, concentration curves, and "three is of poverty" (TIP) curves, with appropriate definition of varname, order of cumulation (set with the sortvar option), and normalization (e.g., by means of 公卫家园
varname). glcurve with the lorenz, atip, or rtip option can also be used directly to draw the related Lorenz, concentration, and TIP curves.
Comparisons of pairs of distributions (and dominance checks) can be undertaken by using the by() (with or without the split) option. It can also be made manually by "stacking" the data (see stack).