Four essays on applied microeconometrics by