A statistical method of deriving an average value from a set of approximate or inaccurate values by introducing errors as unknown variables and then minimizing the sum of their squares. The method was devised by German mathematician Karl Friedrich Gauss (1777–1855) as a way of best fitting a straight line through a set of plotted data points. See regression analysis