Code tested on Matlab 2019a, using an iMac with OSX 10.14. Before entering sub-directories, set path by calling: >>setup ******************************************************************* Directories: each contains readme.txt with more specific instructions ******************************************************************* Section5_results: Setup and solve the stylized model from Section 4. Reproduce all the tables and figures in Section 5. Run time ~ 1 min. Section6_results: Setup and solve the general model from Section 5. Reproduce all the tables and figures in Section 6. Run time ~ 6 hours for full replication; figures in under 1 minute. IO_tables: compute the IO table for the 30 sector model used in Section 6. Run time < 1 minute. Estimation: estimate the sectoral productivity processes. Run time ~ 3 hours for full replication. DSGE_tools: general purpose code used across the various sub-directories. latex: general purpose code for producing tables in latex.