Dear Researchers, hope everyone blessed with healthy life.
I've a column (in Excel) with different unique titles (in textual form) =187,000. The number of total observation of this column is 342,000 (non-structured panel). I want to keep only the top 10 headings that are assigned maximum number of observations in the panel.
i generate the group ID by the following command, but next i don't know how to drop or keep for the top 10 maximum number of observation:
egen id=group( title )
Thanks Researchers and Admin
Related Posts with Drop or Keep Observations by title
dummy=1 over a period when a condition satisfiesIt is tough to explain but i will try my best. "Surge" is the dummy variable i created for capital f…
PkequivHi, I am using the pkequiv function to compare plasma levels between two medicinal solutions, do i n…
Mean comparisonsing survey data in the following arrangement: Group: Firm_investment Q1 - each question has 1,2,3,…
Power calculations with IVHello (from a new member), Can someone guide me on how to do power calculations in stata to show th…
Problem in using ivregress 2sls command in oaxacaHi everyone, I'm getting errors when I run the following code: oaxaca y x1 x2...x10, by(caste) poo…
Subscribe to:
Post Comments (Atom)
0 Response to Drop or Keep Observations by title
Post a Comment