Stock_Watson_DFM

所属分类:其他
开发工具:matlab
文件大小:1322KB
下载次数:14
上传日期:2018-05-21 12:54:56
上 传 者hanm
说明:  来自于沃特森的代码,包含了估计与应用,还有数据,里面还包括各类扩展动态因子模型的算法
(This provides an overview of and user guide to dynamic factor models, their estimation, and their uses in empirical macroeconomics)

文件列表:
ddisk (0, 2016-03-13)
ddisk\.DS_Store (10244, 2016-03-13)
__MACOSX (0, 2016-03-13)
__MACOSX\ddisk (0, 2016-03-13)
__MACOSX\ddisk\._.DS_Store (120, 2016-03-13)
ddisk\data (0, 2016-02-29)
ddisk\data\hom_fac_1.xlsx (1213228, 2015-12-22)
__MACOSX\ddisk\data (0, 2016-03-13)
__MACOSX\ddisk\data\._hom_fac_1.xlsx (239, 2015-12-22)
__MACOSX\ddisk\._data (239, 2016-02-29)
ddisk\m_utilities (0, 2016-03-13)
ddisk\m_utilities\.DS_Store (6148, 2016-02-29)
__MACOSX\ddisk\m_utilities (0, 2016-03-13)
__MACOSX\ddisk\m_utilities\._.DS_Store (120, 2016-02-29)
ddisk\m_utilities\adjout.m (1697, 2015-03-12)
__MACOSX\ddisk\m_utilities\._adjout.m (239, 2015-03-12)
ddisk\m_utilities\bw_trend.m (477, 2015-03-12)
__MACOSX\ddisk\m_utilities\._bw_trend.m (239, 2015-03-12)
ddisk\m_utilities\calendar_make.m (658, 2015-01-17)
__MACOSX\ddisk\m_utilities\._calendar_make.m (239, 2015-01-17)
ddisk\m_utilities\colnumber.m (914, 2013-07-11)
__MACOSX\ddisk\m_utilities\._colnumber.m (239, 2013-07-11)
ddisk\m_utilities\fixed_to_aa.m (794, 2013-07-04)
__MACOSX\ddisk\m_utilities\._fixed_to_aa.m (239, 2013-07-04)
ddisk\m_utilities\gain.m (219, 2016-01-04)
__MACOSX\ddisk\m_utilities\._gain.m (239, 2016-01-04)
ddisk\m_utilities\hac.m (1455, 2015-06-17)
__MACOSX\ddisk\m_utilities\._hac.m (239, 2015-06-17)
ddisk\m_utilities\lag.m (198, 2015-05-25)
__MACOSX\ddisk\m_utilities\._lag.m (239, 2015-05-25)
ddisk\m_utilities\mtoq.m (1444, 2016-01-26)
__MACOSX\ddisk\m_utilities\._mtoq.m (239, 2016-01-26)
ddisk\m_utilities\nberdates.m (1055, 2016-02-29)
__MACOSX\ddisk\m_utilities\._nberdates.m (239, 2016-02-29)
ddisk\m_utilities\packr.m (153, 2013-07-30)
__MACOSX\ddisk\m_utilities\._packr.m (239, 2013-07-30)
ddisk\m_utilities\pctile.m (91, 2013-11-29)
__MACOSX\ddisk\m_utilities\._pctile.m (239, 2013-11-29)
ddisk\m_utilities\prtmat_comma.m (238, 2014-10-30)
__MACOSX\ddisk\m_utilities\._prtmat_comma.m (239, 2014-10-30)
... ...

Replication files for Stock and Watson's "Factor Models and Structural Vector Autoregrssions in Macroeconomics", March 9, 2016 Data: All data are in the Excel file hom_fac_1.xlsx The data are described in the Data Appendix, and (somewhat) internally documented in the Excel data file. Listed below are the Matlab files used to produce the various tables and figures in the paper. These programs can be modified for use in other projects. Feel free to do so. Please read the file SW_DFM_PROGRAMMING_NOTES.TXT for useful information about these programs. Table 1: hom_data_appendix.m This program produces the results shown in Table 1 and also produces a version of the data description table in the Data Appendix. Table 2, panel (a): hom_descriptive_statistics_real_variables.m Table 2, panel (b) and (c): hom_descriptive_statistics_all_variables.m Table 3, columns (a): Tabulate_rsquared_static_factors.m Table 3, columns (b): Tabulate_variance_decomps.m Table 4: hom_stability.m Table 5: hom_var_approx.m Table 6: Tabulate_variance_decomps_1***5_2014.m SDFM, FAVAR, SVAR models (results reported in Table 7-8 and Figures 8-11) These programs must be run BEFORE the tables and figures and generated Oil Price Exogenous: svar_price_exogenous.m, favar_price_exogenous.m, and ***m_price_exogenous.m Kilian Identification: svar_kilian.m, favar_kilian.m, and ***m_kilian.m Table 7: irf_oil_price_exogenous.m and irf_kilian.m Table 8: structural_shocks_correlation.m Figure 1: plot_fitted_values.m Figure 2: gain_plots.m Figure 3: the values are computed in hom_descriptive_statistics_real_variables. The bar graph is constructed in Scree_plots.xlsx Figure 4 hom_figure_4.m Figure 5: hom_figure_5.m Figure 6a: the values are computed in hom_descriptive_statistics_all_variables. The bar graph is constructed in Scree_plots.xlsx Figure 6b: figure_6b.m Figure 7: Oil_common_factor_plot.m Figure 8: irf_oil_price_exogenous.m Figures 9-11: irf_kilian.m

近期下载者

相关文件


收藏者