Dear Statatist,


I have try reshape and stack command but still can't solve the problem related to data transformation.
I would like to transform the data set as follows (from left table to right table):


Array



I have attach the dataset and hope you can suggest a solution for this case.

Thanks in advance.


NGUYEN.