-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timepoint-specific noise parameters not detected #1214
Comments
AMICI itself allows for the specification of timepoint specific sigmas: https://amici.readthedocs.io/en/latest/generated/amici.amici.ExpData.html#amici.amici.ExpData.setObservedDataStdDev I would assume this function is not used (correctly) in the petab objective? |
AMICI allows for timepoint+parameter dependent sigmas? Ah, the code was not attached. GitHub should have a warning like mails when "attached" is mentioned. Here it comes: test.zip |
You can specify timepoint dependent sigmas. Additional parameter dependency is not possible. |
Yes, the problem is that in this case the parameter dependency was not recognized by PEtab/AMICI. We have set up a check which raises in case timepoint+parameter dependent sigmas are used, which however did not recognize this case here. So in this case the modeler would assume everything is alright, while actually it is not. |
Makes sense, sorry didn't realise the parameter dependency earlier on. Not straightforward to implement something like that as it probably requires quite a bit of refactoring and a way to specify timepoint-dependencies. One (inefficient) approach would be to seperate this into two different simulation conditions where Probably worthwhile adding this to the petab testsuite as I would expect that other tools also have issues with dealing such petab problems. |
Agreed. I added an issue to the petab test suite for this. Separating this into different simulation conditions would be not feasible I think, because the real problem has 100 time point units or so, each with their own special parameter. (But there we are currently still investigating alternatives.) |
Thought about this again. I think the best implementation would be to allow specification of sigma derivatives in ExpData. Probably after #931 is adressed 😞 . |
@yannikschaelte , this should now correctly be detected in the latest AMICI release, right? |
@FFroehlich yes, it is detected by |
With @lcontento .
In a PEtab test model (attached), we use a noiseFormula
sqrt(alpha * noiseParameter1_obs1)
with measurement tableThus, we effectively have a time-dependent sigma. Had we used formula
sqrt(noiseParameter2_obs1 * noiseParameter1_obs1)
with replacement1.0;alpha
and0.25;alpha
in the measurement table, this would have been detected. Like this, however AMICI does not see any problem and simulates the model wrongly. Namely,ignores any parameterization and implicitly uses another noise variable (which?).
Suggestions
The text was updated successfully, but these errors were encountered: