Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Getting inequal indexes for multi units


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Getting inequal indexes for multi units
Date   Sun, 18 May 2003 09:40:50 +0100

Tae Ho Eom

> I want to get "inequal" values such as coefficient of
> variation and Gini
> coefficient for multiple units such as towns, cities, etc
> in a dataset
> which has house selling prices over 1000 cities and towns.
>
> Stata ado files don't allow "by" options. Please let me
> know the easiest
> way to get the values for multiple units. I am a STATA bigger having
> limited knowledge in programming.

Some Stata ados allow -by- either as a prefix or as an option.

In cases where this is not possible, there are various
approaches, including the use of -foreach-.

Check out the FAQ at

http://www.stata.com/support/faqs/data/foreach.html

It may not sound like your problem, but it is really.

Nick
[email protected]

*
*   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