boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS BASE Questions
相关主题
question about SAS BASE 123 NO.110
SAS 求助: filenames
SAS proc format的问题
请教两个关于SAS的问题
Proc SQL 能不能直接读 非 SAS format 的数据,txt , csv 等
刚刚考完SAS base,补充一下
一个SAS应用问题
SAS help:产生个文件列表(双黄包给workable solution)
请教SAS问题:这个code有什么办法简化吗?
从yahoo finance下载数据,R or Python?
相关话题的讨论汇总
话题: sas话题: amount话题: rawdata2话题: following话题: data
进入Statistics版参与讨论
1 (共1页)
l***i
发帖数: 8
1
The following SAS program is submitted:
data test;
set sasuser.employees;
if 2 le years_service le 10 then amount=1000;
else if years_service gt 10 then amount=2000;
else amount=0;
amount_per_year=years_service/amount;
run;
Which one of the following values does the variable Amount_per_year contain
if an employee has been with the company for one year?
A.0
B. 1000
C.2000
D.(missing numeric value)
Why the answer is C? I can not understand. Can any body explain to me why?
Thanks!
##########################
The following SAS program is submitted:
libname rawdate1 'location of SAS data library';
filename rawdata2 'location of raw data file';
data work.testdata;
infile;
input sales1 sales2;
run;
which one of the following is needed to complete the program correctly?
A. rawdata1
B. rawdata2
C. 'rawdata1'
D.'rawdata2'
I choose B. but the answer is D. Why?
1 (共1页)
进入Statistics版参与讨论
相关主题
从yahoo finance下载数据,R or Python?
How to work on this dataset?
sas 简单问题
请教SAS base 123 一题
One question about data step in sas
请问base(123题)的第114题
April 22/ 2014 SAS BASE PASS
请问SAS BASE考试中12题的正确答案是什么?
一个sas base问题不明白,请教
请教SAS BASE的一个题目
相关话题的讨论汇总
话题: sas话题: amount话题: rawdata2话题: following话题: data