‘Megastudies’ are teasing out what helps people to behave differently.