[問題] SAS基本問題

看板Statistics作者 (問)時間18年前 (2007/10/15 10:52), 編輯推噓1(103)
留言4則, 2人參與, 最新討論串1/2 (看更多)
跑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)

10/15 11:41, , 1F
麻煩了
10/15 11:41, 1F

10/15 20:41, , 2F
你把資料讀進SAS時就剩210筆啦...並不是proc print 的原因
10/15 20:41, 2F

10/15 20:43, , 3F
LOG檔也顯示原始資料是有630筆沒錯...我想應該是 infile時,
10/15 20:43, 3F

10/15 20:44, , 4F
指令哪裡出錯了吧....
10/15 20:44, 4F
文章代碼(AID): #174jNgjg (Statistics)
討論串 (同標題文章)
文章代碼(AID): #174jNgjg (Statistics)