Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: inequality measures, and dynamic decomposition of inequality


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: inequality measures, and dynamic decomposition of inequality
Date   Tue, 1 Jul 2008 22:37:07 +0100

If a command does not support -by:- or -by()-, then some tactics for repeated output are detailed at 

FAQ     . . . . . . . . . . Making foreach go through all values of a variable
         8/05    Is there a way to tell Stata to try all values of a
                particular variable in a foreach statement without
                specifying them?
                http://www.stata.com/support/faqs/data/foreach.html

Nick
[email protected] 

Lola Jackson

i have been going through the various commands available to compute measures of inequality (including inequal, fastgini, ineqdeco, atkinson etc). I would like to calculate inequality by date for a range of dates, but these inequality commands do not seem to allow a 'by' option. Is there a way of setting this command to repeat by date, other than manually running it repeatedly and changing the date in the command (i.e. something equivalent to 
.bys date: inequal income     or
.bys date: ineqdeco income
which are not allowed)?


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index