5342245 发表于 2010-3-7 19:50
近期学习SAS的疑问,请教高手:
1 SAS程序运行后结果输出,界面放不下怎么办?如何把运行的结果保存在其他地方?
2 使用SAS infile语句导数据总会出现问题,很多行记录被认为有缺失;数据是EXCEL另存为TXT的,但是使用import 导入数据就可以,我的数据没有缺失,知识数据小数点后保留的位数不同?
3 SAS过程中的选项中顺序是否有关系,是否会影响结果,例如REG过程中
MODEL Y=X/CLI R; CLI R 的顺序是否有关系,不是很了解SAS是基于什么原理调用函数的?
初学SAS使用中遇到的问题,可能有点简单,希望大家能帮帮我,谢谢。
Crackman is already cracked the first problem.
For the second one, if you save the file as 'csv' / 'txt' of comma / tab delimiter, you can add delimiter=',' dsd/ delimiter='09'x dsd.
Definition for DSD:
DSD (delimiter-sensitive data) specifies that when data values are enclosed in quotation marks, delimiters within the value are treated as character data. The DSD option changes how SAS treats delimiters when you use LIST input and sets the default delimiter to a comma. When you specify DSD, SAS treats two consecutive delimiters as a missing value and removes quotation marks from character values.