Essays on the Effects of Macroeconomic Shocks