楼主: 蜻蜓点水
27552 130

[下载]SAS认证220道 练习题及详细答案 [推广有奖]

  • 1关注
  • 20粉丝

VIP+

已卖:4860份资源

教授

86%

还不是VIP/贵宾

-

威望
2
论坛币
33900 个
通用积分
51.8902
学术水平
34 点
热心指数
44 点
信用等级
19 点
经验
15555 点
帖子
371
精华
0
在线时间
1860 小时
注册时间
2005-5-8
最后登录
2025-10-24

楼主
蜻蜓点水 发表于 2008-3-15 04:18:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
<p></p><p> 198271.pdf (1.22 MB) </p><p></p><p></p><p>&nbsp;</p><p></p><p></p><p></p><p></p><p>&nbsp;</p><p></p><p>SAS认证220道<br/>&nbsp;&nbsp;练习题及详细答案, 题目覆盖了所有SAS BASE 考试所涉及到的范围。 </p><p></p><p></p><p>例子1 </p><p></p><p></p><p>Suppose the YEARCUTOFF= system option is set to 1920. An input file contains the date expression 12/08/1925, which is being read with the MMDDYY8. informat. Which date will appear in your data? </p><p></p><p></p><p>a.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 08DEC1920 </p><p></p><p></p><p>b.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 08DEC1925 </p><p></p><p></p><p>c.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 08DEC2019 </p><p></p><p></p><p>d. &nbsp; 08DEC2025<br/>&nbsp;&nbsp;&nbsp;&nbsp; </p><p></p><p></p><p></p><p>&nbsp;</p><p></p><p>Correct answer: c<br/>&nbsp;&nbsp;&nbsp;&nbsp; </p><p></p><p></p><p>The w value of the informat MMDDYY8. is too small to read the entire value, so the last two digits of the year are truncated. The last two digits thus become 19 instead of 25. Because the YEARCUTOFF= system option is set to 1920, SAS interprets this year as 2019. To avoid such errors, be sure to specify an informat that is wide enough for your date expressions. </p><p></p><p></p><p></p><p>&nbsp;</p><p></p><p>例子2 </p><p></p><p></p><p>What is the length of the variable Type, as created in the DATA step below? </p><p></p><p></p>data finance.newloan;<p></p>&nbsp;&nbsp; set finance.records;<p></p>&nbsp;&nbsp; TotLoan+payment;<p></p>&nbsp;&nbsp; if code='1' then Type='Fixed';<p></p>&nbsp;&nbsp; else Type='Variable';<p></p>&nbsp;&nbsp; length type $ 10;<p></p>run;<p></p><p>a.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 </p><p></p><p></p><p>b.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 </p><p></p><p></p><p>c.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 </p><p></p><p></p><p>d.&nbsp;&nbsp; It depends on the first value of Type </p><p></p><p></p><p></p><p>&nbsp;</p><p></p><p>Correct answer: a<br/>&nbsp;&nbsp;&nbsp;&nbsp; </p><p></p><p></p><p>The length of a new variable is determined by the first reference in the DATA step, not by data values. In this case, the length of Type is determined by the value Fixed. The LENGTH statement is in the wrong place; it must be read before any other reference to the variable in the DATA step. The LENGTH statement cannot change the length of an existing variable </p><p></p><p></p><p></p>

[此贴子已经被angelboy于2008-4-25 14:58:16编辑过]

二维码

扫码加我 拉你入群

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

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

关键词:sas认证 详细答案 练习题 expressions Expression SAS 练习题 认证

已有 2 人评分学术水平 热心指数 信用等级 收起 理由
迈向人大 + 1 + 1 + 1 热心帮助其他会员
罗琦琦 + 1 + 1 + 1 奖励积极上传好的资料

总评分: 学术水平 + 2  热心指数 + 2  信用等级 + 2   查看全部评分

沙发
紫榭 发表于 2008-3-16 17:32:00
<p>顶</p>

藤椅
gongleiwp 发表于 2008-3-17 14:07:00
<p>要了 !!!!!!111</p><p>再黑也要了!!!!!!!!!!</p>

板凳
miumiuzhang 发表于 2008-3-17 20:43:00
<p>太贵了啊!!</p>

报纸
olover 发表于 2008-3-17 21:54:00
Dont buy it. It is&nbsp;exactly the same as the exercises&nbsp;from the base online tutoring.

地板
happylijun21 在职认证  发表于 2008-3-18 18:40:00
怎么看都觉得例子中的第一题有问题啊

7
蜻蜓点水 发表于 2008-3-19 04:42:00
<p>A trappy question</p><p>/*********************************************************************************************/</p><p>"The w value of the informat MMDDYY8. is too small to read the entire value, so the last two<br/>digits of the year are truncated. The last two digits thus become 19 instead of 25. Because the<br/>YEARCUTOFF= system option is set to 1920, SAS interprets this year as 2019. To avoid such<br/>errors, be sure to specify an informat that is wide enough for your date expressions".</p><p>/*********************************************************************************************/</p>

8
tenct 发表于 2008-3-19 05:34:00
<p>wo yun a </p><p>tai gui le ba </p>

9
carter123 发表于 2008-3-19 14:37:00
太贵了,多帮点初学者吧

10
hesummar 发表于 2008-3-21 11:48:00
认真学习前辈留下的遗物。。哈哈。。

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-27 05:45