陈小丽 发表于 2023-9-27 20:25 
reghdfe $y1 $x $control if isJss==1,absorb(stkcd year) vce(cluster stkcd)
estadd local Province "Ye ...
谢谢老师!想再问一下,回归图没有星号是怎么回事呢?
我的代码是
bysort 全国:egen median1=median(地方政府债务风险RISK)
sort 全国 地方政府债务风险RISK
gen high=( median1 >.0258415)
xtreg 地方政府债务风险RISK 财政收入分权FD 审计投入力度AUD 审计发现问题金额率AUD_F 经济增长率GDP_G 媒体水平MEDIA 教育水平EDU 预算软约束SBC if high == 1, fe robust
estadd local 全国 "Yes",replace
estadd local 年份 "Yes",replace
est sto a
xtreg 地方政府债务风险RISK 财政收入分权FD 审计投入力度AUD 审计发现问题金额率AUD_F 经济增长率GDP_G 媒体水平MEDIA 教育水平EDU 预算软约束SBC if high == 0, fe robust
estadd local 全国 "Yes",replace
estadd local 年份 "Yes",replace
est sto b
esttab a b using RobustnessTest2.rtf,replace b(3) r2 ar2 star(* 0.1 ** 0.05 *** 0.01) nogap stats(全国 年份)