Carl Friedrich Gauss's work, "Theory of the Motion of the Heavenly Bodies," is a foundational text in statistics and celestial mechanics. This treatise introduced the method of least squares, which remains a cornerstone of statistical analysis and scientific modeling.