Essays on Large Data Sets and Unbalanced Panels in Empirical Macroeconomics