Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Fixed effect dummy variable


From   Clive Nicholas <[email protected]>
To   [email protected]
Subject   Re: st: Fixed effect dummy variable
Date   Wed, 5 Aug 2009 05:33:24 +0100

Tharshini Thangavelu wrote:

> How do I create year and region fixed effect dummy variables?

If you mean by way of a combination, then -egen, group()- will do the trick.

-- 
Clive Nicholas

[Please DO NOT mail me personally here, but at
<[email protected]>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson.
*
*   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