作者faceoflove56 (1234567)
看板Statistics
標題[程式] 如何找出回歸依變數平均?
時間Fri Mar 20 16:42:36 2015
[軟體程式類別]:
SAS
[程式問題]:
資料處理
[軟體熟悉度]:
低(1~3個月)
[問題敘述]:
想請問跑多元迴歸如何找出依變數平均(即Y的平均)
這是我跑出的結果,想請問
1.圖中的依變數PRODA是所謂的依變數平均嗎?
2.為何PRODA全顯示為-1(我試過用其他依變數及自變數,結果也是-1)
有圖有真相
http://imgur.com/j0jbXe5
麻煩各位前輩了,感謝。
[程式範例]:
proc reg data=mylib.RegData outest=mylib.IndustryReg;
where PRODA NE . and X1 NE . and X2 NE . and X3 NE . and X4 NE .;
model PRODA = X1 X2 X3 X4;
by Industry;
title 'Real Activities Manipulation';
test X1=0, X2=0, X3=0, X4=0;
quit;
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.119.120.6
※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1426840959.A.34D.html
推 evilove: intercept? 03/21 02:52
→ faceoflove56: intercept不是β_0嗎? 03/21 07:09