楼主: xmxy1225
4067 1

PPML 回归的R方调整值、还有那个伪对数似然,怎么搞出来啊 [推广有奖]

  • 1关注
  • 1粉丝

已卖:227份资源

硕士生

15%

还不是VIP/贵宾

-

威望
0
论坛币
4477 个
通用积分
2.8092
学术水平
2 点
热心指数
3 点
信用等级
0 点
经验
378 点
帖子
14
精华
0
在线时间
256 小时
注册时间
2011-3-2
最后登录
2025-10-25

楼主
xmxy1225 发表于 2015-1-29 13:36:55 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
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) ///

二维码

扫码加我 拉你入群

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

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

关键词:对数似然 PML compress esttab Scalar star

回帖推荐

xingping 发表于2楼  查看完整内容

这是一些作者给的的程序,可以出来,我试过了。改第一个命令就行。 * 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 correlatio ...

本帖被以下文库推荐

沙发
xingping 发表于 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
已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10   查看全部评分

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 11:12