Linear regression is a statistical tool for graphing data, which generates a straight line which models the relationship between two variables.
It is a very useful tool as it is a simple way to show a trend in a linearly related data set.
Isaac Newton is credited with inventing the linear regression method in 1700 in his work on the ordinary least squares method, however Legendre and Gauss popularized it with their work on the prediction of planetary movement (Belenkiy).