You have a collection of raw data representing the reading scores on three groups of subjects :control group C,method A group,method B group.The data are arranged so that a group code is followed by one or more scores for that group,and scores for any group can span more than one record of raw data.Write a SAS program that will read the data below and create a SAS data set reading with variables GROUP and SCORE,one set per obervation.
DATA TESTSCORE
C 303 102 150 B 202 C 300 B 450 400 399
420 A 289 280 278
如果只有两个变量的话,是不是结果是这样的呢:
group score
c 303
102
150
300
B 450
400
399
420
A 289
280
278
但是如何把A B C 分离出来呢
thank you