楼主: xu_junyi
4947 5

[DSGE讨论专题] dynare多个冲击对一个变量的影响 [推广有奖]

  • 6关注
  • 3粉丝

硕士生

10%

还不是VIP/贵宾

-

威望
0
论坛币
101 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
253 点
帖子
103
精华
0
在线时间
131 小时
注册时间
2012-9-8
最后登录
2024-7-21

楼主
xu_junyi 在职认证  发表于 2013-12-4 14:25:57 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
     dynare里能不能做多个冲击对一个变量的影响?比如利率冲击和技术冲击同时作用于产出时产出的变化?
请教高手指导一下啊!
二维码

扫码加我 拉你入群

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

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

关键词:dynare ARE 请教高手 影响 技术

已有 1 人评分经验 论坛币 收起 理由
linmengmiki + 100 + 100 鼓励积极发帖讨论

总评分: 经验 + 100  论坛币 + 100   查看全部评分

沙发
我是一只高压锅 发表于 2013-12-5 16:04:04
同问
我只看看 ,笑笑。

藤椅
yuanxinqiang 发表于 2014-2-11 20:29:02
当然可以。

板凳
ahnulxy 发表于 2014-2-17 09:59:01
If you are doing 2nd approximation and IRF analysis, the following matlab could help you solve your problem.
yy is the IRF for all endogenous variables. The following are the way Dynare doing IRF calculation.
by default, replic = 50 ; long =40; drop =100; Chol_S are the standard deviation of all shocks, diagnoal.

yy=0;
for j=1:replic   %draw two shocks
    ex1(:,i_exo_var)=randn(long+drop,nxs)*chol_S;
    ex2 = ex1;
    %add one standard deviation of two shocks to exogenous shock path, assuming totally 4 shocks
     ex2(drop+1,:)=ex2(drop+1,:)+[0.01 0.01 0 0];
    y1=simult_(temps,oo_.dr,ex1,iorder); % using dynare built-in function to simulate the whole model
    y2=simult_(temps,oo_.dr,ex2,iorder);
    yy=yy+(y2(:,M_.maximum_lag+drop+1:end)-y1(:,M_.maximum_lag+drop+1:end));
end
yy=yy/replic;




if output is the 1st varaibles in declaration order, the yy(1,:) is the IRF of output respond to two shocks.
已有 1 人评分经验 论坛币 收起 理由
linmengmiki + 100 + 100 热心帮助其他会员

总评分: 经验 + 100  论坛币 + 100   查看全部评分

琅琅教育 www.longlongedu.com  
人生最大的杯具:白天看中国股市,晚上看中国足球!

报纸
gssdzc 在职认证  发表于 2014-3-22 19:41:16
帮忙第七来

地板
cpqr 发表于 2020-2-12 23:53:27
同问,楼主解决这个问题了吗?

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-9 03:22