Alan, Thanks so much.
I also have a follow up question, and any advice will be very much
appreciated. I have some dummy variables that have very few positive
cases. So if I run the command "regress y x if var1>100 & var1<200",
is there a way to find out how many cases included in the regression
had dummy_var1=1?
I appreciate any help on this.
thanks
dalhia
On Mon, Oct 6, 2008 at 11:55 PM, Alan Neustadtl
<[email protected]> wrote:
> -regress y x if var1>100 & var1<200-
>
> On Tue, Oct 7, 2008 at 12:51 AM, Dalhia Mani <[email protected]> wrote:
>> hi,
>> How can I select particular cases (e.g. all observations where
>> var1>100 and var1<200), and run a regression only on those cases? I
>> don't want to drop the cases. I just want to select them for a
>> particular regression.
>>
>> Any help will be much appreciated.
>>
>> thanks so much
>> dalhia
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
Dalhia Mani
Department of Sociology
University of Minnesota
Office: 1052 Social Sciences
267 19th Avenue South, Minneapolis
MN 55455
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/