SAS_base_95题(附答案)

1.The following SAS program is submitted:

data WORK.TOTAL;

set WORK.SALARY;

by Department Gender;

if First.<_insert_code_> then Payroll=0;

Payroll+Wagerate;

if Last.<_insert_code_>;

run;

The SAS data set WORK.SALARY is currently ordered by Gender within Department.

Which inserted code will accumulate subtotals for each Gender within Department?

A. Gender

B. Department

C. Gender Department

D. Department Gender

Answer: A

-------------------------------------

2.Given the following raw data records in TEXTFILE.TXT:

----|----10---|----20---|----30

John,FEB,13,25,14,27,Final

John,MAR,26,17,29,11,23,Current

Tina,FEB,15,18,12,13,Final

Tina,MAR,29,14,19,27,20,Current

The following output is desired:

Obs Name Month Status Week1 Week2 Week3 Week4 Week5

1 John FEB Final $13 $25 $14 $27 . 2 John MAR Current $26 $17 $29 $11 $23 3 Tina FEB Final $15 $18 $12 $13 . 4 Tina MAR Current $29 $14 $19 $27 $20

Which SAS program correctly produces the desired output?

A.

data WORK.NUMBERS;

length Name $ 4 Month $ 3 Status $ 7;

infile 'TEXTFILE.TXT' dsd;

免费下载该文档:SAS_base_95题(附答案)
相关文档
SAS BASE 123试题+答案详解
SAS BASE 123试题+答案详解_IT认证_资格考试/认证_教育专区。sas base 123的...SAS_base_95题(附答案) 54页 5下载券 SAS_BASE_快速入门_相当... 127页...
SAS_base_考试必备_70真题(附答案)
SAS_base_考试必备_70真题(附答案)_文学_高等教育_教育专区。1.The following...SAS_base_95题(附答案) 暂无评价 54页 2下载券 SAS BASE 178页 免费 sas ...
SAS_base_95_无答案版
SAS_base_95_无答案版_司法考试_资格考试/认证_教育专区。1.The following ...SAS_base_95题(附答案) 54页 5下载券 SAS BASE 123试题+答案详... 68页...
SAS Base认证考试(70真题+答案详解)
SAS Base 认证考试—70 题 SAS 分多个认证种类:base,advanced,clinic 等,但...95.50 OUTDOOR 15 2 B132S 2.99 CLOTHING 300 10 R18KY2 51.99 EQUIPMENT...
SAS-base-考试必备-70真题(附答案)
SAS-base-考试必备-70真题(附答案)_经济学_高等教育_教育专区。sas ...SAS_BASE基础 91页 免费 SAS_base_95题(附答案) 54页 5下载券 SAS BASE...
BASE机经变形题总结
BASE机经变形题总结_IT认证_资格考试/认证_教育专区。2015年SAS BASE机经变形题...机经 8/27/14 大多数题在95题库中,答案的顺序有变化。下面-题有点变化。 ...
sas base 70题新题
sas base 70题新题_IT认证_资格考试/认证_教育专区。sas base 70题最近的一些新题 71.Which one of the following SAS REPORT procedure options controls how ...
SAS_Base认证考试(70真题+答案详解)
SAS Base 认证考试—70 题 SAS 分多个认证种类:base,advanced,clinic 等,但...95.50 OUTDOOR 15 2 B132S 2.99 CLOTHING 300 10 R18KY2 51.99 EQUIPMENT...
SASbase70答案详解
SASbase70答案详解_IT认证_资格考试/认证_教育专区。答案、中文讲解、原题皆...95 答案、中文讲解、原题皆来自 http://crackman.net 51 Proc contents data=...
SAS上机练习题(全部,含参考答案)
SAS上机练习题(全部,含参考答案)_IT认证_资格考试/认证_教育专区。重庆医科大学...(1)计算均数、中位数;计算均数的 95%可信区间; (2)计算四分位间距、标准...