Hello All,
I want to change the format of the dataset:
MY input dataset:
Subject mon name1 name2 name3 Score1 Score2 Score3
Math 01-06Mon Avi6 John6 Becky6 0 107.67 221.67
Math 07-12Mon Avi12 John12 Becky12 97 102 200.46
Math 13-18Mon Avi18 John18 Becky18 55 114 211
Math Tot Avitot Johntot Beckytot 152 324 633
Sci 01-06Mon Matt6 Linda6 110 115
Sci 07-12Mon Matt12 Linda12 212 119
Sci 13-18Mon Matt18 Linda18 101 190
Sci Tot Matttot Lindatot 423 424
Stat 01-06Mon Jim6 Eric6 Anu6 201 111.67 222.45
Stat 07-12Mon Jim12 Eric12 Anu12 100.55 119.25 207
Stat 13-18Mon Jim18 Eric18 Anu18 85.54 115 219
Stat Tot Jimtot Erictot Anutot 388 346 648
I want my output dataset to look like:
01-06Mon 07-12Mon 13-18Mon Total
Math Avi 0 97 55 152
John 108 102 114 324
Becky 222 200 211 633
Sci Matt 110 212 101 423
Linda 115 119 190 424
Stats Jim 201 101 86 388
Eric 112 119 115 346
Anu 222 207 219 648
I tried to use proc tabulate but could not find the way to change the format of my output.
Any suggestion would be helpful.I am using PC sas 9.2.
Thanks in advance,
Blyssz
I want to change the format of the dataset:
MY input dataset:
Subject mon name1 name2 name3 Score1 Score2 Score3
Math 01-06Mon Avi6 John6 Becky6 0 107.67 221.67
Math 07-12Mon Avi12 John12 Becky12 97 102 200.46
Math 13-18Mon Avi18 John18 Becky18 55 114 211
Math Tot Avitot Johntot Beckytot 152 324 633
Sci 01-06Mon Matt6 Linda6 110 115
Sci 07-12Mon Matt12 Linda12 212 119
Sci 13-18Mon Matt18 Linda18 101 190
Sci Tot Matttot Lindatot 423 424
Stat 01-06Mon Jim6 Eric6 Anu6 201 111.67 222.45
Stat 07-12Mon Jim12 Eric12 Anu12 100.55 119.25 207
Stat 13-18Mon Jim18 Eric18 Anu18 85.54 115 219
Stat Tot Jimtot Erictot Anutot 388 346 648
I want my output dataset to look like:
01-06Mon 07-12Mon 13-18Mon Total
Math Avi 0 97 55 152
John 108 102 114 324
Becky 222 200 211 633
Sci Matt 110 212 101 423
Linda 115 119 190 424
Stats Jim 201 101 86 388
Eric 112 119 115 346
Anu 222 207 219 648
I tried to use proc tabulate but could not find the way to change the format of my output.
Any suggestion would be helpful.I am using PC sas 9.2.
Thanks in advance,
Blyssz