感谢论坛帮助我通过考试,各位前辈们已经把机经总结的很全面了,我来确认下几道论坛里没有明确答案的机经。不废话,考题如下:
填空4道题,42题Pos=5; 66题output=7; 52题 obs=3; 50题by IDNumber Expenses
95题:
3
4 (123 27)
5
9 (50.5)
10
11
13 (改为Diff-Diff3)
15 (我遇到的就是原题还是选automatically dropped)
16
17 (依然是原题 选3个western)
18
19 (改为Where Num contains... 答案不变)
20
21 (改为GT50 选1)
22
24
27
28
30
31
32
33 (Jobcode改为ALUM2)
34
35 (改为else output other; 选221)
36 (日期改为19 2; 选ddmmyy10)
37
40 (改为do until (Prod GE 6) 同123题5
42 (填空题 经典机经原题)
43 (改为02February2009 选put(shipped, worddate20.)
46 (增加了Revenue2007, 其值为missing value, 还是1.6)
51 (选list of dataset+metadata)
52 (填空题,第一个表中多了一个不match的,3)
53
56 (选项里有加入Var Sttatement 答案不变)
57 (改为选day(BeginDate))
58
60 (改为Price没有被Drop 选3)
61 (只考察if Age那一句 其他statement没有出现在题目里 答案不变)
62 (改为ods pdf file)
64 (改为set语句里定义的长度在前 length=8)
65
66 (填空题 经典机经原题)
67 (if X<10 then X=3, 选3)
69
70 (改为判断error原因 选Drop syntax does not use equal sign)
71 (有变动,选项为:2Test, 2Test_, _Test2, Test2 选2)
93
123题
5
7
11 (改为一共有241个obs 问输出最后一个obs时var的值,var=eof, 选1)
27
50 (填空题 经典机经原题)
52
54
86
88
94
104
110 (数据有改动 选33)
118
机经
split='*'
Datalie缺分号
year cutoff 选-99 (1920-2019)
population increase: do 2012 to 2021, end前有output
N和_Error_: 确认选N=1234 _Error_=1001 (因为最后一个variable定义的格式问题 只有第一个和最后一个obs涉及到最后一栏的variable)
ods html; proc freq...; proc print; run; ods html close; (确认选Both; 两个都会output)
Retain toal... 第二个dataset和原始读入的dataset的区别就是第二个dataset多了一列都是missing value
If _N_=1 then total=0; Else total=A+B; 就看最后一列total的值, 第一个obs是0,剩下的是A+B之和,好像是32, 35
输出csv文件 选ods csvall... 不能选ods csv open 或者ods close csv
Sort by 问题 Descending Date Only
Proc Means default处理non-missing numerical data only
Count+1 选Count在compile phase=0
资料论坛里很多,我就不再上传了,理解很多同学都是像我一样的穷人,机经也不收费,不过如果银子多的小伙伴们能不能赏点论坛币,主要是我还要下载资料继续奋战Adv.
祝各位考试顺利!