Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: command stata

From   "Sarah Edgington" <>
To   <>
Subject   st: RE: command stata
Date   Thu, 25 Aug 2011 17:08:08 -0700

You're unlikely to get much useful advice without more information about
what the variables you currently have look like and what you want the
variable you're creating to look like.  Let's assume for a moment that you
have binary indicators that are 1 if a locality has "good" infrastructure in
a given category and you want to count how many categories of good
infrastructure the locality has.  Then you would simply add the indicator
variables together.  However, I suspect you are looking to do something much
more complicated.  Unless you give us some clue about what you have and what
you hope to end up with, we will simply be guessing wildly.

Please consult the statalist FAQ for advice on how to submit questions that
are more likely to get useful answers.


-----Original Message-----
[] On Behalf Of Donsaane Dontsi
Sent: Thursday, August 25, 2011 4:52 PM
Subject: st: command stata


I am looking for stata's command in order to group many variables into one.
Let's say we have: roads, water , electricity, and we want to group them
into one variable: infrastructures.
could someone help me with the command?



*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index