[程式] stata:truncated和cluster2的問題

看板Statistics作者 (omitr)時間13年前 (2012/06/09 19:33), 編輯推噓2(206)
留言8則, 4人參與, 最新討論串1/1
------------------------------------------------------------------------ [軟體程式類別]: Stata [程式問題]: 迴歸 [軟體熟悉度]: 中(3個月到1年) [問題敘述]: 1、 迴歸有二,正負各跑一條truncreg,然而輸出結果並沒有含解釋能力, 請問這是正常的嘛?(PS:我是會計系學生,基本上統計能力不足) 2、 我也嘗試用cluster2來跑迴歸,但是每次輸入指令後,都會出現 unrecognized command:cluster2 請問有無前置指令,還是我與法錯誤呢? [程式範例]: 1、truncreg的報表輸出指令為: esttab * using truncreg1.rtf, ar2 pr2 b(%7.4f) 但是在ar2和pr2的部分都是空白,囧 2、cluster2的指令為: cluster2 Y X1 X2, fcluster(id) tcluster(year) 但總是在cluster2就卡關了 有嘗試先輸入tsset id year 但還是不行.. ----------------------------------------------------------------------------- 不好意思,我算是stata的新手,請統計大大們指教, 非常感恩,耽誤大家的時間!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.232.94

06/10 11:44, , 1F
那應該是別人自己寫的指令@@ 你要google一下他的ado檔
06/10 11:44, 1F

06/11 20:13, , 2F
Stata的truncreg不會產生R-square值,所以estout也沒東西
06/11 20:13, 2F

06/11 20:14, , 4F
這邊有介紹R-square大概的估算方法
06/11 20:14, 4F

06/11 20:16, , 5F
You are working with a subset of the orginial data, thus
06/11 20:16, 5F

06/11 20:17, , 6F
a smaller sample size, after dropping all the negative
06/11 20:17, 6F

06/11 20:18, , 7F
(positive) observed values. <= for Q1
06/11 20:18, 7F

06/13 17:12, , 8F
謝謝樓上二位大大!! 感激不盡
06/13 17:12, 8F
文章代碼(AID): #1FqpHvb- (Statistics)