Gauss, in his search for the missing dwarf planet Ceres, developed the method of least squares, which enables us to find the best model that fits the data set such that the error in the fit minimizes (...)
The earliest methods for recording data may have been notches on sticks to mark the passing of the days or poles stuck in the ground to mark sunrise on the solstices.