x*******8 发帖数: 188 | 1 Item 38 of 70 Mark item for review
Given the SAS data set WORK.ONE:
X Y Z
- - --
1 A 27
1 A 33
1 B 45
2 A 52
2 B 69
3 B 70
4 A 82
4 C 91
The following SAS program is submitted:
data WORK.TWO;
set WORK.ONE;
by X Y;
if First.Y;
run;
proc print data=WORK.TWO noobs;
run;
Which report is produced?
A.
X Y Z |
x***x 发帖数: 3401 | |
j*******2 发帖数: 309 | 3 my understanding is the output contains the first appearance of Y within
each X. so the answer is B |
x*******8 发帖数: 188 | 4 Thanks.
First I thought same X means a group.
Now I know the same X and Y means a group.
Thanks again. |
v********5 发帖数: 61 | 5 B for sure.
【在 x*******8 的大作中提到】 : Item 38 of 70 Mark item for review : Given the SAS data set WORK.ONE: : X Y Z : - - -- : 1 A 27 : 1 A 33 : 1 B 45 : 2 A 52 : 2 B 69 : 3 B 70
|
m***j 发帖数: 1215 | |