Data fit in simbiology app with a paramater that changes between groups
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to use the simbiology app to fit data with a simbiology model. The problem is that between the data groups there is a independent variable (AHL) that changes between them (image 1). When the data was imported I defined the AHL row as a covariate (which I think is right) as seen in the image 1. The problem is that when I go to the data fit program in the simbiology app, at the part when all the other variables are defined (image 2), there is no option to define this AHL row as a covariate that needs to be linked to a parameter of the simbiology model (this, as shown in the image can be done for the group, independent and dependent type of variables). Is there a way I can do to define the AHL parameter so that it changes between data groups in fit data program of the simbiology app?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/346251/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/346254/image.png)
0 comentarios
Respuestas (1)
Sietse Braakman
el 17 de Ag. de 2020
Hi Quim,
Yes, you can do this by creating a species that you 'dose' with your covariate column. You can then assign the value of that species to the parameter you want to vary. Note that you will have to change your covariate column to only have the numerical value at t=0, and NaNs everywhere else. Remember that doses are cumulative so if you just use the covariate column as you have it now for this trick, the parameter will keep increasing at every timestep defined in your dataset. Here is more detail:
Let me know if you have further questions.
Best,
Sietse
Comunidades de usuarios
Más respuestas en SimBiology Community
Ver también
Categorías
Más información sobre Simulate Responses to Biological Variability and Doses en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!