楼主: idiele
1098 3

SAS_base [推广有奖]

  • 1关注
  • 0粉丝

已卖:1份资源

本科生

29%

还不是VIP/贵宾

-

威望
0
论坛币
22 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
1692 点
帖子
77
精华
0
在线时间
33 小时
注册时间
2009-3-7
最后登录
2017-5-31

楼主
idiele 发表于 2012-7-27 14:43:35 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

i think the answer should be C. what are your opions?

data WORK.DATE_INFO;

     Day="01" ;

     Yr=1960 ;

     X=mdy(Day,01,Yr) ;

  run;

What is the value ofthe variable X?

     A. the numeric value 0

     B. the character value "01011960"

     C. a missing value due to syntax errors

     D. the step will not compile because ofthe character argument in the mdy function.

Answer: A


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Base Character function Variable argument character function because errors should

沙发
hcydlee 发表于 2012-7-27 15:00:35
Should be A, the Character value will be converted to numeric values automatically and there will be a note in the SAS log.
80 字节以内
不支持自定义 Discuz! 代码

藤椅
hcydlee 发表于 2012-7-27 15:03:42
hcydlee 发表于 2012-7-27 15:00
Should be A, the Character value will be converted to numeric values automatically and there will be ...
However, we should always consider this problem and avoid system conversion.
80 字节以内
不支持自定义 Discuz! 代码

板凳
idiele 发表于 2012-7-27 15:06:36
thanks a lot!
it is true. I just ran the code in SAS

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-8 16:28