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

st: get a dummy for year*region


From   Marcelo Moreira <moreira@kuznets.fas.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: get a dummy for year*region
Date   Tue, 10 Sep 2002 16:18:12 -0400

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index