[問題] 跑sas時出現的問題

看板Statistics作者 (witch)時間17年前 (2008/06/28 21:20), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
我在跑二階段最小平方法(2sls)時,語法如下: proc syslin data=K.HSIN 2sls ; endogenous csr1 q_ave ; instruments rd_ave csr2 csr3 csr4 size D1 D2 D3 D4 D5 D7 D8 ; reg1: model csr1=rd_ave q_ave size D1 D2 D3 D4 D5 D7 D8 ; reg2: model q_ave=csr1 csr2 csr3 csr4 rd_ave size D1 D2 D3 D4 D5 D7 D8; RUN ; reg1可以跑得出來 但reg2跑出來的結果顯示 WARNING: The model is not of full rank. Least Squares solutions for the parameters are not unique. Certain statistics will be misleading. A reported degree of freedom of 0 or B means the estimate is biased. The following parameters have been set to zero. These variables are a linear combination of other variables as shown. CSR1 = -0.0381*Intercept +0.2148* CSR2 +0.2200*CSR3 +0.2593*CSR4 +0.004380*SIZE -0.002569*D1 -0.0122*D2 -0.004962*D3 -0.0505*D4 +0.0819*D5 +0.007241*D7 -0.0219*D8 請問是那邊出了問題呢?謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.149.150

06/28 21:34, , 1F
可能是虛擬變數的問題
06/28 21:34, 1F

06/28 21:40, , 2F
The model is not of full rank.
06/28 21:40, 2F
文章代碼(AID): #18PZgSFF (Statistics)