I have a small question to ask you:
Thanks a lot.
Best,
Michael
- Is there a better option (in terms of time consumed and programming) than the one presented below? (which is also very prone to error )
Code:
gen hesge_all = 1 if (inlist(ts,309,334,335,339,354,371) & /// diploma_all == 3) * * recode hesge_all (1=2) if (inlist(ts,334)) recode hesge_all (1=3) if (inlist(ts,335)) recode hesge_all (1=4) if (inlist(ts,339)) recode hesge_all (1=5) if (inlist(ts,354)) recode hesge_all (1=6) if (inlist(ts,371))
Best,
Michael
Comment