A study that has been running for nearly 40 years has looked at people's habits