几个SAS base问题求讨论
发布:picassososo | 分类:SAS软件培训
关于本站
人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!
获取电子版《CDA一级教材》
完整电子版已上线CDA网校,累计已有10万+在读~ 教材严格按考试大纲编写,适合CDA考生备考,也适合业务及数据分析岗位的从业者提升自我。
TOP热门关键词
免费学术公开课,扫码加入![]() |
A.It cannot be used in an if/then condition.
B.It cannot be used in an assignment statement.
C.It can be put into a keep statement or keep= option.
D.It is automatically dropped.
(选D??)
2.The following SAS program is sumbitted:
data WORK.INFO;
infile 'DATAFILE.TXT';
input @1 Company $20. @25 State $2. @;
if State=' ' then input @30 Year;
else input @30 City Year;
input NumEmployees;
run;
How many raw data records are read during each iteration of the DATA step?
A.1 B.2 C.3 D.4
3.You're attempting to read a raw data file and you see the following messages displayed in the SAS Log:
NOTE: Invalid data for Salary in line 4 15-23.
RULE:
----+----1----+----2----+----3----+----4----+----5--
4 120104 F 46#30 11MAY1954 33
Employee_Id=120104 employee_gender=F Salary=. birth_date=-2061 _ERROR_=1 _N_=4
NOTE: 20 records were read from the infile 'c:\employees.dat'.
The minimum record length was 33.
The maximum record length was 33.
NOTE: The data set WORK.EMPLOYEES has 20 observations and 4 variables.
What does it mean?
A.A compiler error, triggered by an invalid character for the variable Salary.
B.An execution error, triggered by an invalid character for the variable Salary.
C.The 1st of potentially many errors, this one occurring on the 4th observation.
D.An error on the INPUT statement specification for reading the variable Salary.
(我觉得是B)
4.Consider the following data step:
data WORK.NEW;
set WORK.OLD;
Count+1;
run;
The variable Count is created using a sum statement. Whichstatement regarding this variable is true?
A.It is assigned a value 0 when the data step begins execution.
B.It is assigned a value of missing when the data step begins execution.
C.It is assigned a value 0 at compile time.
D.It is assigned a value of missing at compile time.
(我选A)
5.A user-defined format has been created using the FORMAT procedure.
How is it stored?
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
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
您可能感兴趣的文章
- SAS软件培训 ... | 北美8/16/2013 SAS Base 94% 通过 ...
- SAS软件培训 ... | GAM中,多个自变量影响显著性检验 ...
- SAS软件培训 ... | 统计分析与SAS软件
- SAS软件培训 ... | 求一份程士宏 测度论与概率论基础 ...
- SAS软件培训 ... | SAS 9.0 中文版(BI智能商务)HTTP ...
- SAS软件培训 ... | 上传一个可用到明年二月份的SAS ...
- SAS软件培训 ... | 下载SAS 9.3 64位 Sid文件(2013 ...
- SAS软件培训 ... | [下载]SAS® 9.2 Interface ...
人气文章
本文标题:几个SAS base问题求讨论
本文链接网址:https://bbs.pinggu.org/jg/ruanjianpeixun_sasruanjianpeixun_677606_1.html
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。



