Social closeness and cognitive functioning increase feelings of hope for individuals in inpatient treatment · Study