How to simulate a drug concentration-time curve with confidence intervals?
12 views (last 30 days)
Show older comments
Shawn
on 20 Sep 2024
Commented: Arthur Goldsipe
on 23 Sep 2024
How to simulate a drug concentration-time curve with confidence intervals as shown in the figure? It comes from a model shared on File Exchange (ADC Krogh Cylinder Model). I wish to learn what is the process for calculating the confidence intervals? Is it done by generating 100 virtual patients' model parameters that follow a normal distribution based on the mean and CV% of parameters, then simulating the drug concentrations for each patient, and finally calculating the confidence intervals based on the mean and standard error of the concentrations at each time point? Or is there a specific SimBiology function that can directly simulate this type of drug concentration-time curve with confidence intervals by inputting the mean and coefficients of variation of parameters?
0 Comments
Accepted Answer
Arthur Goldsipe
on 20 Sep 2024
Where did this plot come from? Without more information, we won't be able to say exactly how it was created.
However, it looks like this might be a prediction confidence interval plot created by SimBiology. You can find more information about that functionality on the sbiopredictionci reference page. As for the details of how the confidence intervals are calculated, you will see that the function has two ways of calculating the cofidence intervals, described under the "Type" name-value argument. The faster but less accurate approach is the Gaussian approximation, the slower but more accurate approach is the bootstrap method.
5 Comments
Arthur Goldsipe
on 23 Sep 2024
Now that you've shared the link to the paper, I think confidence interval calculations (as done by sbioparameterci) will not reproduce this figure. But let me answer your question anyway...
The bounds in estimatedInfo only indirectly control the parameter variation during fitting (and also during the fitting step of bootstrap confidence interval calculations). They are limits that are applied during fitting. Whether or not those bounds actually have any impact on the results depend on a lot of factors.
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Scan Parameter Ranges 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!