作者asking (問)
看板Statistics
標題[問題] SAS基本問題
時間Mon Oct 15 10:52:23 2007
跑proc print時
我資料裡面觀測值有630筆
可是proc print後 總是只出現210筆
是資料長度太長嗎? 或是跟library 的設定有關?
以下是LOG檔
NOTE: The infile 'C:/EconometricsData/cornwell.raw' is:
File Name=C:\EconometricsData\cornwell.raw,
RECFM=V,LRECL=256
NOTE: 630 records were read from the infile 'C:/EconometricsData/cornwell.raw'.
The minimum record length was 256.
The maximum record length was 256.
One or more lines were truncated.
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.HOMEWORK has 210 observations and 36 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
86 proc print data=homework;
87 run;
NOTE: There were 210 observations read from the data set WORK.HOMEWORK.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.06 seconds
cpu time 0.04 seconds
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.13.208.60
※ 編輯: asking 來自: 163.13.208.60 (10/15 11:41)
→ asking:麻煩了 10/15 11:41
推 alias:你把資料讀進SAS時就剩210筆啦...並不是proc print 的原因 10/15 20:41
→ alias:LOG檔也顯示原始資料是有630筆沒錯...我想應該是 infile時, 10/15 20:43
→ alias:指令哪裡出錯了吧.... 10/15 20:44