[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: get a dummy for year*region
-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.
--- Marcelo Moreira <email@example.com> 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
* For searches and help try: