These files replicate the results for the paper "Accounting for Output Drops in Latin America" by Ruy Lama. Each folder contains the codes to estimate the neoclassical growth model and conduct the accounting exercise in a specific country. For a country "X" you should run the program BCA_X.m (For example, for Argentina the file is BCA_Argentina.m). Each file BCA_X.m calls the following subroutines/files: 1) data_x.m Contains the data set for the model estimation: Consumption, output, employment, and investment. The appendix in the paper explains in detail the sources and how to construct the series. 2) bca.m Estimates the neoclassical growth model using maximum likelihood (table 2). 3) bca_solution.m Provides the rational expectations solution to the model using the estimated and calibrated parameters. 4) bca_wedge_alternative2.m Compute the wedges in the model using the estimated parameters and the rational expectations solution. 5) graph_bca.m Plots the results from the accounting exercise (figures 3-6). 6) statistics.m Calculates the standard deviations and correlations of the wedges (table 3) and the model predictions (table 5). Note: These files use some programs written by Martin Uribe, Stephanie Schmitt-Grohé and Peter Ireland. These researchers have made them available on their web pages.