全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
23509 11
2013-06-08
IV估计之后,输入estat firststage,结果显示invalid subcommand firststage。版本是stata12 SE,请问这可能是什么原因?改用xtivreg2之后能看到结果,但想知道这是为什么?
二维码

扫码加我 拉你入群

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

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

全部回复
2013-6-8 23:48:31
我想了一下,可能是panel data estimation之后,不能用estat firststage这个命令,只能针对cross sectional data。直接用xtivreg2这个命令好了
二维码

扫码加我 拉你入群

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

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

2013-6-8 23:55:47
不应该是 你想了一下应该是,  命令是不能猜的。

能用什么命令你要查该命令的手册里面的介绍
如果说有就可以用,如果没有则不可

二维码

扫码加我 拉你入群

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

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

2013-6-9 00:01:54

    [R] ivregress postestimation -- Postestimation tools for ivregress


Description

    The following postestimation commands are of special interest after ivregress:

    Command           Description
    ----------------------------------------------------------------------------------------------------------------------------
    estat endogenous  perform tests of endogeneity
    estat firststage  report "first-stage" regression statistics
    estat overid      perform tests of overidentifying restrictions

Examples

    Setup
        . webuse hsng2

    Fit a model via 2SLS and obtain first-stage regression diagnostics
        . ivregress 2sls rent pcturban (hsngval = faminc i.region)
        . estat firststage




二维码

扫码加我 拉你入群

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

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

2013-6-9 23:46:45
蓝色 发表于 2013-6-9 00:01
[R] ivregress postestimation -- Postestimation tools for ivregress
多谢!help这个命令我试过了,cross sectional regression可以用,但panel data regression不能用。您stata里面能用吗?
二维码

扫码加我 拉你入群

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

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

2013-6-10 00:50:01
帮助里没有那就没有
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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