Macroeconomics and regulation