Processing math: 100%

Least Square Error Calculator

Calculate Least Square Error



Formula

To calculate the Least Square Error (LSE):

LSE=1n(observedpredicted)2

Where:

What is Least Square Error?

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.

Example Calculation

Let's assume the following values:

Using the formula:

LSE=15((32.8)2+(44.1)2+(54.9)2+(66.2)2+(77.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.