Skip to main content
12-Amethyst
June 6, 2016
Solved

SSE vs. ERR variable at a MinERR Solveblock?

  • June 6, 2016
  • 2 replies
  • 4650 views

Hi Friends,

one short Question:

Is - for an nonlinear model - the ERR variable at a MINERR Solve Block the same as the Sum of Squared Errors? (SSE)

I have different values there.

Thanks for helping and answering.

Walter

Best answer by ViktorKorobov

Walter,

Compare SSE and ERR^2.

2 replies

1-Visitor
June 6, 2016

Walter,

Compare SSE and ERR^2.

25-Diamond I
June 6, 2016

The attached sheet should help but Viktor already explained the relationship.

Regards, Werner

12-Amethyst
June 6, 2016

Dear Werner, thanks a lot for your nice sheet. I have adapted it with my model and worked fine. I really a little bit confused why the mentioned sheet will not work.

Thanks

Walter

19-Tanzanite
June 6, 2016

The fact that the different algorithms give such different answers, for the same value of ERR (to 13 decimal places!) is worrying. Changing the guess value for a to 53 also makes all the answers different, but with the same value of ERR. It's also worrying that minimizing the residuals with LM gives a much bigger ERR then minimizing the SSE with LM. Lastly, changing CTOL, even to a very small number, appears to make no difference. It's as though the parameters for the fit are not independent of each other, but looking at the expression for the fitted function I cannot see why that would be the case. Is it possible that they are almost linearly related to each other in some way? Non independent parameters would also explain why the calculation of the confidence intervals gave a near singular matrix (because if the parameters are not independent, neither are the derivatives).