|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Working with groups
--- [email protected] wrote:
> I have several regions and I have create region1 and region2, before
> doing what you suggest me...
So you have variables y x region1 and region2 and maybe other
varialbes.
I am assuming that region1 has value 1 if the person is from region 1
and 0 otherwise, and the same for region2.
reg y x if region1==1 | region2==1
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Yahoo! For Good helps you make a difference
http://uk.promotions.yahoo.com/forgood/
*
* 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/