作者linlowmoon (ya!)
看板Statistics
標題[程式] SAS panel data
時間Tue Apr 26 21:36:23 2011
大家好
我是用SAS跑panel模型
不知道這個error的意思是什麼
ERROR: Not enough observations with non-missing model variables for model
statement in cross section company=11.
還有是因為什麼出了問題?
以下是我的log檔
34 proc sort data=ratpo;
35 by company financial_year;
36 run;
38
39 proc panel data= ratpo;
40 id company financial_year;
41 model tgpw_growth=changerbc lnta dummy_stock dummy_group dummy_mutual
longtail_ratio_npw / fixonetime ;
42 run;
ERROR: Not enough observations with non-missing model variables for model
statement in cross section company=11.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PANEL used (Total process time):
real time 0.58 seconds
cpu time 0.32 seconds
麻煩大家了 謝謝^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.242.1.55
※ 編輯: linlowmoon 來自: 111.242.1.55 (04/26 21:36)
推 h0h1:意思就是你的company11觀測值不夠,可能只有1年沒法跑panel 04/27 11:56
→ linlowmoon:那請問要怎麼忽略這家公司? 04/27 21:47
→ linlowmoon:原本以為unbalance的話 自動就會設定missing data 04/27 21:48
→ h0h1:我都手動刪除耶,寫程式先算出觀測對象的長度如果是1就刪掉 04/27 22:15