Dear All,
I would like to set a conditional stattements in my gen command. Something like:
It might be trivial, but I cannot figure out how I can get something like that. Could you please offer me some suggestions?
Thanks in advance
Dario
I would like to set a conditional stattements in my gen command. Something like:
Code:
gen y=1 if x>max{k,z}
Thanks in advance
Dario

Comment