Essays in labor economics and panel data analysis