So I have a data with observations with a variable, VAR1, that identifies what "group" they belong to. To illustrate, I have 10,000 observations and 2000 such "groups". No observation belongs to more than one group. Now suppose that each observation corresponds to a person. And suppose each observation has a variable AGE. If I want to drop all observations except those observations (people) that are the oldest in their group, how would I go about doing that? Thanks!
-
Login or Register
- Log in with
Comment