- Set "body weight" column as a dose column - dose2 if you already have an actual dose in your dataset.
- Create a new species to represent body weight since only species can be dosed in SimBiology. Let's assume you call this species BW.
- Set the value of the parameter that represents bodyweight in the model using a repeated assignment rule bodyweight = BW and calculate AC with another repeated assignment rule as AC = BC*bodyweight.Note that it's important to use repeated assignment rules intead of an initial assingment rule. Since initial assingmentments are evaluated before dosing, using initial assigmnets can lead to problems.
- In fit data task/program, map the "body weight" data column with BW.
How to do model fitting in simbiology
9 次查看(过去 30 天)
显示 更早的评论
Dear Simbiology community,
I got 1 problem when I tried to fit data in simbiology. I am doing a population model fitting.
I have 1 column called "body weight" in my dataset. In that case, one parameter called 'AC' in my model could have different values for different IDs (subjects) (AC=BC*body weight). How could I let simbiology know this parameter 'AC' could change for different IDs? Should I revise my dataset or add parameters in my model?
I appreciate if someone could provide answers in detail. Thanks in advance!
YZ
0 个评论
采纳的回答
Fulden Buyukozturk
2020-2-18
编辑:Fulden Buyukozturk
2020-2-18
Hello,
You can "dose" Body Weight to achieve this:
Please let me know if this helps.
Fulden
更多回答(0 个)
社区
更多回答在 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!