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

st: Combining and generating dummy variables

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


*   For searches and help try:

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