I have a dataset with 1000 rows and 100 columns. The rows represent y-axis coordinates (y1 to y1000) and the columns x-axis coordinates (x1 to x100). Each data point shows the thickness of tissue at the given x,y coordinate for a single patient. I want to compare tissue thickness between different patients for each location. I am trying to reshape the data so there is a single row for each patient with 100,000 variables (x1,y1) (x1,y2) to (x1, y1000) etc. I can then append data from other patients.
I have tried using reshape to do this but without success. Any advice would be much appreciated.
I am using Stata 12.1 (Mac).
I have tried using reshape to do this but without success. Any advice would be much appreciated.
I am using Stata 12.1 (Mac).
Comment