需要回答这个SAS练习问题,如果可能的话需要解释
您正在尝试读取原始数据文件,并在SAS日志中显示以下消息:需要回答这个SAS练习问题,如果可能的话需要解释,sas,Sas,您正在尝试读取原始数据文件,并在SAS日志中显示以下消息: NOTE: Invalid data for Salary in line 4 15-23. RULE: ----|----10---|----20---|----30---|----40---|----50- 4 120104 F 46#30 11MAY1954 33 Employee_Id=120104 employee_gender=F Salary=. birth_date=-2061
NOTE: Invalid data for Salary in line 4 15-23.
RULE: ----|----10---|----20---|----30---|----40---|----50-
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
这是什么意思
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.
看看问题: 注意:第4行15-23中的薪资数据无效 这就是当您从一个文件或数据行中得到一条输入语句,并且您希望得到一个数值,但遇到一个无法读入该字段的非数值(或者与预期信息不匹配的内容)时得到的提示 D.输入语句规范中读取可变工资的错误 这对我来说似乎是最好的答案,这取决于你如何解析答案文本
- (A) 指编译器错误,这意味着它们发生在读入任何数据之前-当然不是这样,问题出在数据上李>
- (B) 是另一个可能的答案;这当然是执行时间,它确实是由数据中的无效字符引起的,但我不喜欢这个答案的措辞,我认为它不清楚
- (C) 是错误的,因为这是你看到的唯一错误
- (D) 如果你认为你的数据是正确的,我相信这是最准确的。虽然有可能输入语句是正确的,但您的数据是错误的;在这种情况下,它将指出(B)是正确的答案李>