Gateway to Think Tanks
来源类型 | Discussion paper |
规范类型 | 论文 |
来源ID | DP13210 |
DP13210 Matlab, Python, Julia: What to Choose in Economics? | |
Serguei Maliar | |
发表日期 | 2018-09-28 |
出版年 | 2018 |
语种 | 英语 |
摘要 | We perform a comparison of Matlab, Python and Julia as programming languages to be used for implementing global nonlinear solution techniques. We consider two popular applications: a neoclassical growth model and a new Keynesian model. The goal of our analysis is twofold: First, it is aimed at helping researchers in economics to choose the programming language that is best suited to their applications and, if needed, help them transit from one programming language to another. Second, our collections of routines can be viewed as a toolbox with a special emphasis on techniques for dealing with high dimensional economic problems. We provide the routines in the three languages for constructing random and quasi-random grids, low-cost monomial integration, various global solution methods, routines for checking the accuracy of the solutions, etc. Our global solution methods are not only accurate but also fast. Solving a new Keynesian model with eight state variables only takes a few seconds, even in the presence of active zero lower bound on nominal interest rates. This speed is important because it then allows the model to be solved repeatedly as one would require in order to do estimation. |
主题 | Monetary Economics and Fluctuations |
关键词 | Toolkit Matlab Python Julia Dynamic programming Global solution Nonlinear High dimensionality Large scale Value function iteration |
URL | https://cepr.org/publications/dp13210 |
来源智库 | Centre for Economic Policy Research (United Kingdom) |
资源类型 | 智库出版物 |
条目标识符 | http://119.78.100.153/handle/2XGU8XDN/542017 |
推荐引用方式 GB/T 7714 | Serguei Maliar. DP13210 Matlab, Python, Julia: What to Choose in Economics?. 2018. |
条目包含的文件 | 条目无相关文件。 |
个性服务 |
推荐该条目 |
保存到收藏夹 |
导出为Endnote文件 |
谷歌学术 |
谷歌学术中相似的文章 |
[Serguei Maliar]的文章 |
百度学术 |
百度学术中相似的文章 |
[Serguei Maliar]的文章 |
必应学术 |
必应学术中相似的文章 |
[Serguei Maliar]的文章 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。