Essays on labor economics and applied econometrics