Curve fitting toolbox define max error

I am using curve fitting toolbox for Z=F(x,y)
I am getting results in this below form. Where I can do the setting where I can define max allowed error 0.09 .i.e max I put x & y backin generated equation max devaition I should get from Z is +-0.09 only. This is max/min error in "Z" where I can define that.
Goodness of fit:
SSE: 1.08e+07
R-square: 0.994
Adjusted R-square: 0.994
RMSE: 16.8

3 comentarios

John D'Errico
John D'Errico el 5 de Jul. de 2020
Are you confused as to what maximum error might mean? Or, as you asking how to set such a number as a maximum?
The curve fitting toolbox does not provide an option to let you indicate what the maximum residual for any data point will be, thus Z +/- some tolerance.. Surely you should see that you can always choose a model that fits so poorly that this could never be a viable option.
V
V el 5 de Jul. de 2020
Will polynomial fit or any other fit equation is formed, it will give a equation, in which when x and y are fitted, will return Zeq.
I consider error = Zer-Zoriginal
the absolute error should not increase +-0.09999.
This is what I am aksing, is there any setting to do that?
dpb
dpb el 5 de Jul. de 2020
As John, says, "No".
It isn't a necessarily fulfillable condition for a specific model (order of polynomial, say).
You could try successive orders of a polynomial until met the condition altho would be easily prone to overfitting that way.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

V
V
el 5 de Jul. de 2020

Comentada:

dpb
el 5 de Jul. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by