ecl-logo Documentation

SumSquaredError

SumSquaredError[listA, listB]error

compute sum of squares of differences between two lists of data points.

SumSquaredError[xy, f]error

given xy points, compute the sum of squared differences between y and f[x].

SumSquaredError[xy,expression,params,variable]error

takes a set of {x,y}, and a proposed fit and calculated the sum squared error of each datapoint fitted to the expression using the parameters.

Details

    Input
    Output

Examples

Basic Examples  (3)

Compute sum of squares of differences between two data sets:

Compute SSE between given Y points and given function applied to X points:

Compute SSE between given Y points and given model applied to X points:

Additional Examples  (2)

SSE is 0 if data sets are identical:

Compute SSE between given Y points and given model applied to X points: