MATLAB Answers

How to implement multiple error model?

2 views (last 30 days)
I have been working on population and covariate projects using PBPK model for a while,
I just wonder, I have several data set (from organ and serum, I am working on nuclear medicine) and I would like to fit these data simultaneously, is it possible to set different error model to each data and estimate residual error from each data in Simbiology?
and I just thinking if this doesnt work, maybe I can just fix different residual error for each data (I derived this residual error from another source) and I am not fitting it during the fitting, is it possible to do this?
Thank you very much for your answer, looking forward to it.


Sign in to comment.

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 15 Jan 2020
It depends on whether you are doing nonlinear regression or nonlinear mixed-effects modeling. If you are doing nonlinear regression, you can use the ErrorModel option of sbiofit to specify a different error model for each response that you are fitting. For example, setting ErrorModel to {'constant', 'proportional'} will use a constant error model for the first response and a proportional error model for the second response.
Unfortunately, we don't yet the same capabilities in sbiofitmixed, if you are doing nonlinear mixed-effects modeling.
I hope that answers your question.


Deni Hardiansyah
Deni Hardiansyah on 20 Jan 2020
Thank you very much for your answers,
I am working on covariate model selection with mixed-effect modeling and many types of data, it would be nice if I can fit individual error model for each data, I hope Simbiology can have this in the future.
Have a wonderful day!!
Arthur Goldsipe
Arthur Goldsipe on 20 Jan 2020
Deni, I've relayed your request to the Statistics and Machine Learning team, since they are the currently maintaining the code for nonlinear mixed-effects modeling.

Sign in to comment.

More Answers (0)


More Answers in the  SimBiology Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by