Replication package for "Aggregate Risk and Social Security in the United States"
收藏DataCite Commons2026-04-22 更新2026-05-04 收录
下载链接:
https://data.mendeley.com/datasets/x3k65sxcg3
下载链接
链接失效反馈官方服务:
资源简介:
- Paper Title: Aggregate Risk and Social Security in the United States
- Author: Shantanu Bagchi
- Overview of the replication package: four folders, containing models organized as
- Riskless
- Primary executable code
- Associated function files (dependencies)
- Stochastic
- Primary executable code
- Associated function files (dependencies)
- Data folder
- Formatted text file with equilibrium object values
- Formatted text file with coefficients of forecast functions
- Riskless with exogenous labor
- Primary executable code
- Associated function files (dependencies)
- Stochastic with exogenous labor
- Primary executable code
- Associated function files (dependencies)
- Data folder
- Formatted text file with equilibrium object values
- Formatted text file with coefficients of forecast functions
- Software needed: MATLAB 2023 or above, with
- Statistics toolbox
- Paul Fackler's CompEcon toolbox (available at https://github.com/PaulFackler/CompEcon)
- Replication procedure:
- Download each folder into your local storage location
- Start MATLAB 2023 or above in your computer
- Ensure that the CompEcon toolbox is added to MATLAB's path
- Open the primary executable file in "Editor"
- Select the appropriate experiment code (guidelines provided in the comments), and compile by clicking "Run"
- After completing, the command window will display the results with appropriate labels for economic variables
Paper Title: 《美国总风险与社会保障》
Author: 尚塔努·巴奇(Shantanu Bagchi)
Overview of the replication package: 本复制包包含四个文件夹,按模型类别组织如下:
- 无风险(Riskless)模型文件夹:内含主可执行代码与关联函数文件(依赖项)
- 随机(Stochastic)模型文件夹:内含主可执行代码与关联函数文件(依赖项)
- 外生劳动无风险(Riskless with exogenous labor)模型文件夹:内含主可执行代码与关联函数文件(依赖项)
- 外生劳动随机(Stochastic with exogenous labor)模型文件夹:内含主可执行代码与关联函数文件(依赖项)
另有两个数据文件夹,分别对应上述前两组与后两组模型,其内均包含存储均衡对象取值的格式化文本文件,以及存储预测函数系数的格式化文本文件。
Software needed: 所需软件为MATLAB 2023及更高版本,需附带以下工具包:
- 统计学工具箱(Statistics toolbox)
- 保罗·法克勒(Paul Fackler)的CompEcon工具箱(CompEcon toolbox,获取地址:https://github.com/PaulFackler/CompEcon)
Replication procedure: 复现步骤如下:
1. 将所有文件夹下载至本地存储路径
2. 在本地计算机启动MATLAB 2023及更高版本
3. 确保已将CompEcon工具箱添加至MATLAB的搜索路径中
4. 在编辑器中打开主可执行文件
5. 选择合适的实验代码(注释中附有操作指南),点击「运行」进行编译
6. 运行完成后,MATLAB命令窗口将显示带有经济变量对应标签的计算结果
提供机构:
Mendeley Data
创建时间:
2026-04-22



