教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 资格考试 >

SAS Base认证考试—70题(41-50)(2)

来源:网络收集 时间:2026-09-02
导读: What value will SAS assign to Total? A. 3 B. 1.6 C. 4.8 D. The program fails to execute due to errors. 答案:B 本题知识点:变量列表 变量列表 X1、X2、……、Xn Xa、Xb、……、Xy X、Y、Z、A Q 47 The foll

What value will SAS assign to Total? A. 3 B. 1.6 C. 4.8

D. The program fails to execute due to errors. 答案:B

本题知识点:变量列表 变量列表 X1、X2、……、Xn Xa、Xb、……、Xy X、Y、Z、A Q 47

The following output is created by the FREQUENCY procedure: The FREQ Procedure Table of region by product region product Frequency| Percent | Row Pct |

Col Pct |corn |cotton |oranges | Total ---------+--------+--------+--------+ EAST | 2 | 1 | 1 | 4

缩 写 X1-Xn 说 明 X1~Xn的所有变量 X: X-A X_NUMERIC_A X_CHARACTER_A 所有X开头的变量 X~A的所有变量 X~A的所有数值型变量 X~A的所有字符型变量 | 22.22 | 11.11 | 11.11 | 44.44 | 50.00 | 25.00 | 25.00 | | 50.00 | 33.33 | 50.00 | ---------+--------+--------+--------+ SOUTH | 2 | 2 | 1 | 5 | 22.22 | 22.22 | 11.11 | 55.56 | 40.00 | 40.00 | 20.00 | | 50.00 | 66.67 | 50.00 | ---------+--------+--------+--------+ Total 4 3 2 9 44.44 33.33 22.22 100.00

Which TABLES option(s) would be used to eliminate the row and column counts and just see the frequencies and percents? A. norowcount nocolcount B. freq percent C. norow nocol D. nocounts 答案:C

本题知识点:PROC FREQ过程

对一个变量计算频数叫one-way,两个叫two-way,多个叫交叉表。 PROC FREQ;

TABLE variale-combinations; 在语句后面,可以使用的选项主要有:

? ? ? ? ?

LIST:用list的方式打印交叉表,而不是表格 MISSING:概率统计量中包含缺失值 NOCOL:强制在交叉表中不打印列百分比 NOROW:强制在交叉表中不打印行百分比 OUTPUT=data-set

Q 48

The following SAS program is submitted: data WORK.TEST; drop City; infile datalines; input Name $ 1-14 / Address $ 1-14 / City $ 1-12 ;

if City='New York ' then input @1 State $2.; else input; datalines; Joe Conley 123 Main St. Janesville WI Jane Ngyuen 555 Alpha Ave. New York NY

Jennifer Jason 666 Mt. Diablo Eureka CA ;

What will the data set WORK.TEST contain? A.

Name Address State -------------- ---------------- ------ Joe Conley 123 Main St. Jane Ngyuen 555 Alpha Ave. NY Jennifer Jason 666 Mt. Diablo B.

Name Address City State -------------- ---------------- ----------- ------ Joe Conley 123 Main St. Janesville

Jane Ngyuen 555 Alpha Ave. New York NY Jennifer Jason 666 Mt. Diablo Eureka C.

Name Address State -------------- ---------------- ------ Jane Ngyuen 555 Alpha Ave. NY

D. 0 observations,there is a syntax error in the data step. 答案:A

本题知识点:指示器@ 参考第29题。 Q 49

The following SAS program is submitted:

data WORK.TOTALSALES(keep=MonthSales{12}); set WORK.MONTHLYSALES(keep=Year Product Sales); array MonthSales{12}; do i=1 to 12;

MonthSales{i}=Sales;

end; drop i; run;

The program fails execution due to syntax errors. What is the cause of the syntax error?

A. An array cannot be referenced on a keep= data set option. B. The keep= data set option should be (keep=MonthSales*).

C. The keep= data set option should be the statement KEEP MonthSales{12}. D. The variable MonthSales does not exist. 答案:A

本题知识点:KEEP=选项 参考第6题。 Q 50

Given the SAS data set WORK.ONE: Id Char1 --- ----- 111 A 158 B 329 C 644 D

and the SAS data set WORK.TWO: Id Char2 --- ----- 111 E 538 F 644 G

…… 此处隐藏:852字,全部文档内容请下载后查看。喜欢就下载吧 ……
SAS Base认证考试—70题(41-50)(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/414149.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)