Dear Matlab community, I have a question about simbiology app in MATLAB
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Arthur Goldsipe
2016-12-16
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 个评论
Arthur Goldsipe
2016-12-16
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)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!