楼主: cznbqw
2991 1

[面板数据求助] 安装了PVAR2之后,运行pvarsoc总是报错,怎么解决? [推广有奖]

  • 2关注
  • 2粉丝

已卖:125份资源

讲师

1%

还不是VIP/贵宾

-

威望
0
论坛币
1595 个
通用积分
133.0139
学术水平
0 点
热心指数
4 点
信用等级
0 点
经验
1116 点
帖子
43
精华
0
在线时间
739 小时
注册时间
2014-12-15
最后登录
2025-11-27

楼主
cznbqw 发表于 2018-5-21 23:07:47 |AI写论文
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)

关键词:PVAR VAR PVA estimation estimate pvar2 STATA PVAR

沙发
sssunzy 发表于 2020-4-5 21:28:15
请问楼主解决这个问题了吗

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-12 12:24