on the basis of your analysis of the findings you documented in the “prepare for a master link
dataset” assignment, prepare SAS code to build an ID dataset that includes all the id variables
you believe useful in an event study like BB1968. Note that the IDs can be those of industry,
location and so forth. The code must use proc sql. Submit your SAS code and the final SAS
dataset (*.sas and *.sas7bdat).
Hint:
1. Such a study should require Compustat and CRSP, thus requires names, dsenames and
ccmxpf_linktable.
2. linktype and linkprim in ccmxpf_linktable may cause duplicates. Refer to the documentation
of ccmxpf_linktable to find out how to resolve the issue.
3. to save time, use only the period between 01/01/2012 and 12/31/2013.