全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2863 1
2018-05-21
悬赏 20 个论坛币 未解决
1526914774(1).png

安装了pvar2,运行readme文件,到这一步就进行不下去,不知道该怎么解决,求赐教。
文件命令如下:
/* NOTE
This example uses follows that in the official Stata suite of time-series VAR packages
estimated using the beta panel VAR suite.
*/
webuse lutkepohl2, clear
  gen id = 1
xtset id qtr
  global var dln_inv dln_inc dln_consump
* Lag-order selection
varsoc  $var
pvarsoc $var
* VAR estimation
var  $var
  estimates store estvar
pvar2 $var, fod lags(2)
  estimates store estpvar
estimates table estvar estpvar, se
* VAR stability
estimates restore estvar
  varstable, graph
estimates restore   estpvar
  pvarstable, graph
* Granger-causality
vargranger, est(estvar)  
pvargranger, est(estpvar)
* IRF estimation
estimates restore estvar
  tempname irfv irfvset
    irf create `irfv', step(10) set(`irfvset', replace)
  irf graph oirf, byopts(yrescale)
  
pvarirf, oirf porder($var) iter(100) dots step(10)

二维码

扫码加我 拉你入群

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

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

全部回复
2020-4-5 21:28:15
请问楼主解决这个问题了吗

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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