Quick question on generate command: is there a way to generate newvar = 0, replace newvar=1 if othervar=1 OR diffvar=1
STATA doesn't like my "OR" syntax but I can't seem to figure out how to do this simple change with generate or egen. Thanks for the help!