Essays in empirical macroeconomics