generating variable in stata ?? In the data set, the “alternative” variable consists of 4 modes including pier, private, beach and charter. I want to generate new variable y as follows: we collapse the model to three alternatives and order the alternatives, with ...
Home/generating variable in stata