楼主: hailingkatherin
1665 1

SAS Base Online Tutor关于merge的问题 [推广有奖]

  • 0关注
  • 0粉丝

已卖:13份资源

硕士生

82%

还不是VIP/贵宾

-

威望
0
论坛币
277 个
通用积分
0
学术水平
1 点
热心指数
5 点
信用等级
1 点
经验
164 点
帖子
126
精华
0
在线时间
87 小时
注册时间
2015-1-18
最后登录
2016-5-15

楼主
hailingkatherin 发表于 2015-3-9 17:25:56 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币


What happens if you submit the following program to mergeBlood.Donors1 and Blood.Donors2, shown below?data work.merged;   merge blood.donors1 blood.donors2;   by id;run;

Blood.Donors1

[td]
ID

Type

Units

2304

O

16

1129

A

48

1129

A

50

1129

A

57

2486

B

63

   

Blood.Donors2

[td]
ID

Code

Units

6488

65

27

1129

63

32

5438

62

39

2304

61

45

1387

64

67



a.The Merged data set contains some missing values because not all observations have matching observations in the other data set.
b.The Merged data set contains 8 observations.
c.The DATA step produces errors.
d.Values for Units in Blood.Donors2 overwrite values of Units inBlood.Donors1.

Correct answer:   c


问下为什么会出现错误呢???不能合并的不能放在那里吗(尽管有可能有missing value)?
谢谢!

二维码

扫码加我 拉你入群

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

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

关键词:SAS base ONLINE nline tutor Merge following matching because Online values

沙发
sushe1527 发表于 2015-3-9 18:54:45
应该是id没排序,排序了选d

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

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