Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Creating / generating Industry level time dummy variables


From   Surender Komera <surenderraogp@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Creating / generating Industry level time dummy variables
Date   Mon, 31 Dec 2012 11:11:18 +0530

Hi there,
In my panel dataset (unbalanced) i have industry dummy variables (i1
to i28) and time dummy variables (d1 to d22). Now i am trying to
generate industry level time dummy variables (i.e., multiplying each
i1 with d1 to d22). It will be really great if any of you can suggest
some looping structure to generate these variables.
Thanks
Surender
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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