Skip to content

Commit d6922b5

Browse files
committed
Update tutorials/bayesian-differential-equations/index.qmd
1 parent 17bf8ff commit d6922b5

File tree

1 file changed

+2
-1
lines changed
  • tutorials/bayesian-differential-equations

1 file changed

+2
-1
lines changed

tutorials/bayesian-differential-equations/index.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ To avoid this happening, we tell the solver to aim for small absolute and relati
113113
We also add a fudge factor `ϵ = 1e-5` to the predicted data.
114114
Since `ϵ` is greater than the solver's tolerance, it should overcome any remaining numerical error, making sure all predicted values are positive.
115115
At the same time, it is so small compared to the data that it should have a negligible effect on inference.
116-
If this approach doesn't work, there are some more ideas to try [here](https://docs.sciml.ai/DiffEqDocs/stable/basics/faq/#My-ODE-goes-negative-but-should-stay-positive,-what-tools-can-help?). In the case of continuous observations (e.g. deriving from modelling chemical reactions), it is sufficient to use a Normal distribution with the mean as the data point and an appropriately chosen variance (which can also be a parameter with a prior distribution).
116+
If this approach doesn't work, there are some more ideas to try [here](https://docs.sciml.ai/DiffEqDocs/stable/basics/faq/#My-ODE-goes-negative-but-should-stay-positive,-what-tools-can-help?).
117+
In the case of continuous observations (e.g. data derived from modelling chemical reactions), it is sufficient to use a normal distribution with the mean as the data point and an appropriately chosen variance (which can itself also be a parameter with a prior distribution).
117118

118119
```{julia}
119120
@model function fitlv(data, prob)

0 commit comments

Comments
 (0)