Curve fitting toolbox define max error
Afficher commentaires plus anciens
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 commentaires
John D'Errico
le 5 Juil 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
le 5 Juil 2020
dpb
le 5 Juil 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.
Réponses (0)
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!