全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6095 19
2019-08-13
如题,是不是因为我的pvar2程序包有问题,没有soc,使用which soc,没有发现这个命令。那为啥gmm也实现不了呢(忽略了滞后阶数soc那块命令,尝试了后面gmm检验步骤),请问是不是我的程序包有问题啊<br>
使用命令如下: pvar2 x1 x2 x3,lag(5) soc
pvar2 x1 x2 x3,lag(5) gmm monte 500 decomp(30)
十分需要您的帮助,谢谢!!
二维码

扫码加我 拉你入群

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

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

全部回复
2019-8-13 19:49:31
http://econweb.umd.edu/~decker/code.html
看命令的帮助问题
第一个是没有问题的

复制代码



第二个,pvar2命令的帮助里面没有gmm选项
   [XT] pvar2 --  Panel Vector Autoregressive Models


Syntax

        pvar2 depvarlist [if] [, lag(#) irf(#) irfformat(%fmt) reps(#) decomp(#) nograph residual
              saving(filename) timeeffect soc granger seed(#) ]

    options             Description
    -------------------------------------------------------------------------------------------------------------
    Model
  
      lag(#)            specifies the number of lags in the underlying VAR; default is 1; # has to be integer >0.
                          Note that, when option granger is specified, # must be no less than 2.
  
      irf(#)            calculate the impulse response function and generates error bands for impulse-responses
                          using monte-carlo simulations.  # specifies the steps in calculating the
                          impulse-responses.
  
      irfformat(%fmt)    display format for y-axis labels in the IRF graphs; default format is %6.3f.
  
      reps(#)           The default number of repetitions of Monte Carlo simuliation is 200.  If you want change
                          the repwtitions, just specify the number in reps(#).

  
      nograph           By default when irf(#) is specified, the IRFs graphs will be drawn.  Specify nograph will
                          not display the IRFs graphs, but the IRFs dataset will still by saved.

二维码

扫码加我 拉你入群

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

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

2019-8-13 20:43:10
蓝色 发表于 2019-8-13 19:49
http://econweb.umd.edu/~decker/code.html
看命令的帮助问题
第一个是没有问题的
感谢您的回复,可能是pvar2安装程序不同,我看的帮助是下图,正在研究[img]
二维码

扫码加我 拉你入群

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

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

2019-8-13 21:08:16
蓝色 发表于 2019-8-13 19:49
http://econweb.umd.edu/~decker/code.html
看命令的帮助问题
第一个是没有问题的
这个图
1565701699794248.png
二维码

扫码加我 拉你入群

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

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

2019-8-14 11:22:37
任金荣 发表于 2019-8-13 21:08
这个图
事实证明,是因为pvar2 的程序不同,这个是连老师做的,soc那块命令可以运行了,不过我的gmm命令依旧不行,按照帮助里的示例运行了,也不行,不知道为什么。
1565752963588182.jpeg
二维码

扫码加我 拉你入群

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

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

2019-8-14 16:09:21
任金荣 发表于 2019-8-14 11:22
事实证明,是因为pvar2 的程序不同,这个是连老师做的,soc那块命令可以运行了,不过我的gmm命令依旧不行 ...
没有连的
不清楚什么原因
你找连咨询吧
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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