由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - sas base question? Thanks!
相关主题
请教SAS base 70题中的38题a SAS question in base 70
请教一道sas base题问个sql问题
请教 2 道SAS Adv 真题Re: 请问SAS如何学起?
SAS 问题求助申请SAS PROGRAMMER职位,要懂哪些东西?
请教SAS BASE 70题里的第35题昨天考了SAS ADVANCED,不难
SAS question, 5 Baozi will be given关于SAS Advance 9 的考试体会
SAS questions: how to sort by variables at given position, not by name?[合集] 用SAS生成表格,怎么弄比较好?
求助,sas题目[合集] 发伪币3000 - 不用SAS\IML如何用SAS做矩阵计算?
相关话题的讨论汇总
话题: sas话题: item话题: data话题: question话题: base
进入Statistics版参与讨论
1 (共1页)
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
2
b
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
6
mark
1 (共1页)
进入Statistics版参与讨论
相关主题
[合集] 发伪币3000 - 不用SAS\IML如何用SAS做矩阵计算?请教SAS BASE 70题里的第35题
[合集] 生物统计硕士找工作,药厂SAS Programmer vs非药厂BiostatisSAS question, 5 Baozi will be given
Help! proc sql;cout not null value.SAS questions: how to sort by variables at given position, not by name?
请教SAS问题求助,sas题目
请教SAS base 70题中的38题a SAS question in base 70
请教一道sas base题问个sql问题
请教 2 道SAS Adv 真题Re: 请问SAS如何学起?
SAS 问题求助申请SAS PROGRAMMER职位,要懂哪些东西?
相关话题的讨论汇总
话题: sas话题: item话题: data话题: question话题: base