作者starskythink (語星狂想)
看板Statistics
標題[程式] SAS 跑dynamic GMM
時間Sun Jan 11 18:06:30 2015
[軟體程式類別]:
SAS
[程式問題]:
迴歸跑不出來
[軟體熟悉度]:
低(1~3個月)
[問題敘述]:
ERROR: There is only one cross section or time series observation.
Computations will be terminated.
ERROR: The variable ADT_1 was given in the MODEL statement of PROC PANEL. It
is not a valid variable in the current
input data set.
[程式範例]:
proc panel data=test;
clag adt(1) / out=test2;
id gvkey year;
run;
proc panel data=test2;
id gvkey year;
instrument depvar;
model adt = adt_1 ad2_lag st_lag cft_lag dbt_lag /gmm twostep maxband=5
nolevels noint;
run;
而且不知道為什麼我的clag 跟instrument都是紅字
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.19.193
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Statistics/M.1420970793.A.884.html
1F:推 tew: 跑不出來 你有一家公司只有一年的資料 至少讓他兩年吧 01/11 22:53