全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2264 2
2013-11-16
. margins, at (educ=16 exper=10) at(educ=12 exper=10)

Predictive margins                                Number of obs   =       1000
Model VCE    : Robust

Expression   : Linear prediction, predict()

1._at        : educ            =          16
               exper           =          10

2._at        : educ            =          12
               exper           =          10

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |   2.960403   .0275281   107.54   0.000     2.906448    3.014357
          2  |    2.59918   .0296965    87.52   0.000     2.540976    2.657384
------------------------------------------------------------------------------
想问一下,如果要检验结果1比结果2大的test或者lincom命令应该怎么写?

二维码

扫码加我 拉你入群

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

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

全部回复
2013-11-18 06:40:56
在margins后加入post,变成:
margins, at (educ=16 exper=10) at(educ=12 exper=10) post

然后检验:
test _b[1._at] = _b[2._at]
二维码

扫码加我 拉你入群

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

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

2013-11-18 14:07:18
dragonlwj 发表于 2013-11-18 06:40
在margins后加入post,变成:
margins, at (educ=16 exper=10) at(educ=12 exper=10) post
不知道为什么我一开始也是这样写的,放进去就是error。Anyway,我的作业得救了,谢谢。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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