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
Mean of frequency from tabHello, i'm using Stata 16. I am trying to calculate the mean of the frequency values (second column…
Removing Outliers Survey in Stata (For variables time)Hi guys, Appreciate any help. Basically I will want to remove outliers on certain criteria of (time …
moderation with quantile regressionDear all i hope you are doing good i'm working on my research paper and i want to try the moderate…
desperately in need of helping with exporting sum stats tableI am desperately looking for the solution on exporting the summary stats tables. I typed commands as…
Clogit with Additional Dummy VariablesHi, I am estimating a non-linear model by using clogit. My group variable is "industry by year". I …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping unmatched data
Post a Comment