Statalist


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

Re: st: selecting cases


From   "Alan Neustadtl" <[email protected]>
To   [email protected]
Subject   Re: st: selecting cases
Date   Tue, 7 Oct 2008 00:55:48 -0400

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



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