stata没有直接返回值可以调用,但可以使用 irf table cirf 列出相应的数值,继而采用“复制-粘贴”的方式得到这些数值。
命令如下:(参见 B6_TimeS.do 文档第 834 行)
* -- Basic steps
* step1: estimate VAR model
use lutkepohl.dta, clear
var dlinvest dlincome dlconsumption,lag(1/2) dfk small
* step2: create IRF file
irf create order1, step(10) set(myirf1) replace
*- step3: 列示 cirf 的数值
irf table cirf // help irf table