Three empirical essays in labor economics