Aggregate investment and its consequences