Essays In Semiparametric Econometrics And Panel Data Analysis