SAS Adv 模拟 130

SAS Adv 模拟 130

ID:47239042

大小:175.50 KB

页数:37页

时间:2019-08-04

SAS Adv 模拟 130_第1页
SAS Adv 模拟 130_第2页
SAS Adv 模拟 130_第3页
SAS Adv 模拟 130_第4页
SAS Adv 模拟 130_第5页
资源描述:

《SAS Adv 模拟 130》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、1.GiventheSASdatasetONE:ONEDIVISIONSALESA1234A3654B5678ThefollowingSASprogramissubmitted:data_null_;setone;bydivision;iffirst.divisionthendo;%letmfirst=sales;end;run;WhatisthevalueofthemacrovariableMFIRSTwhentheprogramfinishesexecution?A.1234B.5678C.nullD.sales2.ThefollowingSASp

2、rogramissubmitted:datatemp;arraypoints{2,3}(10,15,20,25,30,35);run;WhatimpactdoestheARRAYstatementhaveintheProgramDataVector(PDV)?A.ThevariablesnamedPOINTS1,POINTS2,POINTS3,POINTS4,POINTS5,POINTS6arecreatedinthePDV.B.ThevariablesnamedPOINTS10,POINTS15,POINTS20,POINTS25,POINTS30,

3、POINTS35arecreatedinthePDV.C.ThevariablesnamedPOINTS11,POINTS12,POINTS13,POINTS21,POINTS22,POINTS23arecreatedinthePDV.D.NovariablesarecreatedinthePDV.3.GiventheSASdatasetsMATH1AandMATH1B:MATH1AMATH1B----------------------------------NAMEFINAMEFI------------------------LaurenLSmi

4、thMPatelALaurenSChangZPatelAHillierRThefollowingSASprogramissubmitted:procsql;select*fromMATH1Aselect*fromMATH1B;quit;Thefollowingoutputisdesired:NAMEFILaurenLPatelAChangZSmithMLaurenSPatelAHillierRWhichSQLsetoperatorcompletestheprogramandgeneratesthedesiredoutput?A.APPENDCORRB.

5、EXCEPTCORRC.OUTERUNIONCORRD.INTERSECTALLCORR4.ThefollowingSASprogramissubmitted:%lettest=one;%letone=two;%lettwo=three;%letthree=last;%putwhatdisplaysis&&&&&test;WhatiswrittentotheSASlog?A.whatdisplaysisoneB.whatdisplaysistwoC.whatdisplaysisthreeD.whatdisplaysislast5.Giventhefol

6、lowingpartialSASlog:29%macrotest;30%if&a=5%then%do;31procprintdata=sashelp.prdsale;32run;33%end;34%else%putaisnot5;35%mend;3637%leta=5;38%test(TEST):Beginningexecution.:MacrovariableAresolvesto5(TEST):%IFcondition&a=5isTRUE(TEST):procprintdata=sashelp.prdsale;(TEST):run;WhichSAS

7、SystemoptionwritestotheSASlogthenoteMacrovariableAresolvesto5?A.MLOGICB.MPRINTC.SYMBOLGEND.MSGLEVEL=I6.TheSASdatasetWORK.TEMPDATAcontainsthevariablesFMTNAME,START,andLABELanditconsistsof10observations.ThefollowingSASprogramissubmitted:procformatcntlin=work.tempdata;run;Whatisthe

8、resultofsubmittingtheFORMATprocedurestep?A.Nofo

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。