do file* Imagine that you have a wide data set that you would like to convert to a long data set.* Your data set is structured in the following manner.clearset obs 1000gen id = _nforv i=1/4 { gen var1_`i’ = rnormal() gen var2_`i’ = rnormal(…
Continue reading Use Expand to Manually Reshape Data