macroeco.compare.sum_of_squares

macroeco.compare.sum_of_squares(obs, pred)

Sum of squares between observed and predicted data

Parameters:

obs : iterable

Observed data

pred : iterable

Predicted data

Returns:

float :

Sum of squares

Notes

The length of observed and predicted data must match.