Hello,

I am currently working with a complete dataset with all firms in a country. However, I only want to use some of the firms for my analysis. How is it possible to keep multiple observations at the same time in order to constrict the values in my dataset.

I tried keep if =="XX" for every observation that I needed to keep, but then it just kept the first observation. I also tried drop if!="XX" for every observation, but that also did not work.

Would appreciate your help! Thank you!