Essays on Large Panel Data Analysis