Three Essays on Panel Data Models in Econometrics