楼主: srorange
2227 2

[原创博文] 问下length和merge两个没清楚的问题 [推广有奖]

  • 0关注
  • 0粉丝

大专生

18%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
241 点
帖子
34
精华
0
在线时间
41 小时
注册时间
2010-1-23
最后登录
2015-11-2

楼主
srorange 发表于 2010-8-22 15:32:37 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
周一考试,最后问两题,如果通过了再上来讲讲,多谢
Given the contents of the raw data file TYPECOLOR.DAT:

  ----+----10---+----20---+----30
  daisyyellow

The following SAS program is submitted:

  data FLOWERS;
     infile 'TYPECOLOR.DAT' truncover;
     length
        Type $ 5
        Color $ 11;
     input
        Type $
        Color $;
  run;

What are the values of the variables Type and Color?

     A. Type=daisy, Color=yellow
     B. Type=daisy, Color=w
     C. Type=daisy, Color=daisyyellow
     D. Type=daisy, Color=

Answer: D
------------------------------------------------------------------------------
EMPLOYEE SALARY
name age name salary
Bruce 30 Bruce 40000
Dan35 Bruce 35000
Dan 37000
Dan.
The following SAS program is submitted:
data work.empsalary;
merge work.employee(in=inemp)
work.salary(in=insal);
by name;
if inemp and insal;
run;

how many observations will the data set WORK.EMPSALARY contain?
4
有in=不明白为什么答案是四个
不是要match么
二维码

扫码加我 拉你入群

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

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

关键词:length Merge leng eng observations following contents yellow values daisy

沙发
srorange 发表于 2010-8-23 10:29:22
不是很明白,问一下,谢谢

藤椅
srorange 发表于 2010-8-23 13:40:01
看看睡前能有答复不╮(╯_╰)╭

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

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