📣 黑五价提前开抢|VIP一年通行证5折,蓝莓、Offer多多同步特惠
查看: 5511| 回复: 6
跳转到指定楼层
上一主题 下一主题
收起左侧

[统计--软件] SAS-BASE-(A00-231) 2023/09/08 考试经验分享

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 江北一散人 于 2023-9-8 20:09 编辑

坐标北美康州 准备时长:08/13-09/08,897飘过,楼主有事,等团契查完经回来慢更;有一点可以提醒大家,学好transpose很重要。选择70原题大概涉及到7-8题,input或者@infile都没考到,感觉真的可以不太用看了...lab涉及到proc contents的那道超简单的小改动题。贴一张分数分布图,仅供大家参考,不是为炫耀,只是为了帮助有需要的人。P.S.其实我不明白我改错是怎么错一半的...明明题目还蛮简单的;楼主7道lab,22道选择。

上一篇:SAS BASE (A00-231) 2023/09/05 考试经验分享
下一篇:PhD学生找实习求建议指导
全局:
xiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexiexie
回复

使用道具 举报

🔗
 楼主| 江北一散人 2023-9-9 13:03:35 | 只看该作者
全局:
本帖最后由 江北一散人 于 2023-9-9 01:10 编辑 . 1point 3acres

楼主机器:联想拯救者Y7000P 2020H
设备名称        LAPTOP-1TKDGCB2
处理器        Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz   2.30 GHz
机带 RAM        16.0 GB. 1point 3 acres
外接显示器和无线键鼠在家考的试;因为在美和机器的原因,考场中非常丝滑,并无任何明显卡顿;复制粘贴确实不能用,但我用SAS自带的copy paste用的很溜;
Lab 5题, 改错Error2题,22道选择题,符合或类似原题如下:
1.
ods html file = 'yyy.yyy';
print data = xxxx.xxx;
proc freq data = xxxx.xxx;
run;
ods html close;
问有几个procedure在html文件里,楼主最开始选只有freq,没想到后来去lab里一试,居然两个都能print出来,所以就选了both;.1point3acres
2. 原题
40.The following SAS program is submitted:
data WORK.PRODUCTS;.1point3acres
Prod=1;. Χ
do while(Prod LE 6);
Prod + 1;
end;
run;
What is the value of the variable Prod in the output data set?
A. 6
B. 7
C. 8
D. . (missing numeric)
42.The following SAS program is submitted:
data WORK.ONE;
Text='Australia, US, Denmark';
Pos=find(Text,'US','i',5);
run;
What value will SAS assign to Pos?
A. 0
. .и B. 1
C. 2
D. 12

