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

Re: st: Working with groups

From   Maarten buis <>
To   stata list <>,
Subject   Re: st: Working with groups
Date   Thu, 10 Apr 2008 17:37:21 +0100 (BST)

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

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

Yahoo! For Good helps you make a difference
*   For searches and help try:

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