Created
December 27, 2014 14:58
-
-
Save joosti/54eea579d83ebb11bbe5 to your computer and use it in GitHub Desktop.
SAS data step conditional code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data sample; | |
| set sample; | |
| if year <= 1997 then do; | |
| preSFAS131 = 1; | |
| /* .. more code .. */ | |
| end; | |
| else do; | |
| preSFAS131 = 0; | |
| /* .. more code .. */ | |
| end; | |
| run; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment