Statalist


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

st: RE: Working with groups


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Working with groups
Date   Thu, 10 Apr 2008 17:49:40 +0200

Your question is quite unclear: if you intend to look at two specific
regions, say

preserve
keep if region==1 | region==4
...
analysis
...
restore

if you want region 1 and 4.

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: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, April 10, 2008 5:38 PM
To: [email protected]
Subject: st: Working with groups

Dear Statalist,

I am trying to model the effect of a treatment (x-variable) on an
outcome (y-variable). My database contains information of several regions,
how could I work only with two regions? Is there any specific command?
Thanks a lot.

Alejandra Molina


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

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



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