Three essays on panel data models with interactive and unobserved effects