Hello,
Could someone please help me dropping some observations? I'm investigating the influence of patenting on the return on investment of firms. Now I want to drop the companies that never had a patent between variable fyear (fiscal year) 1997-2015 (see the example company in the screenshot). But I want to keep them if they had a patent in this time period. So, also if they only have 1 patent in that time period, I want to keep them in my dataset. I'm struggling to find the right code so could someone please help me?
Thanks!
Could someone please help me dropping some observations? I'm investigating the influence of patenting on the return on investment of firms. Now I want to drop the companies that never had a patent between variable fyear (fiscal year) 1997-2015 (see the example company in the screenshot). But I want to keep them if they had a patent in this time period. So, also if they only have 1 patent in that time period, I want to keep them in my dataset. I'm struggling to find the right code so could someone please help me?
Thanks!
Comment