The science of human behavior, including whether and why we exercise, can be squishy and rife with research hurdles. Many past studies have looked at how to build habits, for instance, or instill confidence or stick to an exercise routine. But the vast majority of those studies have been small-scale or homogeneous, recruiting only affluent, well-educated white people, for example, or healthy, young college students, or only men or only women.