Dear All, In the following example
Code:
webuse grunfeld, clear

tab year, gen(year_dummy)
we can generate year_dummy1 for the year 1935, year_dumm2 for the year 1936, and so on. Is it possible to generate year_dummy1935 for the year 1935, year_dummy1936 for the year 1936, and so on? Thanks.