Researchers say participants were less likely to be homeless or spend time in the hospital or prison.