Hi, I need to create dummy variable EVENT, which take value one in trading days 0 and +1, I have a column called window, which present trading days, which values goes -16 through + 16, so when window is 0 and 1, event should get value 1, and otherwise event=0 How to do this? I get error message that statement is not valid or it is used out of proper order. I use SAS University Edition have tried to do this: event=0, if window=1 or window=0 then event=1; Thank you, -beginner
... View more