Why Do We Square Errors in Least Squares Regression?

AI Thread Summary
In least squares regression, errors are squared to ensure that both positive and negative deviations from the regression line contribute positively to the total error, allowing for accurate minimization. This method focuses on minimizing the sum of squared errors between the regression line and data points. The least squares estimators for the parameters of the line are considered the best unbiased estimators under the assumption of normally distributed errors, as supported by the Gauss-Markov theorem. Additionally, the normality condition can be relaxed with a large number of observations. Understanding these principles is crucial for effective line fitting in engineering problems.
likephysics
Messages
638
Reaction score
4
You must have used it couple of times while solving an engineering problem. For example in line fitting, why do we have to square?
Can't we just pass the line thru the max number of points. Can someone explain.
Thanks in advance.
 
Engineering news on Phys.org
The whole point is to minimize the error between the regression line and the individual datum points. The term "least squares" comes from the fact that you are taking the sum of the squared error terms. The terms are squared so that the error, either positive or negative, becomes a positive term (it needs to be positive because you are looking at the ditance from a point to a line).
 
The LS estimators of the parameters a and b in the line y = a.x + b are also the best unbiased estimators if x and y are assumed to have proper values with a normally distributed errors. See the ' Gauss-Markov theorem'. If you have a large number of of readings for x and y then the normal error distribution condition can be relaxed.
 
Thread 'I need a concave mirror with a focal length length of 150 feet?'
I need to cut down a 3 year old dead tree from top down so tree causes no damage with small pieces falling. I need a mirror with a focal length of 150 ft. 12" diameter to 36" diameter will work good but I can't think of any easy way to build it. Nothing like this for sale on Ebay. I have a 30" Fresnel lens that I use to burn stumps it works great. Tree service wants $2000.
Hi all, i have some questions about the tesla turbine: is a tesla turbine more efficient than a steam engine or a stirling engine ? about the discs of the tesla turbine warping because of the high speed rotations; does running the engine on a lower speed solve that or will the discs warp anyway after time ? what is the difference in efficiency between the tesla turbine running at high speed and running it at a lower speed ( as fast as possible but low enough to not warp de discs) and: i...
Thread 'Where is my curb stop?'
My water meter is submerged under water for about 95% of the year. Today I took a photograph of the inside of my water meter box because today is one of the rare days that my water meter is not submerged in water. Here is the photograph that I took of my water meter with the cover on: Here is a photograph I took of my water meter with the cover off: I edited the photograph to draw a red circle around a knob on my water meter. Is that knob that I drew a red circle around my meter...
Back
Top