楼主: mazhengjy
1624 3

[原创博文] 问一道SAS BASE的题 [推广有奖]

  • 0关注
  • 1粉丝

硕士生

32%

还不是VIP/贵宾

-

威望
0
论坛币
3671 个
通用积分
3.5202
学术水平
2 点
热心指数
3 点
信用等级
2 点
经验
2406 点
帖子
99
精华
0
在线时间
201 小时
注册时间
2008-10-13
最后登录
2018-9-5

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
33.The following SAS program is submitted:
data test;
input animal1 $ animal2 $
mlgrams1 mlgrams2;
cards;
hummingbird ostrich 54000.39 90800000.87
;
run;

Which one of the following represents the values of each variable in the
output data set?
a. animal1 animal2 mlgrams1 mlgrams2
hummingb ostrich 54000.39 90800000
b. animal1 animal2 mlgrams1 mlgrams2
hummingb ostrich 54000.39 90800000.87
c. animal1 animal2 mlgrams1 mlgrams2
hummingbird ostrich 54000.39 90800000

答案选的是b,但我怎么感觉不对啊?character variable的default length不是20么
?而且我
觉得应该mlgrams2的值为90800000才对啊,恳请各位给予指点。感激不尽。

PS:马上就要考了,做123的时候感觉好多题目排版都有问题啊,大家有没有稍微好点的
版本的啊?





二维码

扫码加我 拉你入群

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

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

关键词:SAS base Base represents following represent represents following values

沙发
zespri 发表于 2009-8-13 06:56:13 |只看作者 |坛友微信交流群
character variable length = 8 (in cards statement)

使用道具

藤椅
mazhengjy 发表于 2009-8-13 07:44:37 |只看作者 |坛友微信交流群
2# zespri

Thanks, but how to explain the value of mlgrams2 is 90800000.87

使用道具

板凳
angel42102209 发表于 2009-8-13 10:16:20 |只看作者 |坛友微信交流群
the default format of mlgrams2 is BEST12.

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 20:29