楼主: muyedekakaxio
1600 0

[原创博文] IML程序 看不懂了,高手来求教,急求。 [推广有奖]

  • 0关注
  • 0粉丝

大专生

90%

还不是VIP/贵宾

-

威望
0
论坛币
32 个
通用积分
1.9000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1158 点
帖子
52
精华
0
在线时间
39 小时
注册时间
2010-10-10
最后登录
2022-11-12

楼主
muyedekakaxio 发表于 2011-3-27 02:30:33 |AI写论文
10论坛币
class.xls (11.5 KB) proc iml;
filename inclass  'E:\SA程序\ResDat\class.sas7bdat';
infile inclass missover ;
name="12345678";
sex="1";
create class var{name sex age height weight} ;
do data ;
input  name$ sex$ age height weight;
append;
end;
close class;
closefile inclass;

运行结果居然告诉我截断。我实在不太明白。 主要是infile 后,这个文件到底在iml形式下是怎么存在的,  我不太懂。'E:\SA程序\ResDat\class.sas7bdat';本身class。sas.7bdat是一个SAS数据集。数据如下
NameSexAgeHeightWeight
AlfredM1469112.5
AliceF1356.584
BarbaraF1365.398
CarolF1462.8102.5
HenryM1463.5102.5
JamesM1257.383
JaneF1259.884.5
JanetF1562.5112.5
JeffreyM1362.584
JohnM125999.5
JoyceF1151.350.5
JudyF1464.390
LouiseF1256.377
MaryF1566.5112
PhilipM1672150
RobertM1264.8128
RonaldM1567133
ThomasM1157.585
WilliamM1566.5112

高手来,谢谢咯。请尽量讲解详细点,能够每行备注最好了,关键是infile语句以及 do data 语句。他到底想实现的目的。谢谢谢谢谢。
由于论团不支持data文件,我发了个excel文件,高手自己导下,或者,在这里自己复制到excel里,谢谢,急求。

关键词:看不懂 sas7bdat JeffreyM filename missover

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

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