Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: Creating / generating Industry level time dummy variables


From   "Ben Hoen" <[email protected]>
To   <[email protected]>
Subject   st: RE: Creating / generating Industry level time dummy variables
Date   Mon, 31 Dec 2012 09:50:29 -0500

You might try:

egen industrytimegroupvar=group(industry_dummy_variables
time_dummy_variables)
dummieslab industrytimegroupvar

dummieslab is available via SSC

Ben Hoen
LBNL
Office: 845-758-1896
Cell: 718-812-7589


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Surender Komera
Sent: Monday, December 31, 2012 12:41 AM
To: statalist
Subject: st: Creating / generating Industry level time dummy variables

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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index