变题问 Text = ‘She sells seashells on the seashore’Pos = find(Text,'she ') Pos等于几,lab试了下等于0,我还以为会报错呢...因为Pos里是小写的‘she’+空格;
3.. check 1point3acres for more.
Macro 定义 写一行 %let xxx_type = 8,擦, 我这道题可能忘记加分号了,大家一定要注意原题有没有给分号。
4.
Transpose连考两道选择题;第一题是问哪个选项用于生成数据,有什么by id idlabel 还有个啥很不靠谱的我忘了,反正只有by能选,因为按照国家分组;
第二题是填空题,需要依次填入 by var id,跟前一题的题干很像,但是有改动,如果我没记错我填的是:
. Χby country. .и
var sales (var是转置后列里面的数据变量).google  и
id Type(id是转置后的行名称)
此题后面有分号所以就不用分号了;
5.put input 变化,有考,务必记熟了,我考的是numeric to character在lab里;
6.keep在括号里和括号外的用法,选择题,只有括号里是正确的,括号外它也加了=就错了;
7.原题:.google  и
The following SAS program is submitted: B
data WORK.DATE_INFO; X='04jul2005'd; DayOfMonth=day(x); MonthOfYear=month(x); Year=year(x);.1point3acres
run;
What types of variables are DayOfMonth, MonthOfYear, and Year?
A. DayOfMonth, Year, and MonthOfYear are character.
B. DayOfMonth, Year, and MonthOfYear are numeric.. From 1point 3acres bbs
C. DayOfMonth and Year are numeric. MonthOfYear is character. D. DayOfMonth, Year,. .и
8. 原题
The following SAS program is submitted: B
data WORK.TEST;.google  и
set WORK.PILOTS;
if Jobcode='Pilot2' then Description='Senior Pilot'; else Description='Unknown';
run;. check 1point3acres for more.
The value for the variable Jobcode is: PILOT2.What is the value of the variable Description?
A. PILOT2. 1point 3 acres
B. Unknown
C. Senior Pilot. Waral dи,
D. ' ' (missing character value).
我考的字符不是PILOT2,但是大同小异,答案仍然是Unknown;.
9.原题
A user-defined format has been created using the FORMAT procedure.How is it stored? A-baidu 1point3acres
A. in a SAS catalog
B. in a memory resident lookup table.. From 1point 3acres bbs
C. in a SAS dataset in the WORK library
D. in a SAS dataset in a permanent SAS data library.1point3acres
10.原题
The SAS data set Fed.Banks contains a variable Open_Date which has
been assigned a permanent label of "Open Date".
Which SAS program temporarily replaces the label "Open Date" with the label "Starting Date" in the output? B
A.
proc print data=SASUSER.HOUSES label;
label Open_Date "Starting Date"; run;
B..
proc print data=SASUSER.HOUSES label;.1point3acres
label Open_Date="Starting Date"; run;
C.
proc print data=SASUSER.HOUSES;
label Open_Date="Starting Date"; run;.google  и
D.. Waral dи,
Xing Bob Jorge. ----
proc print data=SASUSER.HOUSES; Open_Date="Starting Date";
11.原题:
data WORK.PRODUCTS; Prod=1;. From 1point 3acres bbs
do while(Prod LE 6);
Prod + 1; end;
run;
What is the value of the variable Prod in the output data set?. ----
A. 6
B. 7 ..
C. 8 ..
D. . (missing numeric)
12.变题:
52.Given the SAS data set WORK.EMP_NAME:
Name EmpID
---- -----
Jill 1864
Jack 2121
Joan 4698
John 5463 ..
Given the SAS data set WORK.EMP_DEPT:
EmpID Department. ----
----- ----------
2121 Accounting
3567 Finance
4698 Marketing
5463 Accounting ..
The following program is submitted:
data WORK.ALL;
merge WORK.EMP_NAME(in=Emp_N)
WORK.EMP_DEPT(in=Emp_D);.
by Empid;
if (Emp_N and not Emp_D) or (Emp_D and not Emp_N);-baidu 1point3acres
run;.1point3acres
How many observations are in data set WORK.ALL after submitting the program?
A. 1
B. 2
C. 3
D. 5
我考的这道变了一下,数据有变,我选的4个,上面2个,下面2个
Lab:
Lab部分
1.certXL定义并调用考了,问xlsx文件里面的文件各叫什么名字,我用proc contents调用的,实际上你从自动填充也能看出来,但保险起见我还是print了一下;. check 1point3acres for more.
2. 原题 数据集sashelp.class的属性里,encoding和label的值分别是什么。
proc contents data=sashelp.class;
run;
数据集变了下,最坑爹的是,要求type出encoding,我应该填的是 waltin 什么什么 (Windows). ----
3. 变题 在每个department中,挑出含有最高income的观测。sort和descending是老生常谈的考题了,我是让我sort两次,第一次和第二次的排序方式不一样,第一次是升升降 第二次是升降 问 CustomerID;
4.
回复

使用道具 举报

🔗
 楼主| 江北一散人 2023-9-9 13:51:56 | 只看该作者
