Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以 dta 格式将拟合统计信息(对数似然度、AIC、BIC)导出到表格中。estimates stats使用, 或拟合模型(使用 strsmix 创建)后,我可以很容易地显示拟合统计信息estat ic,但我似乎找不到将其写入正确 .dta 文件的方法。
estimates stats
estat ic
我在导出方差协方差矩阵时遇到了同样的问题。我可以使用 显示它estat vce,但我看不到找到导出它的方法。
estat vce
找出一个可行的解决方案,但似乎不能保留标签。
estat ic matrix fit = r(S) estat vce matrix vce = r(V) clear svmat double fit, name(fit) save fit.dta, replace clear svmat double vce, name(vce) save vce.dta, replace clear