Essays on inattention and inequality