🙏 1
全局:
本帖最后由 江北一散人 于 2023-9-9 02:02 编辑 . 1point3acres.com
. 1point3acres
4.
Transpose连考两道选择题;第一题是问哪个选项用于生成数据,有什么by id idlabel 还有个啥很不靠谱的我忘了,反正只有by能选,因为按照国家分组;
第二题是填空题,需要依次填入 by var id,跟前一题的题干很像,但是有改动,如果我没记错我填的是:
by country
var sales (var是转置后列里面的数据变量)
id Type(id是转置后的行名称)
此题后面有分号所以就不用分号了;
5.put input 变化,有考,务必记熟了,我考的是numeric to character在lab里;
6.keep在括号里和括号外的用法,选择题,只有括号里是正确的,括号外它也加了=就错了;
7.原题:
The following SAS program is submitted: B
data WORK.DATE_INFO; X='04jul2005'd; DayOfMonth=day(x); MonthOfYear=month(x); Year=year(x);.1point3acres
run;
What types of variables are DayOfMonth, MonthOfYear, and Year?
A. DayOfMonth, Year, and MonthOfYear are character.
B. DayOfMonth, Year, and MonthOfYear are numeric.. From 1point 3acres bbs
C. DayOfMonth and Year are numeric. MonthOfYear is character. D. DayOfMonth, Year,. From 1point 3acres bbs
8. 原题
The following SAS program is submitted: B
data WORK.TEST;
set WORK.PILOTS;
if Jobcode='Pilot2' then Description='Senior Pilot'; else Description='Unknown';
run;. check 1point3acres for more.
The value for the variable Jobcode is: PILOT2.What is the value of the variable Description?.google  и
A. PILOT2
B. Unknown.--
C. Senior Pilot
D. ' ' (missing character value)
我考的字符不是PILOT2,但是大同小异,答案仍然是Unknown;
9.原题
A user-defined format has been created using the FORMAT procedure.How is it stored? A
A. in a SAS catalog
B. in a memory resident lookup table.
C. in a SAS dataset in the WORK library
D. in a SAS dataset in a permanent SAS data library. From 1point 3acres bbs
10.原题. 1point3acres
The SAS data set Fed.Banks contains a variable Open_Date which has
been assigned a permanent label of "Open Date".
Which SAS program temporarily replaces the label "Open Date" with the label "Starting Date" in the output? B
A.. 1point 3 acres
proc print data=SASUSER.HOUSES label;
label Open_Date "Starting Date"; run;
B..
proc print data=SASUSER.HOUSES label;. 1point 3 acres
label Open_Date="Starting Date"; run;.
C..1point3acres
proc print data=SASUSER.HOUSES;
label Open_Date="Starting Date"; run;
D.
Xing Bob Jorge
proc print data=SASUSER.HOUSES; Open_Date="Starting Date";.google  и
11.原题:
data WORK.PRODUCTS; Prod=1;. From 1point 3acres bbs
do while(Prod LE 6);
Prod + 1; end;
run;
What is the value of the variable Prod in the output data set?. ----
A. 6
B. 7. .и
C. 8 ..
D. . (missing numeric)
12.变题:
52.Given the SAS data set WORK.EMP_NAME:-baidu 1point3acres
Name EmpID
---- -----
Jill 1864. check 1point3acres for more.
Jack 2121
Joan 4698
John 5463. 1point 3acres
Given the SAS data set WORK.EMP_DEPT:
EmpID Department ..
----- ----------
2121 Accounting
3567 Finance
4698 Marketing.google  и
5463 Accounting
The following program is submitted:
data WORK.ALL;
merge WORK.EMP_NAME(in=Emp_N)
WORK.EMP_DEPT(in=Emp_D);
by Empid;
if (Emp_N and not Emp_D) or (Emp_D and not Emp_N);.1point3acres
run;
How many observations are in data set WORK.ALL after submitting the program?
A. 1
B. 2
C. 3. .и
D. 5
我考的这道变了一下,数据有变,我选的4个,上面2个,下面2个
Lab:. 1point3acres
Lab部分
1.certXL定义并调用考了,问xlsx文件里面的文件各叫什么名字,我用proc contents调用的,实际上你从自动填充也能看出来,但保险起见我还是print了一下;
2. 原题 数据集sashelp.class的属性里,encoding和label的值分别是什么。-baidu 1point3acres
proc contents data=sashelp.class;. 1point 3 acres
run;
数据集变了下,最坑爹的是,要求type出encoding,我应该填的是 waltin 什么什么 (Windows)
3. 变题 在每个department中,挑出含有最高income的观测。sort和descending是老生常谈的考题了,我是让我sort两次,第一次和第二次的排序方式不一样,第一次是升升降 第二次是升降 问 CustomerID;数据集也不一样。
4. 变题 建立新的变量fullname,其值为原数据集中firstname和lastname的拼接。新建两个变量zflag 和nozflag,记录下fullname中有z(或Z)的有多少(有z/Z时,zflag = 1,nozflag = 0),没有z(或Z)的有多少(无z/Z时,zflag = 0,nozflag = 1),结果不要显示原始数据集的firstname和lastname变量。. ----
这道题好像是改错,我记不太清了,但是zflag我绝对是打了,具体问什么我还真忘了...
5. 变题 One to one merge,在merge data1 data2; by XXX;之前,应当先进行什么操作(分别sort它们)?双input的题,具体问什么我记不清了,说明我思路不太清晰,或者我不太确定,不然我肯定能记起来了,建议练熟,练到看到题目就肌肉记忆开始proc sort...因为merge的数据确实容易出错,哦我记起来了,是一个数据集里面的是IDC,另一个是ID,你需要先把IDC变成ID,还得把它变成numeric,再排序,再合并,再做其他proc。IDC变ID具体操作是,先data一个过渡数据集用input(IDC, best.)生成一个numeric的ID,然后Drop IDC,ID是best12.格式的8位numeric,但是我好像忘了怎么搞best.,反正最后ID只有四位数就完事了,用不到那么复杂的格式语法,能用就行,哈哈。. ----
先就记起这些,总之Lab变题比原题多,不难,但是考验基本功扎实度,最好一道题掌握多种解法,这样好验证,但我其实考完没验证lab,因为实在憋不住了,想上厕所,所以另一篇帖子说的对,考前千万别喝水。答完题我的时间还有1小时,利用lab的review功能利用25min检查了选择题后,在剩余35min左右交了卷。Pace考前平均一道lab 5min左右(机经每日一练 2遍),选择35道27min,70道57min(70题2遍),SAS官网Essential 1和Cousera Essential 2完整跟练过,看过视频,每个practice都打过,quiz也做过,0 SAS基础,之前是工作中一直用R,有一年的北美药厂R工作经验,熟悉起SAS来,算是有一定的基础,但是考的分不高,惭愧惭愧,希望经验能帮助到大家。
感谢地里的经验,特别感谢9月5号地里的机经,还有暑假两个月过BASE和Advance的帖子,前者让我对近期的考试风向有了个把握,并且丰富的回忆录也让我顿时对考试有了信心,哈哈哈;后者则是直接让我选择在最后刷70题和lab的时候果断放弃了所有input和infile的题目,节省了我很多时间,因为确实input和infile还有指针pointer@上我有很多根本搞不太懂的很多古早晦涩拗口的语法,学了半天也没学懂啥,事实也证明我的选择是对的。还要感谢小红书的一篇推文,让我从零开始的时候不至于摸不着头脑,我学东西比较慢,SAS官网Essential 1和Cousera Essential 2的课对我打基础起到了很大的帮助。接下来把所用到的所有资料和链接按接触到的时间顺序附在如下:
http://xhslink.com/V3z1lu
https://www.1point3acres.com/bbs/thread-1013776-1-1.html
https://www.1point3acres.com/bbs/thread-1005947-1-1.html
他们提供的资源包括我自己找到的书上的scenario操作题我也附在下面,准备时间太赶,虽然我没用到,希望可以帮到有需要的人:
链接: https://pan.baidu.com/s/1ChyXnYAbFt48n_OxcEZsEg 提取码: krs2.1point3acres
文件有重复,请注意甄别和挑选。
回复

使用道具 举报

🔗
Somebodyy 2023-10-25 09:15:19 | 只看该作者
全局:
好贴顶一个
回复

使用道具 举报

全局:
感谢分享谢谢
回复

使用道具 举报

全局:
非常有用,谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表