Dear Matlab community, I have a question about simbiology app in MATLAB
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to fit a three compartmental model in MATLAB. Can anyone kindly tell me how to put bounds (lower bound and upper bound) on estimated parameters while fitting the model ? Thanks a lot and really appreciate your help.
0 Kommentare
Antworten (1)
Arthur Goldsipe
am 16 Dez. 2016
The answer depends on what you mean by "a fit." If you are performing nonlinear regression, then you can specify bounds. See this post for more details.
However, bounds are not currently supported if you are performing nonlinear mixed effects modeling (for example, as implemented in the function sbiofitmixed in SimBiology or nlmefit and nlmefitsa in Statistics Toolbox).
-Arthur
2 Kommentare
Arthur Goldsipe
am 16 Dez. 2016
Ah, ok. As a workaround, you could estimate an unbounded parameter and converted it to a bounded parameter using a repeated assignment. For example, you could estimate unbounded X and convert it to a bounded parameter Y with lower bound A and upper bound B by introducing the following repeated assignment:
Y = A + (atan(X)/pi + 0.5)*(B-A)
Communitys
Weitere Antworten in SimBiology Community
Siehe auch
Kategorien
Mehr zu Import Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!