Created
January 27, 2015 16:50
-
-
Save joosti/047cd777389a732119c8 to your computer and use it in GitHub Desktop.
SAS variables in Compustat Fundamental Annual
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
/* Retrieve variables in Funda */ | |
ods listing close; | |
ods output variables = varsFunda; | |
proc datasets lib = comp; contents data=funda; quit;run; | |
ods output close; | |
ods listing; | |
/* keep relevant variables (excluding firm name, gvkey, fyear, etc)*/ | |
data varsFunda ; | |
set varsFunda; | |
if 37 <= Num <= 937; | |
run; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment