全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
4000 1
2015-01-29
esttab * using est.csv, nogaps star(* 0.1 ** 0.05 *** 0.01) compress ///
         scalar(r2 r2_a  ll N F) ///
                 b(%6.3f) t(%6.3f) ///

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2016-8-5 16:03:57
这是一些作者给的的程序,可以出来,我试过了。改第一个命令就行。
* Estimate the model
poisson trade lypex lypim lyex lyim  ldist border comlang colony landl_ex landl_im lremot_ex lremot_im comfrt_wto open_wto, robust

* Get fitted values of trade
predict fitted

* Compute correlation between trade and fitted values
qui cor fitted trade

* Display R2 computed as the square of the correlation between trade and fitted values
di as txt " R-squared   "  (`r(rho)')^2
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群