Dr. Nicholas Christakis and James Fowler studied nearly 5,000 people and their more than 50,000 social ties to family , friends and co-workers , and found that an individual 's happiness is chiefly a collective affair , depending in large part on his or her friends ' happiness -- and the happiness of their friends ' friends , and even the friends of their friends ' friends .