Dear Matlab community, I have a question about simbiology app in MATLAB
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Arthur Goldsipe
el 16 de Dic. de 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 comentarios
Arthur Goldsipe
el 16 de Dic. de 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)
Comunidades de usuarios
Más respuestas en SimBiology Community
Ver también
Categorías
Más información sobre Import Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!