You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
The first command creates a new variable, momid. This new variable identifies groups of observations that all agree on the values of variables v001, v002, and v003. The second command then creates a new variable maxbord which contains the largest value of variable bord found among all observations in the group of observations defined by the value of momid.
Comment