Title: Productivity growth, external shocks, and capital inflows in Chile during 1977-81