In some instances a raw data set needs to be reshaped (from a rows-to-columns format or visa-versa) to facilitate focus on a desired unit of analysis. A helpful discussion on the Stata Forum (here) provides a brief explanation and useful code suggestions.
Comments