P.C. Mahalanobis devised a statistical principle—the Mahalanobis distance—to compare data sets. He found a way to calculate agricultural productivity using random sampling methods, and he applied statistics to economic planning for flood control. Additionally, Mahalanobis devised a statistical method to assess socioeconomic conditions.