Inequality and Optimal Monetary Policy in the Open Economy
收藏Mendeley Data2026-04-18 收录
下载链接:
https://data.mendeley.com/datasets/n4f79j4hhz
下载链接
链接失效反馈官方服务:
资源简介:
CODES FOR "INEQUALITY AND OPTIMAL MONETARY POLICY IN THE OPEN ECONOMY" BY SUSHANT ACHARYA AND EDOUARD CHALLE FOR PUBLICATION IN THE JOURNAL OF INTERNATIONAL ECONOMICS
************************************************************************
The codes are written in MATLAB and run in MATLAB 4.2.0.2806996. MATLAB is not freeware and can be obtained from https://www.mathworks.com/products/matlab.html
The code also requires the MATLAB Symbolic Math Toolbox Version 24.2
Instructions:
1. Run pics_for_paper.m to generate Figures 1,2,3 and 4.
Other functions called by the above scripts:
a) makesteady.m : this function computes the steady state of the Ramsey plan in the HANK economy.
b) make_steady_RANK.m : this function computes steady states of the Ramsey plan for the RANK benchmark.
c) optdynamics.m : this function computes the optimal dynamics in response to an aggregate shock shock in the HANK economy.
d) opt_dynamics_RANK.m : this function computes the optimal dynamics in response to an aggregate shock shock in the RANK economy.
e) pricestab.m : this function coputes the dyamics in response to shocks in HANK when monetary policy inefficiently implements price stability.
F) colors.m : this function assigns names to returns RGB tuples adapted from % http://en.wikipedia.org/wiki/List_of_colors, and is used in plotting curves in all figures.
《开放经济中的不平等与最优货币政策》配套代码,作者为苏尚特·阿查里亚(Sushant Acharya)与爱德华·沙勒(Edouard Challe),拟发表于《国际经济学杂志》(Journal of International Economics)
************************************************************************
本套代码基于MATLAB编写,可在MATLAB 4.2.0.2806996版本环境下运行。MATLAB并非免费软件,可通过https://www.mathworks.com/products/matlab.html获取。
本代码同时需要安装MATLAB符号数学工具箱(MATLAB Symbolic Math Toolbox)24.2版本。
使用说明:
1. 运行pics_for_paper.m以生成图1、图2、图3与图4。
上述脚本所调用的其他函数如下:
a) makesteady.m:该函数用于计算异质性代理人新凯恩斯(HANK)经济中拉姆齐计划的稳态。
b) make_steady_RANK.m:该函数用于计算代表性代理人新凯恩斯(RANK)基准模型下拉姆齐计划的稳态。
c) optdynamics.m:该函数用于计算异质性代理人新凯恩斯(HANK)经济中针对总冲击的最优动态路径。
d) opt_dynamics_RANK.m:该函数用于计算代表性代理人新凯恩斯(RANK)经济中针对总冲击的最优动态路径。
e) pricestab.m:该函数用于计算当货币政策低效实现价格稳定目标时,异质性代理人新凯恩斯(HANK)经济中针对各类冲击的动态路径。
f) colors.m:该函数为返回的RGB元组分配名称,改编自https://en.wikipedia.org/wiki/List_of_colors,用于所有图表的曲线绘制。
创建时间:
2025-02-25



