Azzera filtri
Azzera filtri

fitnlm : Getting back error terms for simulations

1 visualizzazione (ultimi 30 giorni)
Aolivares
Aolivares il 16 Ott 2017
Risposto: David Ding il 19 Ott 2017
Dear Colleagues,
Does someone know how to obtain the error parameters after a fit using fitnlm. I can't find the ErrorParameters field when using fitnlm ( contrary to using nlfit).
I'm trying to use a combined error model and I'm interested in the a b coeficients [a,b] for simulations.
Many thanks,
Andres

Risposte (1)

David Ding
David Ding il 19 Ott 2017
Hi Andres,
I see that you are looking for information regarding error parameters when trying to fit to a model using "fitnlm".
After reviewing the main differences between "fitnlm" and "nlfit" functions, both functions have information regarding error parameters in the output. It is just that the format of the output is different. Since "fitnlm" function returns a model, the error parameters are stored as properties of the output model. Since "nlfit" returns a vector of estimate coefficients, the error parameters can be returned directly as one of the outputs.
To see how to extract error and coefficient information from the fitted model using "fitnlm", please check out the example "Nonlinear Model from Table" from the "fitnlm" function:
Thanks,
David

Categorie

Scopri di più su Schedule Model Components in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by