I have a wide-format data set where two sets of variables are x1, x2 and x3; and y1 y2 y3. I would like to find out minimum value of first set e.g min(x1, x2 and x3) and keep the corresponding y variable in the dataset. what would be stata command for doing such an operation.
-
Login or Register
- Log in with
Comment