The longitudinal study , conducted by the University of Chicago , the University of California-San Diego and Harvard , interviewed more than 5,000 people over the course of 10 years , tracking their friendship histories and their reports of loneliness .