Hi everyone, I need some help in processing data for my phd research. I started with a dataset including firm-year observations from 2014-2019 but after the baseline regression I recognized that I also needed observations for year 2013, in order to implement the cross-sectional analysis. I downloaded the data for 2013 and now I need to append it to the previous dataset with observations from 2014-2019. The problem I have is that in the new download there are firms that were not present in the old file (with data from 2014-19) because Orbis has updated its data. How can I delete those firms that have a single year observation (2013) and keep only firms that match within the files?
At the moment I launched the append command and after I sorted by country, company name and year. Then how to drop unmatched firms?
Thanks a lot for the help!
Related Posts with Dropping unmatched data
tableHey, I need to compute the table that i presented below, but i am not sure how to write the command …
I want to create a new variable that can double count some observationsHello I am using Stata/SE 13.1 on windows10. Apologies I am a Stata novice but will try my best here…
Question about xtdpdgmm and xtabond2Hello all I m trying to run a difference gmm model with both these commands but I have different res…
Delete single observationsHello everyone, I have a dataset where I have to create couples of people in a way that every house…
Versioning problemHi. I'm submitting this for one of our programmers and wondering if there's a simple fix or if we ne…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping unmatched data
Post a Comment