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

Re: st: get a dummy for year*region


From   John Hendrickx <[email protected]>
To   [email protected]
Subject   Re: st: get a dummy for year*region
Date   Wed, 11 Sep 2002 01:23:46 -0700 (PDT)

-xi- is the Stata command for creating dummies and interactions.
-desmat- is an enhanced version of -xi- that allows contrasts, higher
order interactions and control over estimate results. Use -ssc
describe desmat- for more details.

John Hendrickx


--- Marcelo Moreira <[email protected]> wrote:
> Hi there.
> 
> I would like to know how I can get a dummy for each possible
> combination between year and region.
> 
> I tried:
> 
> tab region your, gen(dummy)
> 
> But it doesnt work. Any hints?
> 
> *
> *   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/


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
*
*   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