Heterogeneity, competition, and macroeconomic dynamics · Study