Three essays on the shadow economy