QianLi Xue posted on Sunday, November 25, 2007 - 11:40 pm
Could you please provide examples for how to use longtowide and widetolong commands? I have trouble with the order by which "DATA, "VARIABLE: NAMES ARE", and "USE VARIABLES ARE" should be placed. Thanks for your help!
DATA LONGTOWIDE is used in a growth modeling context where the long format has one variable and a time variable designating the time point. DATA LONGTOWIDE transforms the data into one variable for each time point. It does not sounds like this is what you want.