* MATLAB/DYNARE/STATA replication codes for ''Transmission of U.S. Monetary Policy to Commodity Exporters and Importers'' by Myunghyun Kim * All codes were written and run with Matlab R2015b, DYNARE 4.6.2 and Stata/SE 16.1. *** FOLDERS - Figures 1-2, Appendice C-E This folder contains the codes for Figrues 1 and 2 in the text, figures in Appendice C and D and matrice in Appendix E. Data used in the estimation is in Excel files. For example, data for Cananda for the VARs with block exogeneity is in "Canada_b.xls." Data for Denmark for the VARs with sign and zero restrictions is in "Denmark_sz.xls." The subfolder "data" contains U.S. data. First, run "run_block.m", which produces Figure 1, figures in Appendice C and D and matrice in Appendix E. Then, run "run_signzero.m" to obtain Figure 2. - Figures 3-4, Appendix O This folder contains model codes for Figrues 3 and 4 in the text and figures in Appendix O. Run "run_model.m" to replicate the figures. - Figure 5 This folder contains model codes for Figrue 5. Run "run_model_peg.m" to replicate Figrue 5. - Figure 6 This folder contains model codes for Figrue 6. Run "run_model_eia.m" to replicate Figrue 6. - Appendix F This folder contains the codes for figrues in Appendix F. Data used in the estimation is in Excel files. For example, data for Cananda is in "Canada_comspec.xls." Run "run_block_comspec.m" to replicate the figures. - Appendix G This folder contains model codes for figrues in Appendix G. Data used in the local projection is in the "data.dta" file. First, run "run_LP.do", which generate four excel files. The excel files contain the estimation results. Then, run "run_lp_graph.m" to obtain the figures in Appendix G. - Appendix J This folder contains model codes for figrues in Appendix J. Run "run_model_lcp.m" to replicate the figures. - Appendix K This folder contains model codes for figrues in Appendix K. Run "run_model_cominput.m" to replicate the figures. - Appendix L This folder contains model codes for figrues in Appendix L. Run "run_model_exrate.m" to replicate the figures. - Appendix M.1 This folder contains model codes for figrues in Appendix M.1. Run "run_model_flexcomp.m" to replicate the figures. - Appendix M.2 This folder contains model codes for figrues in Appendix M.2. Run "run_model_nu.m" to replicate the figures. - Appendix M.3 This folder contains model codes for figrues in Appendix M.3. Run "run_model_gam.m" to replicate the figures. - Appendix M.4 This folder contains model codes for figrues in Appendix M.4. Run "run_model_gam0.m" to replicate the figures. - Appendix M.5 This folder contains model codes for figrues in Appendix M.5. Run "run_model_eta.m" to replicate the figures. - Appendix N This folder contains model codes for figrues in Appendix N. Run "run_model_tfp.m" to replicate the figures. *** Expected run times - "run_block.m": about 6 minutes - "run_signzero.m": about 110 minutes - "run_block_comspec.m": about 6 minutes - others: trivial