Hello,
Is there a way to drop observations using a list of IDs ? I have a dataset and there are several observations (about 20k) I need to drop. I have the ID of these observations but they are too long to paste in the command.
To give the context of this issue, I have two datasets, one of firms with different segments and one of all firms, I want to remove all multi-segment firms and get a dataset of only firms operating in only one industry segment.
Any advice is greatly appreciated! Thank you
Related Posts with Dropping observations based on a list of ID
Creating long format time series from start and end date in wide formatHello, I have a data set on judges with a term start year and term end year. I would like to have a…
kappaetc: Testing for signficance of a difference in before / after interventionI am using kappaetc (SSC) Inter-rater reliability, comparing diagnostic agreement before vs. after a…
Margins for DiD return not estimable!Hi everyone, I am evaluating the effect of Grab's entry in Vietnam on firm performance indicators s…
areg cluster identificationHello experts of Statalist, Sorry in advance for my inexperience. I am running "areg" for a panel d…
Simple commands not working....wonder why (Stata/IC 15.1)Hi, I wanted to run a simple command for moving one of my variables called "comment" to the end of …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping observations based on a list of ID
Post a Comment