请教各位牛人,知不知道如何在DSGE模型中做脉冲响应函数呢?
我的模型已经用Dynare构建好了,稳态、参数等都没有问题,共有四个冲击变量,现在可以按四个冲击变量同时随机变动来运行程序,输出所有变量的模拟时间序列。但在现在的情况下,将任一冲击变量的方差设为0,则程序就会报出错误:
??? Error using ==> initial_estimation_checks at 38
initial_estimation_checks:: Estimation can't take place because too many shocks have been calibrated
with a zero variance!
Error in ==> initial_estimation_checks at 38
error(['initial_estimation_checks:: Estimation can''t take place because too many shocks have been
calibrated with a zero variance!'])
Error in ==> dynare_estimation_1 at 179
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);
Error in ==> dynare_estimation at 89
dynare_estimation_1(var_list,dname);
Error in ==> dsge_zhaolog_est at 280
dynare_estimation(var_list_);
Error in ==> dynare at 180
evalin('base',fname)
请问各位大牛知不知道在Matlab中如何对某一个冲击变量施加定量的冲击,让其他冲击变量保持不变,输出脉冲响应函数呢?或者是否有直接的命令输出单一冲击变量或两个冲击变量的脉冲响应呢?
谢谢!


雷达卡




京公网安备 11010802022788号







