The technique can help scientists in economics, public health, and other fields understand whether to trust the results of their experiments.