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