Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: command stata

From   Richard Williams <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: command stata
Date   Thu, 25 Aug 2011 23:08:11 -0400

At 09:09 PM 8/25/2011, Donsaane Dontsi Saatena wrote:
Thanks Richard.

That is if I understand I can do : egen infrastructures = group
(roads, water, electricity)?

You ought to be able to give the command, but how well it works will depend on how the 3 vars are coded. If they each have very few categories (e.g. good, fair, poor) you should be fine, but if they have hundreds of categories the resulting variable may not be very useful.

I would also probably want to include the label option, unless it is easy to follow what the numbers stand for.

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index