To calculate the Least Square Error (LSE):
LSE=1n∑(observed−predicted)2
Where:
Least square error is a measure used in statistical models to quantify the difference between the values predicted by a model and the values actually observed from the environment that is being modeled. It is a common measure of the overall 'fit' of a model, with lower values indicating a better fit.
Let's assume the following values:
Using the formula:
LSE=15((3−2.8)2+(4−4.1)2+(5−4.9)2+(6−6.2)2+(7−7.1)2)
LSE=15(0.04+0.01+0.01+0.04+0.01)=15×0.11=0.022
The Least Square Error is 0.022.