Fit simbiology model to cmax or AUC data
Show older comments
I have a simbiology model and want to fit the model to an expected cmax value. The problem is that I don't know the time of the cmax in the data so I don't know how to set up the fitting problem in simbiology. How could I do this?
Accepted Answer
More Answers (1)
Arthur Goldsipe
on 27 Oct 2023
3 votes
One option would be to add Cmax to your model as an observable. Then, you can include Cmax in your fit the same way you fit to a species or anything else in your model. Depending on what else you are fitting to, you might want to pick a "late" time as the "measurement" time for Cmax, just to ensure that the simulation runs to this time point. Otherwise, the simulation might end before the time where the actual maximum occurs.
If you need more details, let me know.
3 Comments
Arthur Goldsipe
on 30 Oct 2023
Oh, I had some additional thoughts over the weekend. Using an observable will only calculate the maximum over the times that are logged. During parameter estimation with sbiofit, only the measured times are logged. So in order to get a reasonable esimate of Cmax, you will likely need to add some extra time points in your data set to ensure the max is calculated over a reasonable set of time points. This might be complicated enough that it's worth sharing more details or maybe throwing together a demo, if I can find the time.
Oscar
on 1 Nov 2023
Arthur Goldsipe
on 1 Nov 2023
Thanks! I understand this approach. (It's very similar to what I do inside sbiofit itself!) But I'd still love to hear more about how you're using SimBiology. If you want to share more details about your work, feel free to contact me via my MATLAB Answers profile (and I will reply with my actual email address).
Communities
More Answers in the SimBiology Community
Categories
Find more on Import Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!