Essays on education, selection and wage dynamics