楼主: huangpengfei
950 2

数据读入问题请教 [推广有奖]

  • 1关注
  • 1粉丝

博士生

7%

还不是VIP/贵宾

-

威望
0
论坛币
344 个
通用积分
0.0004
学术水平
7 点
热心指数
10 点
信用等级
5 点
经验
2026 点
帖子
122
精华
0
在线时间
281 小时
注册时间
2008-3-2
最后登录
2017-5-8

楼主
huangpengfei 发表于 2014-1-11 21:27:48 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
请问附件中的用下面的语句读入:
data class;
  infile "D:\SAS9.1.3\study\class2.xls";
  input name $ sex $ age weight height;run;
最终生成的表中没有观察值的原因是什么?谢谢


二维码

扫码加我 拉你入群

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

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

关键词:数据读入 infile Weight Eight study

class2.xls
下载链接: https://bbs.pinggu.org/a-1474029.html

2.75 KB

原始数据导入

沙发
huangpengfei 发表于 2014-1-12 10:58:54
有人能帮忙回答一下吗?非常感谢!

藤椅
邓贵大 发表于 2014-1-13 11:39:02
EXCEL files are not supported by the INFILE statement.
If SAS/ACCESS Interface for PC Files is part of your SAS installation, read this paper http://www2.sas.com/proceedings/sugi31/020-31.pdf and follow whichever example relevant, otherwise, save .XLS as comma-separated text file and try INFILE again.
Be still, my soul: the hour is hastening on
When we shall be forever with the Lord.
When disappointment, grief and fear are gone,
Sorrow forgot, love's purest joys restored.

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

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