Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Please regress if years>1993 & years<2010? The IF-Regression
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Please regress if years>1993 & years<2010? The IF-Regression
Date
Wed, 19 Dec 2012 14:50:05 +0000
Use -if inrange(year, 1998, 2004)- or -if tin(1998, 2004)-.
Nick
We're individuals, not a crowd!
On Wed, Dec 19, 2012 at 2:44 PM, Barbara Engels <[email protected]> wrote:
> Dear crowd,
>
> I have a rather "simple" problem which I cannot solve, however.
>
> I have panet data and want to run a bunch of regressions. One regression is supposed to entail data from the years 1998-2004, the other from 1996-2006, another one 1993 to 2009, and so on.
> How can I run these "IF" regressions?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/