Why the simulated plot is different when select style between "Time" and "Percentile"?

1 次查看(过去 30 天)
Hi,
I do the simulate with my model, and compared the simulated value with observed data, and I want to adjuste the initial values of the parameters according to the comparison results.
But when I compared the simulated value with observed data, I find in the Property Editor, when I select "Time" STYLE, the simulated value was very close to the observed data (figure in the left); when I selece "Percentile" STYLE, imulated value was very different with the observed data (figure in the reight). So I don't know why this is happening?
This disturbs me, because when I used the model with the intial values used in the simulation step to fit my observed data, there is an error say "Optimization cannot proceed because the initial value of the negative log-likelihood is NaN. ..." In "Time" STYLE, the initial parameter looks like well, in "Percentile" STYLE, the initial parameter looks bad. How can I adjust the parameters?

回答(1 个)

Priya Moorthy
Priya Moorthy 2022-10-5
Hi,
Percentile plots are usually meant for visualize a large number of simulation results. Each individual timecourse is interpolated onto a common time vector and then the percentiles are calculated across each timecourse for each time point on the common time vector. From your plot, it looks like the common time vector used in the percentile plot doesn't include a time point near the peak, so you are seeing a smoothing effect due to interpolation. You can enter a custom common time vector in the percentile plot settings to interpolate the simulation results at the desired timepoints. In general, percentile plots are not useful for viewing single simulation results, and the time plot will give you the most precise view of the simulation data.
Best,
Priya
  2 个评论
Florian Augustin
Florian Augustin 2022-10-5
Hi voZnW,
I wanted to follow up on Priya's answer and comment on the error you are seeing in the Fit program. I have seen this error message when a proportional error model is used for response values and data that are exactly zero. Looking at your plots, your data and response seem to be 0 at time 0. We recommend removing this one data point at time 0 from your data set when proportional error models are used. If you are not using a proportional error model, then I would need more information about your fit setup to help, would you be able to share your project file?
Best,
Florian
voZnW
voZnW 2022-10-6
Thank you very much for your answer.
Yes, I am happy to share my project file, please see the attachments.

请先登录,再进行评论。

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Import Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by