Hello. I have a panel with isin codes as company IDs and years from 2009 to 2017.The coverage for the companies are not proportional. Some have data only for one year and some have for all years. Now I want to keep only the companies that have data for the years 2013 to 2016. How can I code for this? And is it possible to create a new variable called firm-year that combines the isin codes and the years of coverage?
Show a small sample of input data and corresponding required output. No Excel files attachment please.
can I take screenshot?
The data step manual in the forum was complicated for me because I'm not a professional programmer.
We can handle data in text form. Both for input and required output.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.