【鲁棒】对信息不完整的 DSGE 模型进行鲁棒预测(Matlab代码实现)

news/2024/6/16 21:35:42 标签: matlab, 数学建模, 开发语言

💥💥💞💞欢迎来到本博客❤️❤️💥💥

🏆博主优势:🌞🌞🌞博客内容尽量做到思维缜密,逻辑清晰,为了方便读者。

⛳️座右铭:行百里者,半于九十。

📋📋📋本文目录如下:🎁🎁🎁

目录

💥1 概述

📚2 运行结果

🎉3 参考文献

🌈4 Matlab代码实现


💥1 概述

我们为DSGE模型提供预测,其中包含跨信息结构的鲁棒性信息不完整。我们的方法将不完全信息模型映射到具有时变期望楔子的全信息经济中,并提供条件来确保楔子可以通过某种信息结构合理化。使用我们的方法,我们量化了信息作为商业周期波动来源的潜在重要性,在其他无摩擦模型中。我们的方法揭示了企业特定需求冲击在支持总体信心波动方面的核心作用。只有当企业面临未观察到的当地需求冲击时,信心波动才能占美国商业周期的很大一部分。

We provide predictions for DSGE models with incomplete information that are robust across information structures. Our approach maps an incomplete-information model into a full-information economy with time-varying expectation wedges and provides conditions that ensure the wedges are rationalizable by some information structure. Using our approach, we quantify the potential importance of information as a source of business cycle fluctuations in an otherwise frictionless model. Our approach uncovers a central role for firm-specific demand shocks in supporting aggregate confidence fluctuations. Only if firms face unobserved local demand shocks can confidence fluctuations account for a significant portion of the US business cycle.

📚2 运行结果

warning off

% Results used in Section 4
cd([home_dir,'/Section4/final_figures/']);
make_fig1;    %Figure 1
make_fig2;    %Figure 2


% Result from Section 5 estimation + appendix
cd([home_dir,'/Section5_estimation'])
make_fig4 %Figure 4

% Results used in Section 5
cd([home_dir,'/Section5/final_figures/']);
make_tab1 %Table 1
make_tab2 %Table 2
make_fig3 %Figure 3

%Result from appendix
cd([home_dir,'/Section4/final_figures'])
make_fig5;   

% Return back to start
cd(home_dir)

warning on
return

%% 这里仅展现第一张图片结果代码

%% Make the frontier figure
file = '../output_files/frontier';
load(file, 'cpy_grid', 'ary_grid');
[fmin,resid] = extract_min(file);
close all % close any figures saved by accident in file

figure(1); set(gcf, 'Position', [0,1000,400,300])

ncpy = length(cpy_grid);
nary = length(ary_grid);

s=surf(repmat(cpy_grid',[1,nary]),repmat(ary_grid,[ncpy,1]),fmin);

zlim([.1,20]/1)

s.FaceColor = [.95 .95 .95];
s.EdgeColor = [.2 .2 .2];
s.LineWidth = 1;

g = gca;
g.ZGrid = 'off';
g.YGrid = 'off';
g.XGrid = 'off';
g.ZScale = 'log';
g.View = [45 15];

set(gca, ...
  'Box'         , 'off'     , ...
  'TickDir'     , 'out'     , ...
  'TickLength'  , [.02 .02] , ...
  'XMinorTick'  , 'on'      , ...
  'YMinorTick'  , 'on'      , ...
  'ZGrid'       , 'on'      , ...
  'XTick'       , -1:.5:1   , ...
  'YTick'       , -1:.5:1   , ...
  'ZTick'       , [.1,1,10]/1 , ...  
  'LineWidth'   , 1         );

xs = xlabel('$\gamma_{\hat y \pi}$', 'interpreter', 'latex','fontsize',16);
ys = ylabel('$\rho_{\hat y}$', 'interpreter', 'latex','fontsize',16);
zlabel('$\sigma^\mathrm{max}_{\hat y}$', 'interpreter', 'latex','fontsize',16);

%% Save figure 1 as a png file
saveas(gcf, '../../../results/fig1.png')

disp(['Section III.C (~page 25) - global   sig_ymax: ' num2str(max(max(fmin(10:end,:))))]);
disp(['Section III.C (~page 25) - baseline sig_ymax: ' num2str(fmin(13,end))]);
disp(' ')

 

🎉3 参考文献

部分理论来源于网络,如有侵权请联系删除。

[1]Ryan Chahrour, Robert Ulbricht (2022) Compute Capsule for: Robust Predictions for DSGE Models with Incomplete Information

🌈4 Matlab代码实现


http://www.niftyadmin.cn/n/397904.html

相关文章

【论文阅读】Neuralangelo:高保真神经表面重建

【论文阅读】Neuralangelo:高保真神经表面重建 Abstract1. Introduction2. Related work3. Approach3.1.预备工作3.2.数值梯度计算3.3.渐进细节层次3.4.优化 4. Experiments4.1. DTU Benchmark4.2. Tanks and Temples4.3.细节水平4.4.消融 5. Conclusion paper proj…

Ubuntu鼠标滚轮速度设置

Ubuntu 鼠标滚轮速度设置 我们在 Ubuntu 中使用文本编辑器通过鼠标滚轮滚动浏览长内容时可以明显感觉到鼠标滚轮滚动翻页缓慢(实际感觉为滚动操作滞后不跟手),类似鼠标滚轮出现问题,然而实际上是由于 Ubuntu 鼠标滚轮速率设置过小…

【解决】跨设备访问Ubuntu接口文档,请求超时,ping不通问题

文章目录 一、问题描述二、系统环境三、问题原理说明1. 常见问题原因2. 说说IP 地址和子网掩码不匹配问题 四、有风险的解决方法1. 一般的解决方法:2. 我们的解决方法:第一:第二: 选择网络适配器第三:桥接模式第四&…

SyntaxError:Unexpected end of JSON input while parsing near xxxxx 报错及解决

环境:Node 12.21.0、npm 6.14.11 (其他版本也会出现这样的问题) 找到报错日志并进行查看: less /Users/roc/.npm/_logs/2023-06-05T02_23_51_747Z-debug.log报错信息如下: 19067 verbose stack SyntaxError: Unexp…

Dart 运算符重载,详细介绍

Dart 运算符重载,详细介绍 Dart 支持运算符重载,它允许我们重载内置的运算符以执行自定义操作。在 Dart 中,我们可以通过实现一些特定的方法来重载运算符。 下面是一些常用的运算符和它们对应的 Dart 方法: : operat…

电脑怎么录屏?推荐2个好用的win7录屏方法!

案例:win7电脑怎么录屏? 【我的电脑是win7系统,我想录制它的电脑屏幕。有没有小伙伴知道win7电脑怎么录屏?有没有适合win7电脑的录屏工具】 随着数字时代的发展,屏幕录制已经成为一种常见的需求。在教育、演示、游戏…

DataGrip使用技巧总结

🍓 简介:java系列技术分享(👉持续更新中…🔥) 🍓 初衷:一起学习、一起进步、坚持不懈 🍓 如果文章内容有误与您的想法不一致,欢迎大家在评论区指正🙏 🍓 希望这篇文章对你有所帮助,欢…

递增子序列

1题目 给你一个整数数组 nums ,找出并返回所有该数组中不同的递增子序列,递增子序列中 至少有两个元素 。你可以按 任意顺序 返回答案。 数组中可能含有重复元素,如出现两个整数相等,也可以视作递增序列的一种特殊情况。 示例 1…