Statalist


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

st: Combining and generating dummy variables


From   [email protected]
To   [email protected]
Subject   st: Combining and generating dummy variables
Date   Sat, 22 Nov 2008 07:25:06 -0800

Dear StataList Team

Is there a solution for the following problem?

I have a dataset with about 100 dummy variables for companies (say
c1-c100) and another 100 dummy variables for Month-year-combinations
(say mo1-mo100). Now I would like to create 10'000 dummy variables
labeled c1mo1-c100mo100 and their values c1*mo1 to c100*mo100.

Thank you very much for your help

Reto
-- 
  
  [email protected]


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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