统计211

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8854|回复: 2
打印 上一主题 下一主题

sas中的cards与datalines区别吗?

[复制链接]
跳转到指定楼层
1
发表于 2013-3-12 11:21:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
如题,貌似没发现有什么区别,上网搜索也没找到有用的说法。
老外论坛上貌似也说这两个是相同的:
Reading data inline means that the raw data is part of the SAS program. You enter the actual data points inside the PROGRAM EDITOR.  The DATALINES statement indicates to SAS that DATA step statements are completed and the next line contains real data. Notice that the lines of data do not  end in a semicolon. Instead of the DATALINES statement you can also use the CARDS statement. The two are equivalent. CARDS stems from way back when reading data meant feeding punch cards. The lone semicolon should be pointed before the PROC PRINT statement.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播 分享分享 分享淘帖 支持支持 反对反对
2
发表于 2013-7-21 21:20:44 | 只看该作者
这两个语句是完全一样的吧,好像cards是以前人们计数用的一种卡片,后来有的datalines;
3
发表于 2013-7-21 21:56:39 | 只看该作者
木有区别,一样的命令
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


免责声明|关于我们|小黑屋|联系我们|赞助我们|统计211 ( 闽ICP备09019626号  

GMT+8, 2025-4-11 02:10 , Processed in 0.076781 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表