Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: time dummy variables


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: time dummy variables
Date   Fri, 29 Oct 2004 17:27:56 +0100

The most direct way to create dummies is 
as a side-effect of -tabulate-. 

It is easy enough to enter this excluding one 
year. e.g. 

tab year if year != 1952, gen(Y) 

Nick 
[email protected] 

Ngo,PT (pgr)
 
> you could use xi: 
> for example 
> xi: reg y x1 x2 i.year
> 
Baktigul Turdubekova 
 
> I want to include time dummy variables to every BUT
> ONE year. Should I introduce these dummies manually or
> is there a quicker command for it?

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