Essays on empirical macroeconomics