I am just learning SAS and the assignment is to take a dataset of a certain format and turn it into another format. We are using SAS Studio. Example: Black Gray Red White 57 59 60 78 67 76 81 50 52 62 47 66 74 68 68 60 55 64 24 59 Needs to look like: Color Number Black 57 Gray 59 Red 60 White 78 Black 67 Gray 76 Red 81 White 50 I have this so far but am stuck on what to put next. All the practicing we have done in class has been with datasets where they all read in rows where each row is related to each individual variable for that column. Not like here where the Color variable is at the top row and should be repeated with each number in that column. Any hints will be greatly appreciated. data Problem_3; infile '/home/u63754936/STAT 725/Homework#1/Data Files HW1/Dataset3.txt'; input Color $ Number; run; proc print data=Problem_3; title 'Problem_3'; run;
... View more