[程式] Stata 大量取特定值
想要做的事情是 只想要取得所有 BWdS的 係數 與 t值,
目前用esttab,可以一次output 8的式子,
如下:
regress Vwed BWdS RMTRF
eststo model1
regress Vwed BWdS RMTRF SMB
eststo model2
regress Vwed BWdS RMTRF SMB HML
eststo model3
regress Vwed BWdS RMTRF SMB HML MMM
eststo model4
regress Ewed BWdS RMTRF
eststo model5
regress Ewed BWdS RMTRF SMB
eststo model6
regress Ewed BWdS RMTRF SMB HML
eststo model7
regress Ewed BWdS RMTRF SMB HML MMM
eststo model8
esttab using table2.rtf , replace starlevels(* .1 ** 0.05 *** 0.01)
如果我有數百個式子
是否能夠一次只output每個迴歸的指定係數的資訊呢
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.119.159.175
※ 文章網址: http://www.ptt.cc/bbs/Statistics/M.1403187052.A.01B.html
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):