Postby stefanp » Tue Feb 16, 2016 12:52 am
As already pointed out, there are two identifiers in my dataset.
One identifier is country (country), e.g. UK, FR, DK etc. In The other identifier is sector (sector). Let me call the sectors for the sake of simplicity AA, BB, CC etc.
I can either use the two identifiers or merge them into one.
In the former case, I can refer to the identifiers in a loop as follows:
for %KK UK FR DK
genr c_{%kk}=0
next
and proceed separately for the sector identifier.
However, I dont know how to code the problem in case of one identifier (e.g. UK_AA, UK_BB, FR_AA).
Something like
for %KK UK FR DK
for %JJ AA BB CC
genr c_{%KK_%JJ}=0
next
next
Does not work. Any ideas?