Statalist


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

st: RE: Working with groups


From   "Martin Weiss" <martin.weiss@uni-tuebingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Working with groups
Date   Thu, 10 Apr 2008 18:26:03 +0200

g byte regiondum=1
replace regiondum=2 if region>20


if you want the first 20 regions with a dummy of 1 and the rest with a dummy
of 2.

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: mmolina@uniroma3.it [mailto:mmolina@uniroma3.it] 
Sent: Thursday, April 10, 2008 6:20 PM
To: martin.weiss@uni-tuebingen.de; statalist@hsphsun2.harvard.edu
Subject: Working with groups 

I apologize if I have not been clear: I have several regions and I have to
separate and work only with two of them. Which is the command? How should
I label them as regions 1 and 2?
Regards,
Alejandra Molina





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