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!
Related Posts with Keeping mutliple observations
Multi nominal regression using maximum likelihoodHi everyone, I've checked the forum and I can't seem to find an answer to my question. Due to the …
Stripplot; using different symbols when using ,over(group)Dear Listers I have been working with stripplot (SCC) all day, and like how it has turned out. For …
Needed new variable which should list duplicates with respect to industry codes and restarts as the industry code changes Hello Respected Experts, Thanks a lot for previous help. @Carlo Lazzaro, sir you provided a Stata …
Change every observations for an ID conditioning on only 1 year criteriaHello, I am currently trying to transform a panel data into a cross-section. I have something like …
multiple plots after marginsHi, I created, separately, two of the attached plots. In each plot, this is generated from the marg…
Subscribe to:
Post Comments (Atom)
0 Response to Keeping mutliple observations
Post a Comment