People in their 20s and early 30s who suffered big drops in income did worse on thinking tests in middle age.